diff options
author | Ian Lance Taylor <ian@wasabisystems.com> | 2004-04-05 03:58:46 +0000 |
---|---|---|
committer | Nathanael Nerode <neroden@gcc.gnu.org> | 2004-04-05 03:58:46 +0000 |
commit | c38f02dfd6e1dc52ed397b52c132bacf629be068 (patch) | |
tree | 7f0a960205235546c7759d86602d1d8705291234 /gcc/config | |
parent | 9d3172516df99d45ccd381ee644d1b0618a2ea15 (diff) | |
download | gcc-c38f02dfd6e1dc52ed397b52c132bacf629be068.zip gcc-c38f02dfd6e1dc52ed397b52c132bacf629be068.tar.gz gcc-c38f02dfd6e1dc52ed397b52c132bacf629be068.tar.bz2 |
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
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/alpha/x-vms | 3 | ||||
-rw-r--r-- | gcc/config/i386/t-mingw32 | 5 | ||||
-rw-r--r-- | gcc/config/pa/t-pa64 | 3 | ||||
-rw-r--r-- | gcc/config/rs6000/t-beos | 3 |
4 files changed, 0 insertions, 14 deletions
diff --git a/gcc/config/alpha/x-vms b/gcc/config/alpha/x-vms index c98f03d..a0ee214 100644 --- a/gcc/config/alpha/x-vms +++ b/gcc/config/alpha/x-vms @@ -19,6 +19,3 @@ decc.exe : vms-cc.o # These extra parts can only be compiled on a VMS host and are only needed # on a VMS target. The rules are in t-vms. VMS_EXTRA_PARTS=vcrt0.o pcrt0.o - -# Doesn't work on VMS -USE_COLLECT2= diff --git a/gcc/config/i386/t-mingw32 b/gcc/config/i386/t-mingw32 index 28096f8..f67fa1e 100644 --- a/gcc/config/i386/t-mingw32 +++ b/gcc/config/i386/t-mingw32 @@ -1,7 +1,2 @@ -# -# collect2 doesn't work for i386-mingw32* yet. -# -USE_COLLECT2= - # We hide calls to w32api needed for w32 thread support here: LIB2FUNCS_EXTRA = $(srcdir)/config/i386/gthr-win32.c diff --git a/gcc/config/pa/t-pa64 b/gcc/config/pa/t-pa64 index d1b2b26..e804060 100644 --- a/gcc/config/pa/t-pa64 +++ b/gcc/config/pa/t-pa64 @@ -5,9 +5,6 @@ LIB2FUNCS_EXTRA=quadlib.c # We'll need this once .init sections are enabled on PA64. #EXTRA_PARTS = crtbegin.o crtend.o -# For the time being, we are using collect. -#USE_COLLECT2 = - quadlib.c: $(srcdir)/config/pa/quadlib.c rm -f quadlib.c cp $(srcdir)/config/pa/quadlib.c . diff --git a/gcc/config/rs6000/t-beos b/gcc/config/rs6000/t-beos index badffef..dc3b89d 100644 --- a/gcc/config/rs6000/t-beos +++ b/gcc/config/rs6000/t-beos @@ -28,6 +28,3 @@ EXTRA_PARTS = milli.exp milli.exp: $(srcdir)/config/rs6000/milli.exp rm -f milli.exp cp $(srcdir)/config/rs6000/milli.exp ./milli.exp - -# Don't use collect. -USE_COLLECT2 = |