XForms: Linking static version (was: The solution (was Linking static version))

Tano Fotang (M.Tano@Wirtschaft.FH-Wolfenbuettel.DE)
Mon, 29 Sep 1997 14:43:30 -0700

To subscribers of the xforms list from Tano Fotang <M.Tano@Wirtschaft.FH-Wolfenbuettel.DE> :

Emilio Grimaldo (emilio@irdeto.nl) wrote on Fri, 01 Aug 1997 13:34:43
+0200 :
>STAT_ON = -Xlinker -B -Xlinker static
>STAT_OFF= -Xlinker -B -Xlinker dynamic
>LIBS = -lforms -lm -lsocket -lnsl -lX11
>SLIBS = $(STAT_ON) -lforms -lXpm $(STAT_OFF) -lm -lsocket \
>-lnsl -lX11

i have tried that(of course without "-lsocket -lnsl") under linux and
the linker quit with no comment. This worked:
STAT_ON=-static
STAT_OFF=
SLIBS=$(STAT_ON) -lforms -lXpm $(STAT_OFF) -lm

tano fotang (gcc 2.7.0)

-- 
   Genius doesn't work on an assembly line basis.  You can't simply say,
	"Today I will be brilliant."
		-- Kirk, "The Ultimate Computer", stardate 4731.3
_________________________________________________
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/