Take compilers and linker from root
[u/mrichter/AliRoot.git] / build / makeg2cso.sh
CommitLineData
88cb7938 1#!/bin/sh
2out=$ALICE_ROOT/lib/tgt_$ALICE_TARGET/libg2c_sh
3cd /tmp
4rm -rf g2c ; mkdir g2c ; cd g2c
a744ab41 5ar -x /sw/lib/libg2c.a
6export MACOSX_DEPLOYMENT_TARGET=10.3
7unset LD_PREBIND
88cb7938 8rm -f ${out}.so ${out}.dylib
2469b598 9g++ -bundle -undefined dynamic_lookup -o ${out}.so `ls *.o | grep -v buggy`
10g++ -dynamiclib -undefined dynamic_lookup -single_module -o ${out}.dylib `ls *.o | grep -v buggy`
88cb7938 11