> Hi Bruce,
> Your makefile is identical to the makefile for Solarisegcs
> in the distribution tar file, except the 2 following lines
>
> ! SOFLAGS = -shared
> --- 28 ----
> ! SOFLAGS = -G
> ***************
> *** 33 ****
> ! XLIBS = $(ROOTSYS)/lib/libXpm.a -L/usr/openwin/lib -lX11
> -lsunmath
> --- 34 ----
> ! XLIBS = $(ROOTSYS)/lib/libXpm.a -L/usr/openwin/lib -lX11
>
> I have taken your Makefile, but I would be curious to know
> if the difference is important.
>
> Rene Brun
>
Hi,
-G option selects creation of a shared object.
According to the egcs documentation the -G option is provided for
compatability with other compilers on SVR4 systems, it also recommends
using -symbolic or -shared instead.
Jon.