List Info

Thread: Clang Update




Clang Update
country flaguser name
United Kingdom
2008-05-02 13:30:51
Hi Everyone,

Just a quick update on my progress getting clang/LLVM to
support  
Objective-C code generation on the GNU runtime.  As of the
patch I  
just sent for review, the following work:

- Class, protocol and category declarations / definitions.
- Message sends to classes and objects.  Selectors are not
yet cached,  
so these are slow.
- protocol() and encode().

The following are still to do:

- Message sends to super.
- Constant Objective-C strings.
- ObjectiveC 2.0 stuff (including synchronized)

I'd like to start testing compiling GNUstep with clang in
the next  
week or so.  I seem to remember having problems persuading
GNUstep  
Make to use a different compiler to the default one in the
past.  Can  
someone tell me what I need to do to try building -base (for
example)  
with a different compiler?

David


_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustepgnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Re: Clang Update
country flaguser name
United States
2008-05-02 14:29:42
I'd think you could just configure gnustep-make with

./configure CC=mycc

Then CC is stored in the config.make in the Makefiles
directory.
Although both -make and -base probably are looking for a lot
of gcc  
specific flags and things, so it might be some work hacking
the  
configuration to work around that.

On May 2, 2008, at 12:30 PM, David Chisnall wrote:

> I'd like to start testing compiling GNUstep with clang
in the next  
> week or so.  I seem to remember having problems
persuading GNUstep  
> Make to use a different compiler to the default one in
the past.   
> Can someone tell me what I need to do to try building
-base (for  
> example) with a different compiler?
>
> David
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustepgnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep



_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustepgnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )