home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / next / programm / 5962 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  2.0 KB

  1. Path: sparky!uunet!olivea!bu.edu!news.tufts.edu!amethyst.tcs.tufts.edu!ppoh
  2. From: ppoh@amethyst.tcs.tufts.edu (Paul B. Poh)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Re: Replacing NeXT cc with gcc-2.2.2
  5. Message-ID: <PPOH.92Sep3202457@amethyst.tcs.tufts.edu>
  6. Date: 4 Sep 92 00:31:19 GMT
  7. References: <1992Aug31.164909.7198@fcom.cc.utah.edu>
  8.     <1992Sep01.163152.118004@zeus.calpoly.edu>
  9. Sender: news@news.tufts.edu (USENET News System)
  10. Organization: Tufts University - Medford, MA
  11. Lines: 31
  12. In-Reply-To: Alex Raftis's message of 1 Sep 92 16:31:52 GMT
  13.  
  14.  
  15. In article <1992Sep01.163152.118004@zeus.calpoly.edu> Alex Raftis writes:
  16. > From a previous (long) discussion on this topic, yes, gcc can and will work
  17. > on a NeXT. You have to, however, make some slight modifications to the code
  18. > to get it too work. GNU uses a slightly different naming methods on method
  19. > calls, so you need to patch the code to use NeXT's method. Also, the don't,
  20. > by default, support #import, so you have to turn this feature on. With these
  21. > two items enabled, people reported that the Objective-C compiler worked quite
  22. > well on a NeXT.
  23.  
  24. So that's the problem that I was having with g++ all afternoon. I just
  25. moved all my c++ source off a Convex to my NeXT to continue development.
  26. I spend the last 3 hours trying to figure out the deal the NeXT gdb. It
  27. kept complaining about "invalid symtab info for method at symbol number
  28. 52". I guess it pays to take a usenet break. :=)
  29.  
  30. > You should be able to get a copy of the discussion from archive sites. I 
  31. > remember one post included patches to make it work.
  32.  
  33. I just check my favourite archive and they only have the FAQs. Anyone know
  34. where I can find this patch for g++.
  35.  
  36. Thanks for the unsolicated tip. :=)
  37.  
  38. Just out of curiosity, I prefer to use the gnu compiler but can anyone give
  39. a good comparision between cc++ and g++ as far as speed, code generation,
  40. etc. And why isn't there a %&*^% man page for cc++.
  41.  
  42. --
  43. Paul Poh                        Unix Systems Programmer
  44. ppoh@amethyst.tcs.tufts.edu     Computer Services, Tufts University
  45.