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.
Problem making GCC cross-compiler for MCORE processor.
- From: Sandi Posl <sandiposl at netscape dot net>
- To: crossgcc at sources dot redhat dot com
- Date: Wed, 17 Jul 2002 11:04:12 +0200
- Subject: Problem making GCC cross-compiler for MCORE processor.
Hello,
I am trying to compile the GNU tools for the Motorola MCORE processor on
a linux pc (Redhat 7.3).
I have downloaded the latest version of the GNU tools from their web
site, MTCgnu4_6_src.
I have successfully compiled the binutils (binutils-2.9.1-M.CORE), but I
can't compile the GCC tools.
The following is the error when I make the GCC tools:
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I.
-I../../gcc -I../../gcc/config ../../gcc/config/mcore/mcore.c
../../gcc/config/mcore/mcore.c:1999: redefinition of `struct option'
make[1]: *** [mcore.o] Error 1
make[1]: Leaving directory
`/home/sandip/my_stuff/mcore/tools/GNU_tools/egcs-1.1.1-M.CORE/build_gcc/gcc'
make: *** [all-gcc] Error 2
Now, I don't have any experience building cross-compilers, or anything
actually..... so I don't have a clue as to the source of this error...
Does anyone have any suggestions?
Thanks
Sandi Posl
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com