4 # Copyright (C) 2004 Robin Rosenberg.
6 # This program is available under the terms of the GNU Public License.
9 while [ "${1:0:1}" = "-" ]
28 if [ ! -f $HOME/.ccev
/stdinc.h
]
30 cat >$HOME/.ccev
/stdinc.h
<<EOF
31 // Do not forget to re-precompile this
32 // file if you modify it or delete the
40 #include <sys/types.h>
46 g
++ $HOME/.ccev
/stdinc.h ||
echo "W:Could not create precompiled heaader file"
51 trap "rm -f $tmpf $tmpfx" 0
53 #include "$HOME/.ccev/stdinc.h"
57 echo >>$tmpf "#include <$i>"
70 main(int argc,char **argv)
76 g
++ -o $tmpx $tmpf $FLAGS && $tmpx ||
grep -n .
$tmpf