This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
linking against newlib troubles
- From: Peter S Groessinger <petegross at gmx dot at>
- To: newlib at sources dot redhat dot com
- Date: Mon, 13 May 2002 16:20:08 +0200
- Subject: linking against newlib troubles
- Organization: FHE Technikum Wien
Hello all,
I'm a newbie to newlib and I'm having troubles with using newlib as my
standard library for my cross compiler (powerpc-linux-gcc).
When building the environment everything works nicely (first pass of
powerpc-linux-gcc, newlib and second pass of powerpc-linux-gcc), but when I
try to make an executable binary for my target I get this error message :
/usr/local/powerpc-linux/bin/ld: cannot open crt1.o: No such file or
directory
collect2: ld returned 1 exit status
Compiling and assembling works fine (-c).
I configured and installed newlib as follows :
cd ~/crossdev/build
mkdir newlib-1.10.0-powerpc-linux
cd newlib-1.10.0-powerpc-linux
../../../pristine/newlib-1.10.0/configure --target=powerpc-linux
make
make install
make info
make install-info
Any help would be very much appreciated. Thank you !
Kindest regards,
Peter
--
--
Peter S Groessinger
Fachhochschule
Technikum Wien
AUSTRIA