Thanks, I was looking at the wrong log. The right log shows
configure:3374: /big/objdir/./gcc/xgcc -B/big/objdir/./gcc/
-B/usr/local/m68k-elf/bin/ -B/usr/local/m68k-elf/lib/ -isystem
/usr/local/m68k-elf/include -isystem /usr/local/m68k-elf/sys-include
-o conftest -g -O2 conftest.c >&5
/big/objdir/./gcc/as: 87: exec: -mcpu=68020: not found
So two questions
1) Am I missing something about the 68020? Did I need to build something
else first?
2) Actually, I don't want the 68020. I want the straight 68000. Is there
an option for that?
Jonathan Wakely wrote, On 05/19/2014 10:43 AM:
On 19 May 2014 15:39, Ken Mandelberg wrote:
I am trying to build the m68k-elf cross compiler on Ubuntu 14-04 (64 bit)
I do
../gcc-4.8.2/configure --target=m68k-elf --enable-languages=c
followed by a make, which ends up with
checking for m68k-elf-strip... m68k-elf-strip
checking whether ln -s works... yes
checking for m68k-elf-gcc... /big/objdir/./gcc/xgcc -B/big/objdir/./gcc/
-B/usr/local/m68k-elf/bin/ -B/usr/local/m68k-elf/lib/ -isystem
/usr/local/m68k-elf/include -isystem /usr/local/m68k-elf/sys-include
checking for suffix of object files... configure: error: in
`/big/objdir/m68k-elf/libgcc':
configure: error: cannot compute suffix
I've looked in config.log and can't really identify the problem. The log
follows. Any ideas?
Wrong log, you need to look at the one in the libgcc directory.
https://gcc.gnu.org/wiki/FAQ#configure_suffix