tweaks for autoconf 2.50
Alexandre Oliva
aoliva@redhat.com
Thu May 24 00:39:00 GMT 2001
On May 24, 2001, "Zack Weinberg" <zackw@Stanford.EDU> wrote:
> On Wed, May 23, 2001 at 11:40:29PM -0700, Geoff Keating wrote:
>>
>> "Zack Weinberg" <zackw@stanford.edu> writes:
>>
>> > AC_PROG_CC from 2.13 works just fine when
>> > cross-compiling, we know this because the gcc directory has been using
>> > it all along.
>>
>> I think you'll find that AC_PROG_CC from 2.13 doesn't work, because it
>> uses AC_PROG_CC_WORKS, which requires that the compiler be able to
>> link, and when you have no libc available because you had no compiler
>> to build it then obviously you can't link anything.
> So how come it works just fine for the gcc directory, then?
Huh? AC_PROG_CC tests the bootstrap compiler in the GCC directory.
The problem occurs when testing the compiler for the target.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-patches
mailing list