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

Nick Lewycky nicholas at mxc.ca
Wed May 27 21:09:17 PDT 2009


Dan Gohman wrote:
> Author: djg
> Date: Wed May 27 19:03:34 2009
> New Revision: 72505
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=72505&view=rev
> Log:
> Describe the configure lines needed to build a properly configured
> x86-32 llvm-gcc on "Linux". Suggestions for improvement are welcome.
> 
> Modified:
>     llvm-gcc-4.2/trunk/README.LLVM
> 
> Modified: llvm-gcc-4.2/trunk/README.LLVM
> URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/README.LLVM?rev=72505&r1=72504&r2=72505&view=diff
> 
> ==============================================================================
> --- llvm-gcc-4.2/trunk/README.LLVM (original)
> +++ llvm-gcc-4.2/trunk/README.LLVM Wed May 27 19:03:34 2009
> @@ -44,6 +44,14 @@
>  //===-----------------------
>  Linux-specific Instructions:
>  
> +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

Typo: prevent.

> +can lead to problems as llvm itself doesn't support x86 targets lower
> +than i486.
> +
>  If llvm-gcc doesn't build right, try building LLVM with OPTIMIZE_OPTION=-O2.
>  This may be host compiler version specific.
>  
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> 




More information about the llvm-commits mailing list