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] |
On 1/31/06, Sanjeev Rao <sr_sanjeev@yahoo.com> wrote: > I have been follwing the procedure given > "GCC_crosscompiler_buildprocess.txt" to build cross > compiler for power pc. That's the recipe posted here, I suppose. http://sources.redhat.com/ml/crossgcc/2005-07/msg00167.html Have you considered using crosstool instead? > I am using gcc-3.3.6.tar.gz, glibc-2.3.tar.gz, glibc-linuxthreads-2.3.tar.gz, binutils-2.16.tar.gz. Why such an old glibc? > Build binutils, build minimal gcc were successful > after adding the patch, but while building the glibc > I am getting the following erros. > ... > gcc -B/opt/crossgcc/powerpc-linux/powerpc-linux/bin/ > ../sysdeps/unix/sysv/linux/init-first.c -c -O -Wall > -Winline -Wstrict-prototypes -Wwrite-strings -g > -Wa,-mppc -mpowerpc -mnew-mnemonics > -I../include -I. -I/root/F1/source/build-glibc/csu > -I.. -I../libio -I/root/F1/source/build-glibc > -I../sysdeps/powerpc/powerpc32/elf > -I../sysdeps/powerpc/elf > -I../linuxthreads/sysdeps/unix/sysv/linux > -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread > -I../linuxthreads/sysdeps/unix/sysv > -I../linuxthreads/sysdeps/unix > -I../linuxthreads/sysdeps/powerpc/powerpc32 > -I../linuxthreads/sysdeps/powerpc > -I../sysdeps/unix/sysv/linux/powerpc/powerpc32 > -I../sysdeps/unix/sysv/linux/powerpc > -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu > -I../sysdeps/unix/common -I../sysdeps/unix/mman > -I../sysdeps/unix/inet -I../sysdeps/unix/sysv > -I../sysdeps/unix/powerpc -I../sysdeps/unix > -I../sysdeps/posix -I../sysdeps/powerpc/powerpc32/fpu > -I../sysdeps/powerpc/powerpc32 > -I../sysdeps/wordsize-32 -I../sysdeps/powerpc/soft-fp > -I../sysdeps/powerpc/fpu -I../sysdeps/powerpc > -I../sysdeps/ieee754/flt-32 > -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 > -I../sysdeps/generic/elf -I../sysdeps/generic > -nostdinc -isystem > /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include > -isystem /usr/src/linux-2.4.20-8/include/ > -D_LIBC_REENTRANT -include ../include/libc-symbols.h > -DHAVE_INITFINI -o > /root/F1/source/build-glibc/csu/init-first.o > cc1: invalid option `powerpc' > cc1: invalid option `new-mnemonics' That sounds like it's invoking the wrong compiler. Try invoking the minimal compiler directly rather than using the system compiler's -B option, maybe. - Dan -- Wine for Windows ISVs: http://kegel.com/wine/isv ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |