1) Do you have Xcode installed? I mean Xcode 4.6.2.
2) If you have Xcode installed, do you have command line tools then?
3) Have you tried build with CC="xcrun clang" CXX="xcrun clang++"? The xcrun script will find the appropriate clang and pass the appropriate compiler flags to it make sure you are linking against the correct version of libraries in the SDKs Apple provided. (At least you still need libc and libc++, right?)
在 2013-6-2,下午10:35,Frank Rehwinkel <
address@hidden> 写道:
Want to check some assumptions I'm making.
To get the latest objc2 built on OS X, clang is either preferred or required although there are other considerations that still need addressing.
To build GNUstep-base, to be linked with the objc2 library later on, it should be built against the objc2 library.
And to build against the objc2 library, -base needs to be built with clang because only clang supports the -fobc-runtime=gnustep option.
I'm running into issue after issue with compiling -base using a new clang on OS X and just wanted to make sure I don't have the option of building it with the gcc on OS X if my goal is to use the -base library with clang and objc2.
Thanks,
-Frank
_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev