This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
--target=i386-*-* breaks gas
- To: binutils at sources dot redhat dot com
- Subject: --target=i386-*-* breaks gas
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 17 Jan 2001 05:05:56 -0200
- Organization: GCC Team, Red Hat
The problem is that the pattern that would set gas' default
architecture would not match i386, only i486 and above. It turns out
that on FreeBSD and Solaris, config.guess doesn't guess the CPU type,
so we lose. This patch fixes it. Ok to install?
Index: gas/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* configure.in (cpu_type, arch): Match i386 too.
* configure: Rebuilt.
Index: gas/configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.54
diff -u -p -r1.54 configure.in
--- gas/configure.in 2001/01/06 12:36:03 1.54
+++ gas/configure.in 2001/01/17 07:03:38
@@ -122,7 +122,7 @@ changequote([,])dnl
thumb*) cpu_type=arm endian=little ;;
hppa*) cpu_type=hppa ;;
changequote(,)dnl
- i[456]86) cpu_type=i386 arch=i386;;
+ i[3456]86) cpu_type=i386 arch=i386;;
x86_64) cpu_type=i386 arch=x86_64;;
ia64) cpu_type=ia64 ;;
m6811|m6812|m68hc12) cpu_type=m68hc11 ;;
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me