linking statically
- From: "Erik Poupaert" <erik poupaert chello be>
- To: <gtk-app-devel-list gnome org>
- Subject: linking statically
- Date: Mon, 17 Mar 2003 19:31:26 +0100
I must be number 1200 to ask this question, but I've found no answers in the
archives that would solve the problem.
By linking dynamically, I link against:
-L/usr/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXi -lgdk_pixbuf-2.
0 -lm -lpangox -lpangoxft -lXft -lXrender -lXext -lX11 -lfreetype -lpango -l
atk -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
If I add "-static", gcc fails to find gtk-x11-2.0. I assume gcc is looking
for libgtk-x11-2.0.a.
Is there a way to obtain the .a variants of the libraries in order to link
statically? Thanks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]