caam

view wrap/c++ @ 24:8ab31a1c6026

Table layout fixed
author HIROSE Yuuji <yuuji@gentei.org>
date Tue, 12 Dec 2017 14:05:43 +0900
parents 3578cc37f9cd
children 22d4ea8f368e
line source
1 #!/bin/sh
2 CAAM_CXX=${CAAM_CXX:-`which c++`}
3 ldf=''
4 if [ x"${CAAM_LDF+x}" = x"x" ]; then
5 # if CAAM_LDF is unset
6 if [ x"$LD_RUN_PATH" != x"" ]; then
7 oifs=$IFS
8 IFS=:
9 for d in $LD_RUN_PATH; do
10 ldf=$ldf"${ldf:+ }-R $d -L $d"
11 done
12 IFS=$oifs
13 fi
14 fi
15 # echo cmd=$CAAM_CXX $ldf "$@"
16 exec $CAAM_CXX $ldf "$@"