Building the cross compiler for MPC8xx
Richard Lee
richard@premierme.com.tw
Tue Oct 23 00:45:00 GMT 2001
I am trying to build the cross compiler for Motorola PPC8xx on an Intel
Linux host. Now there is an error occurred while I compile the kernel
source for Linux header. Hereafter is the information.
Binutils-2.10.1, OK.
GCC-2.95.2 (core), OK.
Linux Kernel-2.4.0 (linux headers), something wrong.
.......
gmake
CFLAGS="-D__KERNEL__ -I/home/ppc/source/linux/include -Wall -Wstrict-prototy
pes -O2 -fomit-frame-pointer -fno-strict-gmake[1]: Entering directory
`/home/ppc/source/linux/arch/ppc/kernel'
powerpc-linux-gcc -D__KERNEL__ -I/home/ppc/source/linux/include -Wall -Wstri
ct-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__powerpc__ -f
signed-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mst
ring -mcpu=860 -I../8xx_io -D__ASSEMBLY__ -c head_8xx.S -o head_8xx.o
/home/ppc/source/linux/include/asm/mmu.h: Assembler messages:
/home/ppc/source/linux/include/asm/mmu.h:10: Error: Unrecognized opcode:
`typedef'
gmake[1]: *** [head_8xx.o] Error 1
gmake[1]: Leaving directory `/home/ppc/source/linux/arch/ppc/kernel'
gmake: *** [_dir_arch/ppc/kernel] Error 2
Can any one help me ?
Richard Lee
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list