Re: [gtk-list] Re: static link w/gtk



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]