|
From: Jochen R. <jo...@pa...> - 2003-05-30 21:55:28
|
Hello Vipin, > powerpc-linux-gcc-2.95.2-1-i386.tar This tarball only contains the cross compiler and related binutils (i.e. assembler and linker). That is all you need to cross-compile the kernel itself. > When I use it to cross compile my source code, it gives linking error, > saying ctri.o/ctr1.o/ctrn.o/libc.so/libc.so.1 etc not found. You will need to cross-compile the libraries and shared library stubs for powerpc. Take a look at http://bytesex.org/cross-compiler.html for examples on how to do this for sparc. Based on my experience, there are lots of programs where cross-compiling does not work with the makefiles etc straight out of the tarball off of the internet, for instance. I find it is usually a lot easier to compile natively. Regards, Jochen |