Slow xfrun, [was: new dev branch stuff]

Danny Milosavljevic danny.milo at gmx.net
Sat Jan 22 12:28:59 CET 2005


Hi,

Am Samstag, den 22.01.2005, 12:04 +0200 schrieb Mihai Bazon:
> On Fri, 21 Jan 2005 19:50:32 -0600, edscott wilson garcia
> <edscott at xfce.org> wrote:
> > Will do, as soon as I get back to the city on monday (as I am on the
> > road now).
> 
> Great! :-)
> 
> > > And, how do you link static?  I tried with LDFLAGS="-static" but it
> > > doesn't work (lots of error at link phase); have to admit, I didn't
> > > dig it too much.
> > 
> > If it is a library located in /some/directory, and called libhdf5.a, you
> > would simply write:
> > 
> > $cc -o program -c program.c -L/some/directory -lhdf5
> 
> Maybe I'm missing something, but isn't this the way you link dynamically?

Hmm, I'm just specifying the .a file like I would specify a .o file to
link, and add -static:
  gcc -o program -c program.c -static /usr/lib/libhdf5.a

Dunno if that always suffices though :)

cheers, 
   Danny

-- 
www.keyserver.net key id A334AEA6

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20050122/953232cf/attachment.pgp>


More information about the Xfce4-dev mailing list