This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

configure of newlib


Hi

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 
--enable-languages=c

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, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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