Re: How to static link a program?


James Frye <frye cs unr edu> writes:

> OK, this is probably a dumb question, but I can't find the answer.
> How can I statically link a Gtk program?  That is, I've written a
> program that uses Gtk graphics (and the GtkGL extension widget to
> allow OpenGl).  It works fine on my personal Linux boxes, where I
> have control and can install the shared libs.  Now I want to run it
> on our Linux cluster (and other people may want to run it on their
> machines).  I have no root access there, and very little say in what
> gets installed.
> So how can I statically link my program (or at least the GtkGl
> library part of it) so that the executable will run on any system?
> There doesn't seem to be a make or configure option to even make
> static libs...

You might want to have a look at


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]