- Documented /N/M.
[tangerine.git] / tools / FlexCat / gcccatcomp.sh
blob88f6016ef05805304ff76f0112b6dad0a49acdb1
1 #!/bin/sh
3 # This script is used by gcc, and does't have to be used by anything else,
4 # since it relies on gcc setting some things up for it.
6 cd_file=$1 # $1 = .cd file
7 dir=$2 # $2 = directory where to find FlexCat and gcccatcomp.sd.
8 c_file=$3 # $3 = ,c file
10 shift 3 # parameters from 4 to n are passed "as is" to $COLLECT_GCC.
12 $dir/FlexCat $cd_file $c_file=$dir/gcccatcomp.sd && $COLLECT_GCC $c_file $@