Subject: Building GNU binutils-2.6
To: None <current-users@NetBSD.ORG>
From: Matt Jackson <matt@jackson.apana.org.au>
List: current-users
Date: 12/02/1995 07:18:12
Hi,
I am currently using an Amiga 3000 with NetBSD1.0 and the standard
gcc 2.4.5.
I have just loaded gcc2.7.1 and binutils-2.6.
I can build gcc2.7.1, configuring as an m68k-cbm-netbsd1.0 machine and using
this I can configure and build the binutils-2.6 distribution.
Then the problems begin...
when I use the as.new I get the following:
% gcc -v -o hello hello.c
Reading specs from /usr/local/lib/gcc-lib/m68k-cbm-netbsd1.0/2.7.1/specs
gcc version 2.7.1
/usr/local/lib/gcc-lib/m68k-cbm-netbsd1.0/2.7.1/cpp -lang-c -v -undef -D__GNUC__=2
-D__GNUC_MINOR__=7 -Dunix -Dm68k -Dmc68000 -Dmc68020 -D__NetBSD__ -D__unix__
-D__m68k__ -D__mc68000__ -D__mc68020__ -D__NetBSD__ -D__unix -D__m68k -D__mc68000
-D__mc68020 -Asystem(unix) -Asystem(NetBSD) -Acpu(m68k) -Amachine(m68k)
-D__HAVE_68881__ -D__HAVE_FPU__ hello.c /var/tmp/cc021170.i
GNU CPP version 2.7.1 (68k, MIT syntax)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/local/m68k-cbm-netbsd1.0/include
/usr/local/lib/gcc-lib/m68k-cbm-netbsd1.0/2.7.1/include
/usr/include
End of search list.
/usr/local/lib/gcc-lib/m68k-cbm-netbsd1.0/2.7.1/cc1 /var/tmp/cc021170.i -quiet -dumpbase
hello.c -version -o /var/tmp/cc021170.s
GNU C version 2.7.1 (68k, MIT syntax) compiled by GNU C version 2.7.1.
/usr/local/m68k-cbm-netbsd1.0/bin/as -o /var/tmp/cc0211701.o /var/tmp/cc021170.s
/var/tmp/cc0211701.o: Invalid bfd target
Assembler messages:
FATAL: Can't create /var/tmp/cc0211701.o: Invalid bfd target
The questions are:
Can I fix this ?? and
Has anyone else managed to get this to work ??
Thanks,
Matt.