help-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using clang with GNUStep on Ubuntu


From: Eric Wasylishen
Subject: Re: Using clang with GNUStep on Ubuntu
Date: Sat, 2 Oct 2010 11:51:06 -0600

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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gnustep




reply via email to

[Prev in Thread] Current Thread [Next in Thread]