🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53450

getting gcc to link dynamically on a sun 4/ os 4.1.2

#53450
From: John Eric Fosler
Date: Fri, 31 Jan 1992 19:28
14 lines
1194 bytes
Does anyone have any advice on getting gcc to link to sun's libraries
dynamically?  We can compile objects, and then link them dynamically
using ld, but gcc-ld doesn't seem to have this facility.  When running
with the -v option,  gcc specifically calls gcc-ld with -Bstatic.  

The man page for gcc include a -static switch, which makes linking
static.  I assume this means that linking is dynamic by default.

Eric Fosler
--
Eric Fosler
CETS Sr. Technical Consultant / Systems Programmer
School of Engineering and Applied Science
University of Pennsylvania
Technical Details
Message-ID: <64497@netnews.upenn.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pitt.edu!dsinc!netnews.upenn.edu!eniac.seas.upenn.edu!fosler

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,6b91c25105d5ec42,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-01-31 12:17:56 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pitt.edu!dsinc!netnews.upenn.edu!eniac.seas.upenn.edu!fosler
From: fosler@eniac.seas.upenn.edu (John Eric Fosler)
Newsgroups: gnu.gcc.help
Subject: getting gcc to link dynamically on a sun 4/ os 4.1.2
Message-ID: <64497@netnews.upenn.edu>
Date: 31 Jan 92 19:28:10 GMT
Sender: news@netnews.upenn.edu
Organization: University of Pennsylvania
Lines: 14
Nntp-Posting-Host: eniac.seas.upenn.edu