Hello,
Finally, I was able to recompile root 2.22/10 under Solaris 2.7
with gcc 2.8.1 including all routines in root/test directory.
Beside corrections to the source code reported earlier
(http://root.cern.ch/root/roottalk/roottalk99/1988.html)
the Makefile.solarisegs had to be modified. Below is modified version.
I was not able compile root with -O option because of internal
compiler errors in a couple of root routines.
I made similar changes to Makefile in root/test directory.
Also, I replaced sunmath library in root-config in auxlibs with
nsl library.
I attempted to recompile h2root but this was unsuccesful because
it requires to recompile appropriate CERNLIB routines.
Michal Lijowski
# Makefile to build ROOT for SOLARIS 2.7 with gcc 2.8.1
PLATFORM = solaris
OPT = -g
NOOPT =
# Compiler:
CXX = g++
CC = gcc
CXXFLAGS = -fPIC -I/usr/openwin/include -fno-rtti
CFLAGS = -fPIC -I/usr/openwin/include
CINTCXXFLAGS = -fPIC -fno-rtti \
-DG__REGEXP1 -DG__UNIX -DG__SHAREDLIB \
-DG__OSFDLL -DG__ROOT -DG__REDIRECTIO
CINTCFLAGS = -fPIC -DG__REGEXP1 -DG__UNIX -DG__SHAREDLIB \
-DG__OSFDLL -DG__ROOT -DG__REDIRECTIO
F77 = g77
F77FLAGS =
# Linker:
LD = g++
LDFLAGS = $(OPT)
SOFLAGS = -G
SOEXT = so
# System libraries:
SYSLIBS = -lm -ldl -lgen -ldl -lsocket -lnsl
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
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:39 MET