Running into some oddball problem trying to compile an OSX binary from the current CVS sources. Clean, just downloaded codebase, ANT 1.6.5, Antlr 2.7.6, OSX 10.4.7 on a MacBook Pro. It picks up the correct platform and that it should be universal binary. However, it generates the following set of errors on the native compile:
[blockquote]
[cc] cc1obj: warning: command line option “-fno-rtti” is valid for C++/ObjC++ but not for ObjC
[cc] cc1obj: warning: command line option “-fno-rtti” is valid for C++/ObjC++ but not for ObjC
[cc] cc1obj: warning: command line option “-fno-rtti” is valid for C++/ObjC++ but not for ObjC
[cc] cc1obj: warning: command line option “-fno-rtti” is valid for C++/ObjC++ but not for ObjC
[cc] lipo: can’t figure out the architecture type of: /var/tmp//ccLZhlwi.out
BUILD FAILED
/Users/Justin/j3d.org/joal/make/build.xml:708: The following error occurred while executing this line:
/Users/Justin/j3d.org/joal/make/build.xml:576: The following error occurred while executing this line:
/Users/Justin/j3d.org/joal/make/build.xml:541: gcc failed with return code 1
[/blockquote]
It appears that something in GCC is not working out with the fat binary. The strange thing is that JOGL compiles fine, so there’s something that’s not quite right in JOAL (ie the common code of Gluegen is working correctly).