This is the mail archive of the crossgcc@sourceware.org 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]

Error while building cross compiler for PPC32


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


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