This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: config.guess and Linux/GNU
At 00:37 08.06.00, Franz Sirl wrote:
>Not only it misses the -gnu, I think it also breaks support for x86 libc5
>platforms IMHO. I think it should be fixed. I wonder why this patch was
>necessary anyway, it looks superflous to me. Hmm, and for uniformity,
>ia64-linux should be fixed too.
I just verified that, libc5 on Linux is now detected as
i586-pc-linux
instead of the correct
i586-pc-linux-gnulibc1
I think this might break libstdc++ binary compatibility for libc5...
I suggest the appended patch.
Franz.
* config.guess: Detect Linux on ia64 as -linux-gnu.
Revert this patch:
* config.guess: Handle an ld emulation of elf_i?86. From Bruce
Korb <bkorb@sco.com>.
Index: config.guess
===================================================================
RCS file: /cvs/gcc/egcs/config.guess,v
retrieving revision 1.37
diff -u -p -r1.37 config.guess
--- config.guess 2000/06/05 23:23:43 1.37
+++ config.guess 2000/06/08 10:40:14
@@ -701,15 +701,11 @@ EOF
p'`
case "$ld_supported_emulations" in
*ia64)
- echo "${UNAME_MACHINE}-unknown-linux"
+ echo "${UNAME_MACHINE}-unknown-linux-gnu"
exit 0
;;
i?86linux)
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
- exit 0
- ;;
- elf_i?86)
- echo "${UNAME_MACHINE}-pc-linux"
exit 0
;;
i?86coff)
config-guess.patch