This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cross Compiler target=i386-elf


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.




BlueDoze
Linux Registered User # 283798


Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Attachment: config.log
Description: config.log

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]