mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
13 lines
270 B
Bash
Executable file
13 lines
270 B
Bash
Executable file
#!/bin/sh
|
|
|
|
MODE=${MODE:-$m}
|
|
COSMO=${COSMO:-/opt/cosmo}
|
|
COSMOS=${COSMOS:-/opt/cosmos}
|
|
TOOL="$COSMO/o/third_party/gcc/bin/x86_64-linux-musl-strip"
|
|
|
|
if [ ! -x "$TOOL" ]; then
|
|
echo "$0: you need to run: x86_64-unknown-cosmo-cc --update" >&2
|
|
exit 1
|
|
fi
|
|
|
|
exec "$TOOL" "$@"
|