Re: Using clang with GNUStep on Ubuntu
Eric Wasylishen <[email protected]> Sat, 2 Oct 2010 11:51:06 -0600
| Newsgroups | gmane.comp.lib.gnustep.user |
|---|---|
| Message-ID | <[email protected]> |
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 =08the 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=3Dclang OBJCFLAGS=3D-fobjc-non-fragile-abi Hopefully this will be easier in the near future when we have releases = of everything that work in this configuration :-)=20 Eric On Sep 30, 2010, at 9:22 AM, Xiaoping Jia wrote: > Hello,=20 >=20 > 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.=20= >=20 > Thanks in advance! >=20 > Xiaoping Jia=20 >=20 >=20 > _______________________________________________ > Help-gnustep mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-gnustep