|
From: | Marcus G. Daniels |
Subject: | Re: [Swarm-Support] compile with objective-c++ |
Date: | Mon, 05 Mar 2007 11:23:05 -0700 |
User-agent: | Thunderbird 2.0b1 (Windows/20061206) |
Gennady Telegin wrote:
Ok, clearly the Objective C++ compiler is getting invoked for you without having to use .mm, so I don't think it's necessary to modify the Makefile templates of Swarm.output for headbugs: >make OBJC='gcc -v -x objective-c++' Using built-in specs. Target: i486-linux-gnuConfigured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnuThread model: posix gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)/usr/lib/gcc/i486-linux-gnu/4.1.2/cc1objplus -quiet -v -I/usr/local/include -D_GNU_SOURCE -D_GNU_SOURCE -DAPPNAME=heatbugs -DAPPVERSION=2.1.1 address@hidden Heatbug.m -quiet -dumpbase Heatbug.m -mtune=i686 -auxbase Heatbug -g -O2 -Wall -Wno-import -Wno-protocol -Wno-long-long -version -fgnu-runtime -fno-strict-aliasing -o /tmp/ccw1eXEi.s
One thing you might try is doing a cut and paste of one of the GCC invocations. I was debugging yesterday using Heatbug.m. Paste the gcc command that make runs for that file to the command line and then modify it to add "-E" and a redirect to another file. As you probably know, what "-E" does is runs only the C preprocessor. In the output file you should see lots of lines that look like "# number". If you send that to me I can probably figure out what's going on because I'll be able to compile it (or not) myself./usr/local/include/defobj/DefObject.h:31: error: stray '@' in program
[Prev in Thread] | Current Thread | [Next in Thread] |