2010-09-16

sb2-init: cannot run C compiled programs

> sb2-init -c /opt/qemu/bin/qemu-arm sheeva_debian /root/opt/toolchains/arm-2010q1/bin/arm-none-eabi-gcc

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.


The reason of failed test was the gcc compiler was wrong. See
I downloaded "Sourcery G++ Lite Edition for ARM" with target OS "EABI". After I switched to the one target OS "GNU/Linux", the error disappeared.

No comments:

Post a Comment