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


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

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




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

Mohamed

-----Original Message-----
From: Eissa, Mohamed [mailto:mohamed.eissa@intel.com]
Sent: Friday, November 16, 2001 12:05 PM
To: 'newlib@sourceware.cygnus.com'
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:
	cygmon-crt0.o
	cygmon.ld 
	libcygmon.a 
	libnosys.a

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
directory
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
target?

Thank you in advance!

Mohamed


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