This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: configure doesn't recognize Linux
- To: Peter Simons <simons at cys dot de>
- Subject: Re: configure doesn't recognize Linux
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Sat, 27 Feb 1999 13:43:39 -0700
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199902272029.VAA19164@peti.cys.de>you write:
> >>>>> Jeffrey A Law writes:
>
> > Can you run sh -x <srcdir>/config.guess and send us the output?
>
> Here we go:
[ ... ]
Thanks. Your "cc" is broken in some manner
[ ... ]
> + grep 'supported emulations:'
> + test 0 '!=' 0
> + VENDOR=pc
> + cat
> + cc dummy.c -o dummy
> + rm -f dummy.c dummy
> + cat
> + cc dummy.c -o dummy
> + rm -f dummy.c dummy
> + test -d /usr/apollo
> + '[' -x /usr/convex/getsysinfo ']'
> + exit 1
The "cc dummy.c -o dummy" failed. Here's what that code should have done:
+ grep supported emulations:
+ test 0 != 0
+ VENDOR=pc
+ cat
+ cc dummy.c -o dummy
+ ./dummy i686
i686-pc-linux-gnu
+ rm dummy.c dummy
+ exit 0
jeff