🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #647

How is collect/collect2 used?

#647
From: moore
Date: Tue, 25 Jun 1991 13:49
15 lines
1038 bytes
I've just (finally) succeeded in building g++ and collect. Can anyone tell me
what for or how the programs collect and collect2 are used? I'm not using COFF-
encapsulation so, according to the documentation, I have to use collect in
place of the UNIX ld. So do I simply link collect to /usr/bin/ld, and expect
to use g++?

One other question: I could only build collect by using COFF, and not
EXTENDED_COFF in the definition for CFLAGS in  the Makefile. Is there a 
difference?

I'm running ISC SVR3.2.

Thanks for any advice that you may have.

- Paul
Technical Details
Message-ID: <1991Jun25.135449.27569@hollie.rdg.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!pa.dec.com!hollie.rdg.dec.com!forty2.enet.dec.com!moore

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!pa.dec.com!hollie.rdg.dec.com!forty2.enet.dec.com!moore
From: moore@forty2.enet.dec.com
Newsgroups: gnu.g++.help,comp.unix.sysv386
Subject: How is collect/collect2 used?
Message-ID: <1991Jun25.135449.27569@hollie.rdg.dec.com>
Date: 25 Jun 91 13:49:45 GMT
Sender: news@hollie.rdg.dec.com (Mr News)
Organization: Digital Equipment Corporation
Lines: 15