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 with m68k-elf-gcc
- From: "amitvikram muttigi" <amitvik at hotmail dot com>
- To: crossgcc at sources dot redhat dot com
- Date: Tue, 13 May 2003 11:44:41 +0000
- Subject: problem with m68k-elf-gcc
- Bcc:
Hi all,
This is in refrence to my last mail regarding problem in m68k-elf-gcc. I
searched in the crossgcc mailing lists to find how to compile GCC for
m68k-elf. I found that there is no exact solution to build the m68k-elf gcc
compiler. Ulimately I got Stephane document
(http://sources.redhat.com/ml/crossgcc/2000-q2/msg00195.html) and I thought
following this document I should ba able to build compiler, but I couldnt.
I downloaded all the sources as mentioned in document but binutils-2.9.1 is
itself not compiling it is giving following error:
make[1]: Entering directory
`/cygdrive/d/crossgccsrc/binutils-2.9.1/bnobj/libiberty'
if [ -n "" ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir
echo "# !Automatically generated from ../../libiberty/functions.def"\
"- DO NOT EDIT!" >needed2.awk
grep '^DEFVAR(' < ../../libiberty/functions.def \
| sed -e '/DEFVAR/s|DEFVAR.\([^,]*\).*|/\1/ { printf "#ifndef
NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' \
needed2.awk
grep '^DEFFUNC(' < ../../libiberty/functions.def \
| sed -e '/DEFFUNC/s|DEFFUNC.\([^,]*\).*|/\1/ { printf "#ifndef
NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' \
needed2.awk
gcc-2 -c -g -O2 -I. -I../../libiberty/../include -DNEED_sys_siglist
-DNEED_basename -DNEED_strsignal ../../libiberty/dummy.c 2>/dev/null
gcc-2: not found
make[1]: *** [dummy.o] Error 127
make[1]: Leaving directory
`/cygdrive/d/crossgccsrc/binutils-2.9.1/bnobj/libiberty'
make: *** [all-libiberty] Error 2
I am building the binutils from a seperate directory bnobj which is inside
the binutis-2.9.1 source directory. I am doing following:
cd d:/crossgccsrc/binutils-2.9.1
mkdir bnobj
cd bnobj
../configure --target=m68k-elf --prefix=/m68kelf
make
Can anybody please tell me what is the method they adopted to build the
m68k-elf-gcc compiler.
Any sort of help will be appreciated as I am in desperate need of m68k-elf
compiler. I am breaking my head from past 3 weeks.
Bye
Amit
_________________________________________________________________
Want to get married? Try online matrimony.
http://server1.msn.co.in/features/onlinematrimony/index.asp It's cool.
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com