Hey, It's a bit tricky because it's not supported yet with released versions of gnustep/llvm/clang.
Here's a rough guide: - remove gnustep and llvm/clang if you have installed the packaged Ubuntu version - checkout from SVN, build and install gnustep make - checkout from SVN, build and install libobjc2, (from the GNUstep svn tree at dev-libs/libobcj2) - checkout from SVN, build and install GNUstep base/gui/back, - checkout from SVN, build and install llvm/clang To compile a GNUstep program with clang, you can do: make CC=clang OBJCFLAGS=-fobjc-non-fragile-abi Hopefully this will be easier in the near future when we have releases of everything that work in this configuration :-) Eric On Sep 30, 2010, at 9:22 AM, Xiaoping Jia wrote: > Hello, > > I have GNUStep and LLVM/CLang installed on Ubuntu. I am trying to > compile Objective-C 2.0 code. I could not find instructions to use clang > instead of gcc with GNUStep libraries. Any help will be appreciated. > > Thanks in advance! > > Xiaoping Jia > > > _______________________________________________ > Help-gnustep mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-gnustep _______________________________________________ Help-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gnustep
