From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Schulz To: "H . J . Lu" Cc: gcc@gcc.gnu.org Subject: Re: Question: dynamic libraries? Date: Thu, 21 Sep 2000 17:08:00 -0000 Message-id: <87snqti9em.fsf@mars.foursticks.com.au> References: <20000921215720.4C4782740@sitemail.everyone.net> <20000921152142.A6676@lucon.org> X-SW-Source: 2000-09/msg00512.html 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" 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.