Transition to NewIO
[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
5ar -x /usr/lib/gcc/darwin/default/libg2c.a
6export MACOSX_DEPLOYMENT_TARGET=10.2
7rm -f ${out}.so ${out}.dylib
8g++ -bundle -flat_namespace -undefined suppress -o ${out}.so `ls *.o | grep -v buggy`
9g++ -dynamiclib -flat_namespace -undefined suppress -single_module -o ${out}.dylib `ls *.o | grep -v buggy`
10