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]

linking against newlib troubles


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


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