home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / programm / 8042 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  2.5 KB

  1. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!hp-cv!ogicse!news.u.washington.edu!stein.u.washington.edu!reggie
  2. From: reggie@stein.u.washington.edu (Reginald Perry)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Re: c++ and Project Builder (was: Problems using gcc 2.3.3)
  5. Keywords: c++, g++, Objective-C++, Project Builder
  6. Message-ID: <1ilhltINN6cn@shelley.u.washington.edu>
  7. Date: 9 Jan 93 03:43:57 GMT
  8. Article-I.D.: shelley.1ilhltINN6cn
  9. References: <1993Jan8.214931.4958@netcom.com>
  10. Organization: University of Washington
  11. Lines: 51
  12. NNTP-Posting-Host: stein.u.washington.edu
  13.  
  14. vin@netcom.com (Vin Locke) writes:
  15.  
  16.  
  17. >To summarize, my goal is to use both c++ and Objective C in the same app;
  18. >I must be able to do one of the following:
  19. >    1) find a way to get the compiler bundled with NS3.0 to compile my 
  20. >            c++ code and link it with the rest of the app
  21. >    2) get PB to know how to compile the c++ code with the g++ compiler 
  22. >            AND link it with the app.
  23. >        
  24. >I would much appreciate hearing from anyone who has succeeded with such.
  25. >(please, no flames about using c++ )
  26. >Also, if anyone from NeXT would care to expand upon the quoted release notes,
  27. >I would very much like to hear it.  Is Objective-C++ (mentioned in 
  28. >release notes) NeXT's dialect of c++?
  29.  
  30.  
  31.     Maybe I should have posted a summary of what I did since I was
  32. the original poster of the gcc thread.
  33.     1) I got rid of gcc-2.3.3 It was useless for what I wanted to
  34. do ( have an integrated environment)
  35.     2) I have installed libg++-1.39.0, putting a soft link from
  36. the includes into /usr/include/g++-include. The libg++.a is in
  37. /usr/local/lib.
  38.     3) When I compile things I use:
  39.         gcc -g -O -I/usr/include/g++-include -L/usr/local/lib thing.cc
  40.     4) Everything now works fine and I am happly C++ing and
  41. Objective-Cing.
  42.  
  43. Thank the gods for comp.sys.next.*
  44.  
  45.                 Reggie    
  46. >       
  47. >   
  48. >-- 
  49. >                                         --vin
  50. >vin@netcom.com
  51. >------------------------------------------------------------------------
  52. >If productivity can really be measured as the rate at which lines of
  53. >code are produced, why not just use a tight loop to spew code as fast
  54. >as possible, and send the programmers home?
  55. >                                            --Brad Cox
  56.  
  57.  
  58. -------------------
  59. Reginald S. Perry                               | I'm a Husky Fan
  60. reggie@quantum.phys.washington.edu  (NeXTMail)  | I'm a NeXTSTEP Man 
  61. reggie@u.washington.edu             (OtherMail) |
  62.                                                 | GO DAWGS!!!
  63.                                                 |________________________
  64.