[ROOT] ROOT + GCC 3.2 seems okay.

From: Brett Viren (bv@bnl.gov)
Date: Sun Aug 18 2002 - 19:52:40 MEST


Hi,

FYI, ROOT seems to compile okay with the new GCC 3.2.  This is pretty
much to be expected because 3.2 is almost essentially 3.1.1 w/ a new
ABI.


For Debian users: I do see this failure when linking g2root:

g77-3.2 -g  -o main/src/g2root.o -c main/src/g2root.f
g++-3.2 -g  -o bin/g2root main/src/g2root.o \
            /usr/local/cern/pro/lib/libpacklib.a /usr/local/cern/pro/lib/libkernlib.a -lg2c -lnsl -lm -ldl -L/usr/lib -lpthread -rdynamic
/usr/lib/gcc-lib/i386-linux/3.2/../../../crt1.o: In function `_start':
/usr/lib/gcc-lib/i386-linux/3.2/../../../crt1.o(.text+0x18): undefined
reference to `main'
collect2: ld returned 1 exit status
make: *** [bin/g2root] Error 1


but, I think this is due to broken g77-3.2 Debian packages.  libg2c
seems to be lacking main().

The root exec and all libraries seem to compile and run okay.

-Brett.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:04 MET