This is the mail archive of the gcc@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]
Other format: [Raw text]

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


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.


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