[LLVMdev] LLVM builds on x86-64 Solaris

Chris Lattner sabre at nondot.org
Mon Nov 26 22:40:24 PST 2007


On Nov 19, 2007, at 12:31 PM, Kelly Wilson wrote:

> Hey everyone,
>
> Not sure if anyone had tried this but I managed to get LLVM and  
> clang to
> build on Nexenta Alpha 7. This is an OpenSolaris/GNU OS.
>
> There wasn't much to change for LLVM, except "#undef"ing a lot of x86
> register name equivalents and the like (ie. EAX,ESP,CS,FS...).
>
> There were a couple of similar undef's needed for clang, as well. The
> clang testsuite ran fine except for mandel.c again?!? Same file that
> wouldn't build on Sparc/Linux, but a different error. I will look at  
> it.
>
> I will try to get llvm-gcc to build but there will probably be some
> major issues there ;) We'll see.

Very nice!  How ugly are the patches, do you think we could merge them  
into mainline?

-Chris



More information about the llvm-dev mailing list