]> git.uio.no Git - u/mrichter/AliRoot.git/blob - build/makeg2cso.sh
Removing warnings (icc), adding more detailed description
[u/mrichter/AliRoot.git] / build / makeg2cso.sh
1 #!/bin/sh
2 out=$ALICE_ROOT/lib/tgt_$ALICE_TARGET/libg2c_sh
3 cd /tmp
4 rm -rf g2c ; mkdir g2c ; cd g2c
5 ar -x /usr/lib/gcc/darwin/default/libg2c.a
6 export MACOSX_DEPLOYMENT_TARGET=10.2
7 rm -f ${out}.so ${out}.dylib
8 g++ -bundle -flat_namespace -undefined suppress -o ${out}.so `ls *.o | grep -v buggy`
9 g++ -dynamiclib -flat_namespace -undefined suppress -single_module -o ${out}.dylib `ls *.o | grep -v buggy`
10