I've been wondering for some time why it is that recent software packages
are unable to identify the system type on my otherwise unexceptional
i586-pc-linux-gnu machine. I just poked into config.guess and found the
problem.
config.guess determines system type by examining the 'supported
emulations' line of the output of ld --help. On a system using gcc-3.0.4
and binutils-2.11.2, this string is as follows:
ld: supported emulations: elf_i386 i386linux
However, config.guess currently appears to lack any option to match this.
The attached patch fixes this problem by adding a single line to recognize
elf_i?86.
--
********* Fight Back! It may not be just YOUR life at risk. *********
phil stracchino :: [EMAIL PROTECTED] :: [EMAIL PROTECTED]
unix ronin :::: renaissance man :::: mystic zen biker geek
2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold)
Linux Now! ...because friends don't let friends use Microsoft.
--- config.guess.orig Sat Apr 13 12:15:16 2002
+++ config.guess Sat Apr 13 12:15:53 2002
@@ -579,6 +579,7 @@
s/ .*//
p'`
case "$ld_supported_emulations" in
+ elf_i?86) echo "${UNAME_MACHINE}-pc-linux-gnu" ; exit 0 ;;
i?86linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 ;;
i?86coff) echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 ;;
sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;