|
From: | David Chisnall |
Subject: | Re: Building GNUstep |
Date: | Tue, 13 May 2008 14:00:24 +0100 |
On 11 May 2008, at 17:22, Nicola Pero wrote:
As far as I know, gnustep-make's and gnustep-base's configures have no knowledge of clang; we would need to add some support for it if you want things to work more "out of the box". You're (obviously) very welcome to do so, or if you can point me to an easy-to-install version of the compiler for GNU/ Linux Iwill have a look once I have a bit of time.
Instructions for building clang from svn are here: http://clang.llvm.org/get_started.htmlI've not tested it on GNU/Linux. My development platform is FreeBSD, but I believe it should all be similar.
Most of GNUstep builds with clang / llvm with the version I have. I can send you my diff if you're interested, but hopefully they should all be going into the main repository in the next week or so (they're currently pending code review). I won't post the diff to the list since it's around 130KB.
David
The files you/we need to look at are core/make/configure.ac and core/ base/configure.ac.Thanks -----Original Message----- From: David Chisnall <address@hidden> Sent: Saturday, May 10, 2008 6:56pm To: address@hidden Subject: Building GNUstep Hi Everyone, I now have clang at the point where it can almost build GNUstep Additions (two l-value cast expressions in GSXML.m don't yet work, everything else does), however when I do: ./configure CC=ccc gmake CC=ccc It does not pass -lobjc to the linker. Adding LDFLAGS += lobjc to the linker fixes this, but it's obviously not the correct way of doing it. Can anyone tell me the correct way? It is also necessary to add -link-as-library to the LDFLAGS, to enable generation of a library, rather than an executable, and apparently configure doesn't spot this. David _______________________________________________ Gnustep-dev mailing list address@hidden http://lists.gnu.org/mailman/listinfo/gnustep-dev
[Prev in Thread] | Current Thread | [Next in Thread] |