[XForms] Statically linked application

Gerald Emig gme at epr80.de
Fri Oct 6 12:52:41 EDT 2006


Hello Jens,

your "solution" is just what I need, thank you very much.
Why ? I want to give away software for free, and say to the users
that they must have xforms installed. Many of them then complain...

Gerald


On Fri, 6 Oct 2006 16:29:09 +0200
Jens Thoms Toerring <jt at toerring.de> wrote:
> 
> If you just want to link against the static version of the XForms
> library but want to use the shared versions of all the other
> libraries then just explicitely link against teh staic library
> libforms.a, e.g.
> 
> gcc -o xformtest xformtest.c /usr/local/lib/libforms.a \
>     -L/usr/X11R6/lib -lX11 -lm
> 



More information about the Xforms mailing list