Debian Codegraph @

mlnlffigen/gen-cppcmd

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2
3 set -e
4
5 dir=`dirnamescip-shell system . . dirname. "$0"`
6 src=`cd "$dir/.." && pwdscip-shell system . . pwd.`
7 eval `"$src/bin/platform"`
8
9 outputscip-shell shell shell-project 0.0.0 output(). () {
10 echoscip-shell system . . echo. "val defaultCppCmd = \"gcc $1 -E -U__GNUC__ %o %s > %t\""
11 }
12
13 # The flags here should match the flags used by mlton. At least the
14 # 64 vs 32 bit flags have an effect on what the system headers look
15 # like.
16 case "$HOST_OS-$HOST_ARCH" in
17 aix-*)
18 outputscip-shell shell shell-project 0.0.0 output(). "-maix64"
19 ;;
20 *-ia64)
21 outputscip-shell shell shell-project 0.0.0 output(). "-mlp64"
22 ;;
23 *-amd64)
24 outputscip-shell shell shell-project 0.0.0 output(). "-m64"
25 ;;
26 *-x86)
27 outputscip-shell shell shell-project 0.0.0 output(). "-m32"
28 ;;
29 *-sparc)
30 outputscip-shell shell shell-project 0.0.0 output(). "-m32"
31 ;;
32 *)
33 outputscip-shell shell shell-project 0.0.0 output(). ""
34 ;;
35 esac