re PR target/14548 (building Ada library incorrectly requires collect2 on mingw)
commitc38f02dfd6e1dc52ed397b52c132bacf629be068
authorIan Lance Taylor <ian@wasabisystems.com>
Mon, 5 Apr 2004 03:58:46 +0000 (5 03:58 +0000)
committerNathanael Nerode <neroden@gcc.gnu.org>
Mon, 5 Apr 2004 03:58:46 +0000 (5 03:58 +0000)
tree7f0a960205235546c7759d86602d1d8705291234
parent9d3172516df99d45ccd381ee644d1b0618a2ea15
re PR target/14548 (building Ada library incorrectly requires collect2 on mingw)

PR target/14548
* config.host: Set the shell variable host_can_use_collect2.
Set it to yes by default, and to no for alpha*-dec-*vms*,
i[34567]86-*-mingw32*, and powerpc-*-beos*.
* configure.ac: Set and substitute the shell variable collect2.
Give an error if use_collect2 is yes and host_can_use_collect2 is
no.
* Makefile.in (COLLECT2): Rename from USE_COLLECT2.  Change all
uses.  Initialize to @collect2@.
(STAGESTUFF): Remove $(USE_COLLECT2).
* config/alpha/x-vms (USE_COLLECT2): Don't set.
* config/i386/t-mingw32 (USE_COLLECT2): Likewise.
* config/rs6000/t-beos (USE_COLLECT2): Likewise.
* config/pa/t-pa64: Remove commented out USE_COLLECT2.
* configure: Regenerate.

Co-Authored-By: Nathanael Nerode <neroden@gcc.gnu.org>
From-SVN: r80422
gcc/ChangeLog
gcc/Makefile.in
gcc/config.host
gcc/config/alpha/x-vms
gcc/config/i386/t-mingw32
gcc/config/pa/t-pa64
gcc/config/rs6000/t-beos
gcc/configure
gcc/configure.ac