[LLVMdev] Compiling llvm-gcc on amd64 with 32 bits: assembler still carps

Tanya Lattner tonic at nondot.org
Sun Mar 30 10:28:24 PDT 2008


On Mar 30, 2008, at 10:07 AM, Joachim Durchholz wrote:

>
> Am Sonntag, den 30.03.2008, 12:23 -0400 schrieb Daniel Berlin:
>> To clarify,
>>
>> configure --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu
>> --target=i686-pc-linux-gnu
>>
>> I do this all the time on my 4 core amd64 box and it works fine.
>
> There must be some other difference, as I'm doing exactly that:
>
>>>> export LLVM_GCC_SRC=$HOME/llvm-gcc-src
>>>> export LLVM_GCC_WRK=$HOME/llvm-gcc-wrk
>>>> export LLVM_CONFIGURE=
>>>> export LLVM_CONFIGURE="$LLVM_CONFIGURE --prefix=$HOME"
>>>> export LLVM_CONFIGURE="$LLVM_CONFIGURE --enable-optimized"
>>>> export LLVM_CONFIGURE="$LLVM_CONFIGURE --build=i686-pc-linux-gnu"
>>>> export LLVM_CONFIGURE="$LLVM_CONFIGURE --host=i686-pc-linux-gnu"
>>>> export LLVM_CONFIGURE="$LLVM_CONFIGURE --target=i686-pc-linux-gnu"
>>>> export CC=gcc-4.2
>>>> export CXX=g++-4.2
>>>> cd $LLVM_GCC_WRK
>>>> $LLVM_GCC_SRC/configure $LLVM_CONFIGURE
>>>> make -j3
>
> Look at how $LLVM_CONFIGURE is built, the final value is
>
> --prefix=/home/jo --enable-optimized --build=i686-pc-linux-gnu
> --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu"
>

This looks likes its missing some stuff. Make sure the configure line  
is exactly as what is in README.LLVM.

-Tanya


> Regards,
> Jo
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list