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: Preserving bootstrap with non-GCC compilers


> You just have to write the test in the toplevel configure.in, and place
> it just before the AC_SUBST(stage1_cflags).

Thanks!

> The maintainers may think it different, but I won't see anything wrong
> in having a simpler
>
>    if test "$GCC" = yes; then
>      stage1_cflags="${stage1_cflags} -fkeep-inline-functions"
>    fi
>
> since most versions of GCC (at least 2.7.2 which is the oldest I ever
> used, around 1998 on RH5.2) have the flag.

I'm not an autoconf guru but this test is trivial to write so I'd rather play 
by the most strict rules.

-- 
Eric Botcazou


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