Article View: aus.computers.linux
Article #57908Re: shared libraries
From: Rabelais editors
Date: Wed, 14 Aug 1996 00:00
Date: Wed, 14 Aug 1996 00:00
20 lines
1269 bytes
1269 bytes
Colin Irwin (cirwin@extro.ucc.su.oz.au) wrote: : I'm having trouble compiling programs which use shared libraries under : Xwindows. I've read all the man pages available and as far as I can work : out, is that if a shared library is available and the -l option is used : during the compiling process the shared library is used. : However for my situations this is not the case, and I end up with : binaries that are very large (ie. > 1M). This is purely because a : statice binary is being created. This is not want I want. : As I have almost all the required X libraries I'd much rather have : dynamically linked binaries. : Any help would be appreciated. make sure -g is not included in CFLAGS or LDDFLAGS etc. It's my understanding that building a binary for debugging causes it to be linked statically. JP
Technical Details
Message-ID:
<4uriu5$ill@lugb.latrobe.edu.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<320D2DFF.1C106C75@extro.ucc.su.oz.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,beda28fcb25d019b X-Google-Attributes: gid102983,public From: srcrab@luxor.latrobe.edu.au (Rabelais editors) Subject: Re: shared libraries Date: 1996/08/14 Message-ID: <4uriu5$ill@lugb.latrobe.edu.au> X-Deja-AN: 174090515 distribution: inet references: <320D2DFF.1C106C75@extro.ucc.su.oz.au> organization: La Trobe University newsgroups: aus.computers.linux