21-jun-2005 NvE Install scripts for gcc corrected to also include the rdmc stuff
authornick <nick@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 21 Jun 2005 09:49:01 +0000 (09:49 +0000)
committernick <nick@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 21 Jun 2005 09:49:01 +0000 (09:49 +0000)
                in the produced shared libs.

RALICE/icepack/iceconvert/history.txt
RALICE/icepack/iceconvert/scripts/alphacxxlib.sh
RALICE/icepack/iceconvert/scripts/amdgcclib.sh
RALICE/icepack/iceconvert/scripts/gcclib.sh
RALICE/icepack/iceconvert/scripts/macgcclib.sh

index 890de3d602fdbbe6544f37d5b11e4438d2e8518a..0761b6a411815ac58f55afae48bcc23e7fdb62c6 100644 (file)
@@ -9,4 +9,6 @@
 17-jun-2005 NvE Class IceF2k modified to provide a task-based processing environment.
                 For this IceF2k has been derived from the new RALICE class AliJob.
                 The example macro icef2k.cc has been updated accordingly.
+21-jun-2005 NvE Install scripts for gcc corrected to also include the rdmc stuff
+                in the produced shared libs.
  
index 29d1bcb45039b4bff969a79eb309d58ff7e544d3..35011942e43753efd3fb238bb5af223419dc2377 100644 (file)
@@ -24,7 +24,7 @@ rootcint zzziceconvertdict.cxx -c -p -I$ALIROOT/RALICE -I$ALIROOT/RALICE/icepack
 
 ### Compile and create the ROOT loadable shared library
 cxx $alphacomp *.c   
-cxx $alpharoot *.cxx   
+cxx $alpharoot *.cxx *.o   
 
 rm zzziceconvertdict.*
 rm *.o
index 8bda3df55303739dbc23d39df373b3497ec008f6..20e6fcab690990fb972099dce197da26978e5c6b 100644 (file)
@@ -9,7 +9,7 @@ lib=iceconvert.so
 ### The option string for GCC compilation of the .c code ***
 ### For the GCC ROOT loadable shared lib the strict requirements are ***
 ### dropped to avoid many warnings from the rootcint generated code ***
-gcccomp="-c -g0 -Wall -Wno-long-long -I$ROOTSYS/include -I$ALIROOT/RALICE -I$ALIROOT/RALICE/icepack"
+gcccomp="-fPIC -c -g0 -Wall -Wno-long-long -I$ROOTSYS/include -I$ALIROOT/RALICE -I$ALIROOT/RALICE/icepack"
 #
 ### The option string for GCC shared lib compilation and linking ***
 ### For the GCC ROOT loadable shared lib the strict requirements are ***
@@ -28,7 +28,7 @@ rootcint -f zzziceconvertdict.cxx -c -p -I$ALIROOT/RALICE -I$ALIROOT/RALICE/icep
 # 
 ### Compile and create the ROOT loadable shared library
 gcc $gcccomp *.c   
-g++ $gccroot *.cxx   
+g++ $gccroot *.cxx *.o   
 # 
 rm zzziceconvertdict.*
 rm *.o
index c86c6e2c532d3e27e3bacc126956e2cb4d46b780..6afbec39d08c02028bc883d4353f94e52254fe6b 100644 (file)
@@ -28,7 +28,7 @@ rootcint -f zzziceconvertdict.cxx -c -p -I$ALIROOT/RALICE -I$ALIROOT/RALICE/icep
 # 
 ### Compile and create the ROOT loadable shared library
 gcc $gcccomp *.c   
-g++ $gccroot *.cxx   
+g++ $gccroot *.cxx *.o   
 # 
 rm zzziceconvertdict.*
 rm *.o
index 5caae7b5f31448cfbb1a902a82d53a6275ed3c4c..b01dc92e98568722020545e98c93b14b0949dc47 100644 (file)
@@ -33,10 +33,10 @@ rootcint -f zzziceconvertdict.cxx -c -p -I$ALIROOT/RALICE -I$ALIROOT/RALICE/icep
 gcc $gcccomp *.c   
 g++ $gccroot *.cxx   
 #
-# Creating ralice.so library 
+# Creating iceconvert.so library 
 g++ -v -bundle -undefined dynamic_lookup -o $lib1 *.o
 #
-# Creating ralice.dylib library 
+# Creating iceconvert.dylib library 
 g++ -v -dynamiclib -undefined dynamic_lookup -single_module -o $lib2 *.o
 ### On some systems the following extra "-read_only_relocs" flag might be needed
 # g++ -v -dynamiclib -undefined dynamic_lookup -single_module -read_only_relocs -o $lib2 *.o