* Christophe Le Cannellier (christophe.le-cannellier@wanadoo.fr) [20000401 21:38]:
I am trying to perform a static link, so that I can send an executable to people who do not have some libraries (Motif in this very case).
Please tell me the full line with which you call gcc to do the linking.
Maybe you did do something wrong. Normally it should be something like
gcc -static -o foo $(OBJECTS) -lX11 -lXm
Make sure that libXm.a is in a place the linker can find, i.e. either passed
to gcc via -L, in the environment variable LIBRARY_PATH or one of the
default directories /usr/lib or /usr/local/lib.
Philipp
--
Philipp Thomas