[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: More Kernel compile



> Here is the latest error message I got while trying to cross-compile from
> LinuxPPC to m68k:
> 
> m68k-linux-as: error in loading shared libraries
> libc.so.6: ELF file machine architecture not ppc
> init/main.c:0: output pipe has been closed
> cpp: output pipe has been closed
> make: *** [init/main.o] Error 1

What are you trying to cross compile? Anything that needs shared or static
libs will have to use the m68k libs. The kernel can be cross compiled
without. 

> What I don't understand is why I was able to do a 'make dep.' I got no
> errors in doing that, but when I began the actual compile, (using 'make
> ARCH=m68k') the error message I got is listed above. 

make dep either doesn't need to compile anything, or does so using the
host architecture compilerl. 

	Michael


Reply to: