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: 64-bit configure hell


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


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