From: Paul Schulz <paul@mars.foursticks.com.au>
To: "H . J . Lu" <hjl@lucon.org>
Cc: gcc@gcc.gnu.org
Subject: Re: Question: dynamic libraries?
Date: Thu, 21 Sep 2000 17:08:00 -0000 [thread overview]
Message-ID: <87snqti9em.fsf@mars.foursticks.com.au> (raw)
In-Reply-To: <20000921152142.A6676@lucon.org>
Sorry if this isn't immediately useful, but a good introduction can be
found in the book:
"Application Programming for Linux"
(can't remember the Author, yellow in hard cover cover)
I use the options to gcc:
CFLAGS = -g -O2 -shared -fPIC -Wl,-soname,$(SONAME)
where SONAME is the shared libary version number.
(Allows the dynamic linker to do it's thing, when multiple
versions of the library are found).
PaulS
"H . J . Lu" <hjl@lucon.org> writes:
> On Thu, Sep 21, 2000 at 02:57:20PM -0700, Alejandro Arredondo wrote:
> > Hello,
> >
> > I don't know if this is the right place to ask for
> > this question, but I would like to know how can I
> > compile a dynamic library in Linux? or where can I get
> > information about dynamic libraries for Linux?
>
> I have a very old paper:
>
> http://ftp.valinux.com/pub/support/hjl/doc/elf.ps.gz
>
> Some contents are out of date, like libc 5 vs glibc 2. But it may be
> still useful to you.
>
>
> H.J.
prev parent reply other threads:[~2000-09-21 17:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-21 14:57 Alejandro Arredondo
2000-09-21 15:21 ` H . J . Lu
2000-09-21 17:08 ` Paul Schulz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87snqti9em.fsf@mars.foursticks.com.au \
--to=paul@mars.foursticks.com.au \
--cc=gcc@gcc.gnu.org \
--cc=hjl@lucon.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).