mingw cross compiler

Steve Papacharalambous stevep@freescale.com
Tue Mar 21 10:05:00 GMT 2006


I have built a powerpc cross compiler for mingw hosts using crosstool 
and canadian cross.  The build completed successfully, but when I try to 
build helloworld.c I get the following error:

ld.exe: cannot find -lgcc_s
collec2: ld returned 1 exit status

However when I run either of the following commands the directory 
containing libgcc_s.so is present in the search lists:

gcc --print-search-dirs
powerpc-linux-gcc -v -o hello hello.c

Also the toolchain builds statically linked c and c++ executables 
without any errors.

The toolchain was built with the configuration:


Does anyone know what the problem is?

Best regards,


For unsubscribe information see http://sourceware.org/lists.html#faq

More information about the crossgcc mailing list