64-bit configure hell

Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Thu Nov 25 20:45:00 GMT 2004


Ulrich Weigand <Ulrich.Weigand@de.ibm.com> writes:

> I guess one way to fix this problem would be to only build those
> multilibs where the required system dependencies are in fact installed;
> this could be verified by attempting to build a 'hello world' using
> the multilib flags.  If this already fails, there's no point in
> attempting to build the library.
> 
> Something like that is actually attempted in config-ml.in, at least
> for some platforms.  However this doesn't work, as those checks are
> not applied for libgcc (and thus we fail already there).  I think I
> pointed this out already some time in the past, and was told that
> this is difficult to fix with the current make process ...

Indeed: libgcc would have to be moved to the toplevel, since you need the
stage 1 compiler to perform this test.  The bootstrap compiler may not be
gcc (so require multilib flags different from gcc's) or not be
multilib-aware.

	Rainer



More information about the Gcc mailing list