This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: configure doesn't recognize Linux



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]