gdb-6.7 and 68k

"Franzi Edo." <[email protected]>
Newsgroups gmane.comp.gdb.general
Message-ID <[email protected]>
Hi,
Just an help request for trying to build a correct executable of  
gdb-6.7 for a m68k cpu.
The host machine is OSX (10.4.10 or 10.5).
Here is my script (it works with gdb-6.6)

TARGET=m68k-elf
BINUTILS_VER=2.18.50
GCC_VER=4.2.2
NEWLIB_VER=1.15.0
GDB_VER=6.7
TARGET_DIR=/Users/Shared

...
export target=$TARGET
export prefix=$TARGET_DIR/cross/$TARGET

...


cd $TARGET_DIR/builds/$TARGET
mkdir gdb-$GDB_VER
cd gdb-$GDB_VER
../../../GCC/gdb-$GDB_VER/configure --target=$target --prefix=$prefix
make
make install
make clean

It fails during the make

make[2]: *** [m68k-tdep.o] Error 1
make[1]: *** [all-gdb] Error 2
make: *** [all] Error 2

Has someone an idea of how workaround this?
Cheers,
   Edo.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.