Re: -G option when using egcs 1.1.1, Solaris 2.5.1, and Root 2.20/06

From: Jonathan Hays (Jonathan.Hays@cern.ch)
Date: Thu Jan 14 1999 - 13:28:52 MET


On Thu, 14 Jan 1999, Rene Brun wrote:

> 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.



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:28 MET