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