[LLVMdev] questions about x86-64 installation
Joachim Durchholz
jo at durchholz.org
Sun Apr 6 03:02:01 PDT 2008
Am Sonntag, den 06.04.2008, 11:02 +0300 schrieb Török Edwin:
> john hull wrote:
> > Are there any known problems when you install LLVM onto x86-64 machines?
> > I just want to know if I can install LLVM without a glitch before I
> > purchase a machine with faster processors, like core 2 duo.
> > Could you share your experiences?
>
> My main development machine is x86-64, and I use llvm on it, and develop
> code that uses llvm .
> The only issue is this that PIC codegen doesn't work, and you can't
> bootstrap llvm-gcc: http://llvm.org/bugs/show_bug.cgi?id=1711#c16
>
> However you can still get a usable llvm-gcc with --disable-shared,
> --disable-multilib --disable-bootstrap.
>
> The above refers to x86-64/Linux, if you have Mac OS X on it the
> situation might be different.
Compiling to 32 bits works, and can even use PIC (i.e. shared
libraries), though you need to follow some instructions exactly to make
it compile.
It does not bootstrap for a 32-bit target.
Regards,
Jo
More information about the llvm-dev
mailing list