🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41893

Simple question on dynamic linking

#41893
From: Slartibartfast
Date: Sun, 11 Feb 1996 00:00
16 lines
994 bytes
I.E. how does one do it?

I've read over the man pages for gcc, ld, as, and anything else that
looks reasonably close, grepped through directories of .h files looking
for references, looked high and low for a FAQ on gcc, and am still
at a loss.

All that I wish to do is dynamically link and access functions within
certain files, with the hopes that if one of those functions crashes,
the overall program will survive.  I also would like to do this using
C, not C++, if possible.  I've followed up leads on dlopen(), the -b
option on gcc, etc., but have not found anything very helpful.

Any advice?

--Aaron
Technical Details
Message-ID: <4flmj7$125c@moran.Mines.EDU>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,f707982ea42eb0c,start
X-Google-Attributes: gid11318c,public
From: agage@moran.Mines.EDU (Slartibartfast)
Subject: Simple question on dynamic linking
Date: 1996/02/11
Message-ID: <4flmj7$125c@moran.Mines.EDU>
X-Deja-AN: 138981401
organization: Colorado School of Mines
newsgroups: gnu.gcc.help