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

  1. Path: sparky!uunet!decwrl!csus.edu!nic.csu.net!koko.csustan.edu!rat!zeus!root
  2. Newsgroups: comp.sys.next.programmer
  3. Subject: Re: Replacing NeXT cc with gcc-2.2.2
  4. Message-ID: <1992Sep01.163152.118004@zeus.calpoly.edu>
  5. From: Alex Raftis
  6. Date: Tue, 01 Sep 1992 16:31:52 GMT
  7. Reply-To: alex@cosmos.acs.calpoly.edu
  8. Sender: news@zeus.calpoly.edu
  9. References: <1992Aug31.164909.7198@fcom.cc.utah.edu>
  10. Organization: Cal Poly State University, San Luis Obispo
  11. Lines: 32
  12.  
  13. Shawn Willden writes
  14. > 1)    I understand that the newest version of gcc incorporates NeXT's 
  15. > Objective-C extensions.  Is gcc lacking anything?  Is NeXT making any new
  16. > additions to their compiler for 3.0 that may not be present in the current 
  17. > version of gcc?
  18.  
  19. From a previous (long) discussion on this topic, yes, gcc can and will work
  20. on a NeXT. You have to, however, make some slight modifications to the code
  21. to get it too work. GNU uses a slightly different naming methods on method
  22. calls, so you need to patch the code to use NeXT's method. Also, the don't,
  23. by default, support #import, so you have to turn this feature on. With these
  24. two items enabled, people reported that the Objective-C compiler worked quite
  25. well on a NeXT.
  26.  
  27. You should be able to get a copy of the discussion from archive sites. I 
  28. remember one post included patches to make it work.
  29.  
  30. I can't comment on the c++ aspects. Having learn OOP under Objective-C, I'm
  31. generally loath to program under c++, except for when I have to. I prefer
  32. simplicity over some of c++ more obscure features.
  33.  
  34. > --
  35. > Shawn Willden
  36. > swillden@icarus.weber.edu
  37.  
  38. Alex
  39. --
  40. ______________________________________________________
  41.     Internet: alex@data.acs.calpoly.edu (NeXT mail)
  42.               alex@cosmos.acs.calpoly.edu
  43.