Hi All,
I was trying to build a cross compiler for the target i386-elf and the
host is Solaris 7
I built the binutils, then bootstrap gcc (--target=i386-elf
--without-headers --with-newlib), then newlib, then back to the gcc
when trying to build the full gcc, it gave me some errors
------ snip----------------------
hecking for ANSI C header files... no
checking for uintptr_t... no
checking for pid_t... yes
checking whether the C compiler (
/export/home/users/aragab/programs/build/cygnus/build-gcc/gcc/xgcc
-B/export/home/users/aragab/programs/build/cygnus/build-gcc/gcc/
-B/net/panda/export/home/users/aragab/programs/build/cygnus/gnu/i386-elf/bin/
-B/net/panda/export/home/users/aragab/programs/build/cygnus/gnu/i386-elf/lib/
-isystem
/net/panda/export/home/users/aragab/programs/build/cygnus/gnu/i386-elf/include
-O2 -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
gmake: *** [configure-target-libiberty] Error 1
------end snip-------------------
the config.log file is attached, it tells me that many header files was
missing, and the crt0.o is not found.
I think the problem is in the crt0.o file.
It didn't complete the build and installation
I looked here and there, and found that the crt0.o is not located for
the target i386-elf, but there's one for cygmon, any way
I want to complete the build process.
Any help.