This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/14548] building Ada library incorrectly requires collect2 on mingw
- From: "rolf dot ebert dot gcc at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2004 16:32:20 -0000
- Subject: [Bug bootstrap/14548] building Ada library incorrectly requires collect2 on mingw
- References: <20040312085548.14548.rolf.ebert.gcc@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rolf dot ebert dot gcc at gmx dot de 2004-03-12 16:32 -------
(In reply to comment #1)
> I do not think this is a bug as collect2 is not based on the language but
> based on the target.
But for target mingw32 USE_COLLECT2 is unset too late. gnattools depends on
GCC_PARTS which includes collect2. Only later this is unset in
gcc/config/i386/t-mingw3.
Analysis was done by Rainer Orth. He supposes that the target powerpc-*-beos*:
gcc/config/rs6000/t-beos has the same problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14548