This is the mail archive of the crossgcc@sources.redhat.com 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]

Building the cross compiler for MPC8xx



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


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