Re: XForms: adding gl.o to the shared library

Dr. T.C. Zhao (
Sun, 21 Sep 1997 18:10:55 -0500

To subscribers of the xforms list from "Dr. T.C. Zhao" <> :

>I compile the gl.c file and I want to add it to the forms shared library
>as it is suggested, but I didn't manage to do it.

>gcc -shared -Wl,-soname, -o gl.o

Take a look at mkconfig.h where the command line used to
generate the original is listed and in your
particular case, I think the following should do the trick:

ld -shared -soname -o libforms.a gl.o
To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: