Re: egcs 1.1.1, Solaris 2.5.1, and Root 2.20/06

Rene Brun (Rene.Brun@cern.ch)
Thu, 14 Jan 1999 13:02:19 +0100


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

O'NEEL Bruce wrote:
>
> Hi,
> Using the makefile below, egcs 1.1.1 builds Root on Solaris 2.5.1
> with no problems.
>
> cheers
>
> bruce
>
> ******************************
> # Makefile of ROOT for Solaris with egcs
>
> PLATFORM = solaris
>
> CXX = /home/isdc/oneel/local/bin/g++
> CC = /home/isdc/oneel/local/bin/gcc
> CXXFLAGS = -fPIC -I/usr/openwin/include -fno-rtti -fno-exceptions
> CFLAGS = -fPIC -I/usr/openwin/include
> CINTCXXFLAGS = -fPIC -fno-rtti -fno-exceptions \
> -DG__REGEXP1 -DG__UNIX -DG__OSFDLL \
> -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO
> CINTCFLAGS = -fPIC -DG__REGEXP1 -DG__UNIX -DG__OSFDLL \
> -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO
> OPT = -O -g
> NOOPT =
> LD = $(CXX)
> LDFLAGS = $(OPT)
> SOFLAGS = -G
> SOEXT = so
> SYSLIBS = -lm -ldl
> SYSXLIBS = -L/usr/openwin/lib -lX11 -lm -lgen -ldl -lsocket
> XLIBS = $(ROOTSYS)/lib/libXpm.a -L/usr/openwin/lib -lX11
> CILIBS = -lm -ltermcap -ldl -L/usr/ccs/lib -lgen
>
> ##### MACROS and TARGETS #####
>
> include Make-macros
>
> ##### DEPENDENCIES #####
>
> include Make-depend