build failure - H8/300 - no crt0.o
tm
tm@mail.kloo.net
Thu Oct 10 12:44:00 GMT 2002
host: i386-linux
target: h8300-elf
GCC fails when building, apparently because of no crt0.o:
...
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether time.h and sys/time.h may both be included... no
checking whether errno must be declared... yes
checking for ANSI C header files... no
checking for uintptr_t... no
checking for pid_t... yes
checking whether the C compiler ( /home/tm/gcc-build-h8300-elf/gcc/xgcc
-B/home/tm/gcc-build-h8300-elf/gcc/ -B/usr/local/h8300-elf/bin/
-B/usr/local/h8300-elf/lib/ -isystem /usr/local/h8300-elf/include -O2 -g
-O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
make: *** [configure-target-libiberty] Error 1
The SH has a crt1.asm, but there is no crt0.asm for the H8/300 -
is this by omission or intentional?
Toshi
More information about the Gcc-bugs
mailing list