RE: XForms: XFORMS: Again on statical compilation

Christian Pomar (ipycp@arrakis.es)
Thu, 25 Jun 1998 10:57:39 +0200

# To subscribers of the xforms list from "Christian Pomar" <ipycp@arrakis.es> :

> Speaking about a statical compilation, yesterday I downloaded the
>a.out xforms from braggs. At home I tried to compile again a little stupid
>program with a single button.

I don't think you want an 'a.out' version ... you have an ELF system.

You need to link against the '.a' library from the ELF distribution. Linking
statically is so simple as:

gcc -o TheApp $(ALLYOUROBJECTS) /usr/lib/libforms.a -lm

As spl stated before, surely you will also have to add support for the Xpm
library.

Good Luck
Christian

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/