Re: compilation failure workaround (RH 5.2 / 2.22.10)

From: Jacek M. Holeczek (holeczek@us.edu.pl)
Date: Sun Aug 08 1999 - 00:21:18 MEST


Hi,
My 5 cents.
Cent 1. Download the egcs-1.1.2.tar.gz and unpack it ( for example ) into
   "/opt/egcs/1.1.2"
Cent 2. Configure it with "/opt/egcs/1.1.2/src/configure -v
   --prefix=/opt/egcs/1.1.2 --enable-shared --enable-threads --enable-cpp
   i386-pc-linux-gnu", then make it with "make CFLAGS='-O2' CXXFLAGS='-O2'
   LIBCFLAGS='-O2' LIBCXXFLAGS='-O2' MAKEINFO="makeinfo --no-split"
   bootstrap-lean", then install it with "make MAKEINFO="makeinfo
   --no-split" install"
Cent 3. Add the "/opt/egcs/1.1.2/bin" in front of your PATH
Cent 4. Download and unpack root Linux.2.2.3.egcs111 and source packages
   and two libraries from the cernlib 99 - libkernlib.a and libpacklib.a
   ( place both in $(ROOTSYS)/lib )
Cent 5. Modify the Makefile.linuxegcs :
	- adding "CERNLIB = $(ROOTSYS)/lib"
	- adding "EGCS = /opt/egcs/pro"
	- modifying "LDFLAGS = $(OPT) -Wl,-rpath,$(EGCS)/lib:$(ROOTSYS)/lib"
   ( This way all executables will automatically know where to look for
   shared libraries. )
   Then run "gmake clean; gmake".
Jacek.



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