Static linking gtk in a program...
- From: Antonio Campos <acampos ceronet com>
- To: "gtk-list redhat com" <gtk-list redhat com>
- Subject: Static linking gtk in a program...
- Date: Sun, 12 Dec 1999 17:38:57 +0100
This is not strictly a Gtk question, but here it goes in the hope of a
response:
What parameters do I have to pass gcc to static link gtk (and gdk, and
glib) libraries into a program?
But I don't want to statically link X related libs, only the gtk...
libs.
When I use gcc myprogram.c -o myprogram `gtk-config --libs --cflags`
-static,
I think X libs are being included inside the binary...
Any clues...? Thanks in advance.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]