Error while building cross compiler for PPC32

TungDH tungdh@tsdv.com.vn
Mon Dec 22 03:49:00 GMT 2008


Hi friends,
I am trying to build cross compiler (target is powerpc-apple-linux, host 
is i686-pc-linux-gnu)
I have built binutils successful.
But i meet a trouble with building gcc. I have configured gcc:

/$ cp -r include/linux /usr/local/crossgcc/powerpc-apple-linux/include
$ cp -r include/asm-ppc 
///usr/local/crossgcc/powerpc-apple-linux/include/asm
$ cp -r include/asm-generic 
///usr/local/crossgcc/powerpc-apple-linux/include//

/sudo ../configure --target=powerpc-apple-linux 
--prefix=/usr/local/crossgcc --with-headers=/usr/include -v 
--enable-languages=c,c++

/When /make all-gcc, /i see the error
//usr/local/crossgcc/powerpc-apple-linux/bin/ld: crti.o: No such file: 
No such file or directory/
Build-essential package was installed on build machine (crti.o is store 
in /usr/lib)
How should i do to let it see the crti.o library?

Thank in advance.
Best regards,
TungDH

--------------------------------------
This mail was scanned by BitDefender


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



More information about the crossgcc mailing list