config.guess and Linux/GNU

Bruce Korb bkorb@sco.COM
Sun Jun 11 12:27:00 GMT 2000


No, wrong, do *not* delete the "elf_i?86" entry.
It turns out that the rest of the config.guess script depends upon
"cc" doing the "right thing", which aint necessarily so.
If you want to change the output for that entry, then
go have a battle over whether triplets or quadruplets is
correct, but leave this much of the output alone.  Too many
people have too many problems because config.guess chokes and dies
when "cc" does not do what it (config.guess) wants.
Do *not* delete the "elf_i?86" entry.

Franz Sirl wrote:
> 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)


More information about the Gcc mailing list