configure of newlib

Igor Bernotas
Tue Sep 3 23:30:00 GMT 2002


I have some problem with compile newlib

I use binutils-2.12.1, newlib-1.10.0, gcc-2.95.3

Before i compiled binutils, after i compiled core gcc

ln -s ../newlib-1.10.0/newlib newlib
ln -s ../newlib-1.10.0/libgloss libgloss

./configure --target=m68k-coff --prefix=/opt/gcc-m68k-core 
--exec-prefix=/opt/gcc-m68k-core --without-headers --with-newlib 

make all-gcc

make install-gcc

After I wanted to compile newlib, but i have that error

[root@adminsys newlib-1.10.0]# ./configure --target=m68k-coff 
--prefix=/opt/newlib-m68k --exec-prefix=/opt/newlib-m68k
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /home/igor/job/sources/newlib-1.10.0
/opt/bin-m68k/bin/m68k-coff-ld: cannot open crt0.o: No such file or directory
collect2: ld returned 1 exit status
*** The command '/opt/gcc-m68k-core/bin/m68k-coff-gcc -o conftest -g -O2   
conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

How i can solve it ?

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list