Re: [gtk-list] Re: static link w/gtk
- From: Jeff Garzik <jgarzik pobox com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: static link w/gtk
- Date: Tue, 24 Nov 1998 16:56:57 -0500 (EST)
Matt Rosencrantz wrote:
> but, how do you set the compiler flags to link some libs statically and
> some libs dynamically?
For the libs you specific want static, or specifically dynamic,
reference the full lib pathname.
gcc -o foo foo.o /usr/lib/libglib.a /usr/lib/libgtk+.a
Jeff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]