GCC 3.4.0 fails to boot with a non-GCC C compiler

Joe Buck Joe.Buck@synopsys.COM
Wed Apr 7 20:19:00 GMT 2004


On Wed, Apr 07, 2004 at 01:00:52PM -0700, Richard Henderson wrote:
> On Wed, Apr 07, 2004 at 12:43:30PM -0700, Joe Buck wrote:
> > configure correctly detects that the compiler does not support "inline".
> > And, in fact, the generated auto-host.h has
> > 
> > #define inline
> 
> You're looking at the wrong configure output.  There's another
> configure and a config.h in the intl subdirectory.  And the
> config.h there *is* supposed to be included.

Curiouser and curiouser.  inline is tested for three times:

% grep 'for inline' output-of-bootstrap-lean
checking for inline... no
checking for inline... inline
checking for inline... no

The config.h in the intl subdirectory says
/* #undef inline */

but gcc/auto-host.h says
#define inline

config.log in intl has only

...
configure:1503: cc -c -g  conftest.c 1>&5
configure:1524: checking for inline
configure:1538: cc -c -g  conftest.c 1>&5
...

so it is using cc, not gcc by mistake.



More information about the Gcc mailing list