Got it to compile.. Will tinker with it for the next couple of days..

Here's where i had trouble to follow the tutorial (i compiled everything as 
root):

1.

> We're going to build with the simple Makefile, rather than with the 
> GNUmakefile. This will use the system C/C++ compilers, which are still 
> gcc/g++ on FreeBSD 9, so we need to specify clang.
> $ CC=clang CXX=clang++ make

Instead, i used:

$ setenv CC clang
$ setenv CXX clang++
$ make

2. 

> Note that now we use gmake instead of make. Most GNUstep things require 
> GNUstep make. If you forget to use it and use make, you'll get some errors. 
> With the GNUstep layout, you need to source the GNUstep.sh file. This will do 
> it now and make sure it's done every time you log in:
> $ . /System/Library/Makefiles/GNUstep.sh
> $ echo . /System/Library/Makefiles/GNUstep.sh >> ~/.profile

Instead, i used (as root):

# source /System/Library/Makefiles/GNUstep.csh

3. 

I checked out and compiled llvm 3.0.. which required me to comment the line with

llvm::JITExceptionHandling = true;

in

trunk/Etoile/Languages/LanguageKit/CodeGen/LLVMCodeGen.mm

------------------


Thanks for your support!!
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à