[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Specifing library version.



On Wed, Apr 11, 2001 at 11:01:24PM +0100, Julian Gilbey wrote:
> (Just make sure that you use an option like
> -Wl,-soname,libfoo.so.2,-lc to gcc when you create the shared library.)

When linking with gcc, you do not add in -lc. GCC will do that all by
itself, internally (which is the whole reason for using gcc).

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: