This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH RFA: Only define USE_COLLECT2 in host makefile fragments
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: neroden at twcny dot rr dot com (Nathanael Nerode)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 05 Apr 2004 10:23:34 -0400
- Subject: Re: PATCH RFA: Only define USE_COLLECT2 in host makefile fragments
- References: <20040405023827.GA13090@twcny.rr.com>
neroden@twcny.rr.com (Nathanael Nerode) writes:
> OK, so I'm holding off on my patch because I'm unsure whether the
> issues are actually *build* machines which can't build collect2 (which
> sounds unlikely, but is what Ian described), or *host* machines *for* which
> collect2 cannot be built (due to inability to link against needed libraries
> or whatever). Since I have none of the affected systems, I do not
> know the failure modes.
Thanks for checking this in. Sorry for the confusion. When I said
that "there are a few non-Unix systems which are as yet unable to
build collect2" that was not a reference to the build system. I
simply meant that it was not possible to compile and link collect2 on
those systems, which means that when they those systems are the host
system, we should not build collect2. It looks like you did figure
that out, although I think host_can_use_collect2 is a slightly
misleading name; the host could *use* collect2, it's just that the
host can not compile and link collect2.
Doing the error check in configure is certainly a good change.
Ian