[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ProjectCenter, Clang, and Reporting
From: |
Austin Clow |
Subject: |
Re: ProjectCenter, Clang, and Reporting |
Date: |
Wed, 25 May 2011 12:45:30 -0500 |
(I'm re-sending this because, once again, i forgot to press reply-all,
originally sent at 4:12AM)
I just installed Clang, and added to my project's GNUMakefile.postamble file
the following:
CC = clang
CCP = clang -E
OBJCFLAGS +=-I/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/include/
OBJCFLAGS +=-I/usr/include/i386-linux-gnu
I pressed the build button in ProjectCenter and all worked great. I actually
got most of what I wanted to build in GNUstep with only minor issues. I
reported a few things I had to disable in my source code to the bug database,
because they were either missing from GNUstep's AppKit or Foundation or not
working. I was very surprised that I was able to get so much working today.
I am using Ubuntu and 4.6 is not currently in the Software Center. But clang is
what I really want so I was glad to see it functioning.
Clang and GCC are interchangeable with respect to what they create.
- Austin
On May 25, 2011, at 3:57 AM, Nicola Pero wrote:
>> Is there any way to set ProjectCenter to build using Clang?
>> Or will I have to edit the Make files? I am trying to get ObjC2 working.
>
> There should be no need to edit the Makefiles :-), but to change compiler
> and runtime library you most likely would need to reconfigure/recompile
> everything (starting with gnustep-make) using the new compiler/runtime.
>
> Another option to get Objective-C 2.0 features is to use GCC 4.6, which
> may (or may not!) come in easy-to-install packages for your distribution.
> You'd still need to reconfigure/recompile everything. ;-)
>
> Thanks
>
- ProjectCenter, Clang, and Reporting, Austin Clow, 2011/05/24
- Re: ProjectCenter, Clang, and Reporting, Gregory Casamento, 2011/05/24
- Re: ProjectCenter, Clang, and Reporting, David Chisnall, 2011/05/25
- RE: ProjectCenter, Clang, and Reporting, Nicola Pero, 2011/05/25
- Re: ProjectCenter, Clang, and Reporting,
Austin Clow <=