🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #46452

GCC static option in Solaris 2.3

#46452
From: Dennis E. Miyoshi
Date: Wed, 16 Nov 1994 05:07
22 lines
1746 bytes
Help.  This is probaly a FAQ, but I haven't seen this question
posted recently.  I have been attempting to compile the gnu fileutils
with gcc 2.6.1, gas, and gnu-ld.  I have attempted to use the -static
switch to avoid using the shared libraries.  However, I find that this
switch does nothing and the linker is still looking for the shared
libraries.  In particular, the dlclose and dlopen commands are bombing.
My question is:  Is there a way to get the -static switch to work so
that I don't use the shared libraries?  I thought that there was source
code on the net for the dl functions.  Could someone tell me where I could
find it?

Thanks in advance.

--
-Dennis

===============================================================================
                             Dennis E. Miyoshi, PE
                         Computer Engineer/LAN Manager
                       ARPA Internet:  bioengr@scs.ag.gov
                       ARPA Internet:  lanczar@scs.ag.gov
========================= ( ROBUST == A Broken Robot ) ========================
Technical Details
Message-ID: <3ac42q$fjo@taz.scs.ag.gov>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!uwm.edu!cs.utexas.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!csn!taz.scs.ag.gov!bioengr

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3f6b37710cd165d2,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-11-15 21:07:38 PST
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!uwm.edu!cs.utexas.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!csn!taz.scs.ag.gov!bioengr
From: bioengr@taz.scs.ag.gov (Dennis E. Miyoshi)
Newsgroups: gnu.gcc.help
Subject: GCC static option in Solaris 2.3
Date: 16 Nov 1994 05:07:38 GMT
Organization: USDA-Soil Conservation Service
Lines: 22
Message-ID: <3ac42q$fjo@taz.scs.ag.gov>
NNTP-Posting-Host: t-rex.scs.ag.gov
X-Newsreader: TIN [version 1.2 PL2]