Article View: comp.lang.objective-c
Article #411Q: combining ObjC and C++ using gcc
From: Theodore C. Belding
Date: Fri, 09 Jun 1995 00:00
Date: Fri, 09 Jun 1995 00:00
17 lines
1323 bytes
1323 bytes
The NeXTSTEP manual _Object-oriented programming and the objective C language_ by NeXT says on p173-176 that C++ code can be combined with Objective C code using their compiler. Since the NeXT compiler is essentially gcc, from what I've heard, I was wondering if this is also possible using gcc, or if it is only possible under NeXTSTEP. I didn't see anything on this in the online gcc docs or in the g++ or ObjC FAQs. Are there any command-line options that are necessary to do this? Would I invoke gcc or g++? Thanks for any info! -Ted -- -- Ted Belding Ted.Belding@umich.edu or streak@engin.umich.edu University of Michigan Division of Computer Science and Engineering "And the dance goes on regardless till You're carried from the floor" - Fish
Technical Details
Message-ID:
<Ted.Belding-0906951602450001@pm051-09.dialip.mich.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,adcdca2d0a2e1d3,start X-Google-Attributes: gid11318c,public X-Google-Thread: 1111a3,adcdca2d0a2e1d3,start X-Google-Attributes: gid1111a3,public From: Ted.Belding@umich.edu (Theodore C. Belding) Subject: Q: combining ObjC and C++ using gcc Date: 1995/06/09 Message-ID: <Ted.Belding-0906951602450001@pm051-09.dialip.mich.net> X-Deja-AN: 104161025 organization: University of Michigan CSE Division newsgroups: comp.lang.objective-c,gnu.gcc.help