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

Dr. T.C. Zhao (zhao@bragg.phys.uwm.edu)
Sun, 21 Sep 1997 18:10:55 -0500

To subscribers of the xforms list from "Dr. T.C. Zhao" <zhao@bragg.phys.uwm.edu> :

>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,libforms.so.0.87 -o libforms.so.0.87 gl.o

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

ld -shared -soname libforms.so.0.87 -o libforms.so.0.87 libforms.a gl.o
_________________________________________________
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/