newlib crt0.o problem: target=i386-elf host=i686-pc-cygwin

Eissa, Mohamed
Thu Jan 18 00:25:00 GMT 2001

Sorry for resending this but, I didn't get any further. If anyone can help
me, I truly appreciate it.


-----Original Message-----
From: Eissa, Mohamed []
Sent: Friday, November 16, 2001 12:05 PM
To: ''
Subject: newlib crt0.o problem: target=i386-elf host=i686-pc-cygwin 

Hi all,

I used these  lines to build newlib-1.9.0 on a windows/cygwin host to target
a pc-linux platform:

$  ./configure --target=i386-elf --prefix=/tools
--exec-prefix=/tools/H-i686-pc-cygwin -v 2>&1 | tee configure.out 
(note:  I also built the binutils-2.11.2 and the gcc cross-compiler for
i386-elf target using the same options and they went fine )

$  make all install 

Here are the output of this process:

After that, I tried to build a "hello" application and I got this error:

$ i386-elf-gcc hello.c -o hello

/tools/H-i686-pc-cygwin/i386-elf/bin/ld: cannot open crt0.o: No such file or
collect2: ld returned 1 exit status

Of course the crt0.o is missing, the question is what did I do wrong while
building newlib-1.9.0.

Can anybody please help me out? or at least can some one point to a
documentation on how to build a development environment for my host and

Thank you in advance!


More information about the Newlib mailing list