🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51355

Re: collect2 vs. ld

#51355
From: Richard Stallman
Date: Tue, 25 May 1993 15:41
18 lines
1553 bytes
    Recently I installed gcc 2.4.0. All worked fine until I tried to use
    gcc to compile xxgdb and I then found that the system ld was not being
    invoked. I finally tracked the problem down to collect2 being renamed
    to ld.

That is how collect2 is supposed to be installed--it is supposed to 
have the name `ld'.  If not for that, it would never be invoked.

Deinstalling collect2 as you have done will make C programs work, but
other languages won't work.  For a real fix, it's necessary to find
out why collect2 fails when it is installed.

I can't begin to determine this because you've said nothing about the
precise symptoms you observed when collect2 is installed.  It is 
absolutely essential to give that information in every bug report.

Please read the Bugs chapter in the GCC manual to see what a bug
report needs to have in order to enable the maintainers to fix a bug.
Technical Details
Message-ID: <9305251535.AA21163@mole.gnu.ai.mit.edu>
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!math.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rms
References: <1993May25.075417.5573@ericsson.se>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,d131707da32e5b2a
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-05-25 10:41:20 PST
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!math.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rms
From: rms@gnu.ai.mit.edu (Richard Stallman)
Newsgroups: gnu.gcc.help
Subject: Re: collect2 vs. ld
Date: 25 May 1993 11:41:50 -0400
Organization: GNUs Not Usenet
Lines: 18
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9305251535.AA21163@mole.gnu.ai.mit.edu>
References: <1993May25.075417.5573@ericsson.se>