]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RALICE/scripts/gcclib
Update comment
[u/mrichter/AliRoot.git] / RALICE / scripts / gcclib
CommitLineData
84bb7c66 1### Shell script to create a ROOT loadable GCC shared lib out of .cxx source code
2###
3### NvE 23-may-2000 UU-SAP Utrecht
4#
5### Name of the produced shared library
6lib=ralice.so
7#
8### The option string for GCC shared lib compilation and linking ***
9### For the GCC ROOT loadable shared lib the strict requirements are ***
10### dropped to avoid many warnings from the rootcint generated code ***
11gccroot="-shared -g0 -ansi -pedantic -Wall -I$ROOTSYS/include -o $lib"
12#
13echo "lib = " $lib
14echo "gccroot = " $gccroot
15#
16### Create the dictionary files
17rootcint -f zzzralicedict.cxx -c RALICEHeaders.h RALICELinkDef.h
18#
19### Compile and create the ROOT loadable shared library
20g++ $gccroot *.cxx
21#
22rm zzzralicedict.*
23rm *.o
24#rm so_locations
25#
26echo ' '
27echo '*** gcclib done. Result in ralice.so'