[llvm-commits] [llvm-gcc-4.2] r72505 - /llvm-gcc-4.2/trunk/README.LLVM

Duncan Sands baldrick at free.fr
Wed May 27 23:43:04 PDT 2009


Hi Dan,

> +To build a compiler that targets 32-bit x86, the following options should be
> +added to the configure line:
> +  --target=i686-pc-linux-gnu --with-tune=generic --with-arch=pentium4
> +You can select a different arch string if you prefer, but it's important to
> +use this option to prevert llvm-gcc from defaulting to generic i386, which
> +can lead to problems as llvm itself doesn't support x86 targets lower
> +than i486.

the default always worked for me.  Are you saying that if the target is
i386 then the generated code won't run on an i386, only i486 and better?
If so, why not just mention that.  I don't see why there is any need to
change how the compiler is configured though.

Ciao,

Duncan.



More information about the llvm-commits mailing list