[LLVMdev] llvm-gcc : Did not get a target machine! Triplet is mips64el-unknown-linux-gnu

Chris Lattner clattner at apple.com
Wed Jul 7 08:36:53 PDT 2010


On Jul 7, 2010, at 12:22 AM, 吴伟 wrote:

> Hi all,
>    I met this error(title) when i was trying to compile llvm-gcc-4.2-2.7 on loongson2f,a mips compatible platform.I also failed to build a  cross-compiler and the error message was the same . Is that means llvm-gcc cannot support mips back-end now?

I don't think that LLVM supports mips64 yet... Bruno?

-Chris

>    Thanks.
> 
> Here is my configure options:
> $export TARGET=mips64el-unknown-linux-gnu
> $../../src/llvm-gcc-4.2-2.7.source/configure --target=$TARGET --prefix=$PREFIX --without-headers --disable-shared --disable-nls --enable-checking --with-gnu-as --with-gnu-id --enable-languages=c,c++ --enable-llvm=$(pwd)/../llvm-2.7 && make all-gcc
> 
> ------------------------------------------------------
> echo '#endif' >> tp-bit.c
> /home/ext3/loongson/build/llvm-gcc/./gcc/xgcc -B/home/ext3/loongson/build/llvm-gcc/./gcc/ -B/home/ext3/loongson/install/mips64el-unknown-linux-gnu/bin/ -B/home/ext3/loongson/install/mips64el-unknown-linux-gnu/lib/ -isystem /home/ext3/loongson/install/mips64el-unknown-linux-gnu/include -isystem /home/ext3/loongson/install/mips64el-unknown-linux-gnu/sys-include -O2 -O2 -g -O2  -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I../../../src/llvm-gcc-4.2-2.7.source/gcc -I../../../src/llvm-gcc-4.2-2.7.source/gcc/. -I../../../src/llvm-gcc-4.2-2.7.source/gcc/../include -I../../../src/llvm-gcc-4.2-2.7.source/gcc/../libcpp/include  -I../../../src/llvm-gcc-4.2-2.7.source/gcc/../libdecnumber -I../libdecnumber -I/home/ext3/loongson/build/llvm-gcc/../llvm-2.7/include -I/home/ext3/loongson/src/llvm-2.7/include  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -Dinhibit_libc  \
> 	  -c ../../../src/llvm-gcc-4.2-2.7.source/gcc/crtstuff.c -DCRT_BEGIN \
> 	  -o crtbegin.o
> Did not get a target machine! Triplet is mips64el-unknown-linux-gnu
> make[1]: *** [crtbegin.o] Error 1
> make[1]: Leaving directory `/home/ext3/loongson/build/llvm-gcc/gcc'
> make: *** [all-gcc] Error 2
> 
> 
> -- 
> Wei Wu
> wuwei08 at iscas.ac.cn
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100707/3792396e/attachment.html>


More information about the llvm-dev mailing list