🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52576

2 collect2 or not 2 collect2 ? (on a sparc)

#52576
From: Larry Williamson
Date: Tue, 23 Jun 1992 21:48
21 lines
1233 bytes
The operating system is SunOS 4.1.2, on a sparc2. 

While building gcc 2.2.2, it seems I have a choice of using (or not
using) collect2.

I have built both gcc and g++. The default configuration built and
installed collect2.

Now we can use shared libraries (very nice!). I want to keep using the
shared libraries. X based executables are huge! without shared libs.

Is collect2 really necessary? Or is it preferred?

We used gnu-ld with gcc-1.40. The main reason I want to continue to
use gnu's ld instead of collect2 is, I miss the details gnu-ld gives
about the source of unresolved references.

Of course, maybe I can use collect2 with gnu's ld?

-Larry
Technical Details
Message-ID: <LARRY.92Jun23164845@rana.mitra.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!utgpu!torn!watserv1!watmath!haydn!larry

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3023643af9d8e221,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-06-23 09:50:48 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!utgpu!torn!watserv1!watmath!haydn!larry
From: larry@rana.mitra.com (Larry Williamson)
Subject: 2 collect2 or not 2 collect2 ? (on a sparc)
Message-ID: <LARRY.92Jun23164845@rana.mitra.com>
Sender: larry@mitra.com (Larry Williamson)
Organization: Mitra Imaging Inc.
Date: Tue, 23 Jun 1992 21:48:45 GMT
Lines: 23