Article View: comp.sys.next.programmer
Article #2256Re: c++ and Project Builder (was: Problems using gcc 2.3.3)
From: Reginald Perry
Date: Sat, 09 Jan 1993 03:43
Date: Sat, 09 Jan 1993 03:43
51 lines
2633 bytes
2633 bytes
vin@netcom.com (Vin Locke) writes:
>To summarize, my goal is to use both c++ and Objective C in the same app;
>I must be able to do one of the following:
> 1) find a way to get the compiler bundled with NS3.0 to compile my
> c++ code and link it with the rest of the app
> 2) get PB to know how to compile the c++ code with the g++ compiler
> AND link it with the app.
>
>I would much appreciate hearing from anyone who has succeeded with such.
>(please, no flames about using c++ )
>Also, if anyone from NeXT would care to expand upon the quoted release notes,
>I would very much like to hear it. Is Objective-C++ (mentioned in
>release notes) NeXT's dialect of c++?
Maybe I should have posted a summary of what I did since I was
the original poster of the gcc thread.
1) I got rid of gcc-2.3.3 It was useless for what I wanted to
do ( have an integrated environment)
2) I have installed libg++-1.39.0, putting a soft link from
the includes into /usr/include/g++-include. The libg++.a is in
/usr/local/lib.
3) When I compile things I use:
gcc -g -O -I/usr/include/g++-include -L/usr/local/lib thing.cc
4) Everything now works fine and I am happly C++ing and
Objective-Cing.
Thank the gods for comp.sys.next.*
Reggie
>
>
>--
> --vin
>vin@netcom.com
>------------------------------------------------------------------------
>If productivity can really be measured as the rate at which lines of
>code are produced, why not just use a tight loop to spew code as fast
>as possible, and send the programmers home?
> --Brad Cox
>
-------------------
Reginald S. Perry | I'm a Husky Fan
reggie@quantum.phys.washington.edu (NeXTMail) | I'm a NeXTSTEP Man
reggie@u.washington.edu (OtherMail) |
| GO DAWGS!!!
|________________________
Technical Details
Message-ID:
<1ilhltINN6cn@shelley.u.washington.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sdd.hp.com!hp-cv!ogicse!news.u.washington.edu!stein.u.washington.edu!reggieReferences:
<1993Jan8.214931.4958@netcom.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sdd.hp.com!hp-cv!ogicse!news.u.washington.edu!stein.u.washington.edu!reggie From: reggie@stein.u.washington.edu (Reginald Perry) Newsgroups: comp.sys.next.programmer Subject: Re: c++ and Project Builder (was: Problems using gcc 2.3.3) Keywords: c++, g++, Objective-C++, Project Builder Message-ID: <1ilhltINN6cn@shelley.u.washington.edu> Date: 9 Jan 93 03:43:57 GMT Article-I.D.: shelley.1ilhltINN6cn References: <1993Jan8.214931.4958@netcom.com> Organization: University of Washington Lines: 51 NNTP-Posting-Host: stein.u.washington.edu