linking against newlib troubles

Peter S Groessinger
Mon May 13 07:17:00 GMT 2002

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   
  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 install
  make info
  make install-info

Any help would be very much appreciated. Thank you !

Kindest regards,

Peter S Groessinger
Technikum Wien

More information about the Newlib mailing list