mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +00:00
Perform some more touchups to toolchain
This commit is contained in:
parent
d1b937bf1d
commit
2366848db5
16 changed files with 9 additions and 39 deletions
|
@ -1 +0,0 @@
|
|||
cosmocc
|
|
@ -1 +0,0 @@
|
|||
cosmocc
|
|
@ -1,13 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
MODE=${MODE:-${m:-aarch64}}
|
||||
COSMO=${COSMO:-/opt/cosmo}
|
||||
COSMOS=${COSMOS:-/opt/cosmos/aarch64}
|
||||
TOOL="$COSMO/o/third_party/gcc/bin/aarch64-linux-musl-ld"
|
||||
|
||||
if [ ! -x "$TOOL" ]; then
|
||||
echo "$0: you need to run: aarch64-unknown-cosmo-cc --update" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exec "$TOOL" "$@"
|
|
@ -18,6 +18,7 @@ Cosmopolitan's third_party/gcc/ for source code and copying conditions.
|
|||
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
|
||||
PARTICULAR PURPOSE.
|
||||
EOF
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ x"$1" = x"--help" ]; then
|
||||
|
@ -26,6 +27,7 @@ Usage: $PROG INPUT OUTPUT
|
|||
Converts an executable linked by cosmocc to the Actually Portable
|
||||
Executable file format. See $PROG --version for other details.
|
||||
EOF
|
||||
exit
|
||||
fi
|
||||
|
||||
fatal_error() {
|
||||
|
|
|
@ -95,7 +95,7 @@ Cosmopolitan's third_party/gcc/ for source code and copying conditions.
|
|||
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
|
||||
PARTICULAR PURPOSE.
|
||||
EOF
|
||||
exit 0
|
||||
exit
|
||||
fi
|
||||
|
||||
fatal_error() {
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
fatcosmocc
|
|
@ -1 +0,0 @@
|
|||
fatcosmocc
|
|
@ -6,7 +6,7 @@ COSMOS=${COSMOS:-/opt/cosmos}
|
|||
TOOL="$COSMO/o/third_party/gcc/bin/x86_64-linux-musl-addr2line"
|
||||
|
||||
if [ ! -x "$TOOL" ]; then
|
||||
echo "$0: you need to run: cosmocc --update" >&2
|
||||
echo "$0: you need to run: x86_64-unknown-cosmo-cc --update" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ fatal_error() {
|
|||
}
|
||||
|
||||
if [ ! -x "$COSMO/o/$MODE/tool/build/ar.com" ]; then
|
||||
fatal_error "you need to run: cosmocc --update"
|
||||
fatal_error "you need to run: x86_64-unknown-cosmo-cc --update"
|
||||
fi
|
||||
|
||||
if [ x"$1" = x"rc" ] ||
|
||||
|
|
|
@ -6,7 +6,7 @@ COSMOS=${COSMOS:-/opt/cosmos}
|
|||
TOOL="$COSMO/o/third_party/gcc/bin/x86_64-linux-musl-as"
|
||||
|
||||
if [ ! -x "$TOOL" ]; then
|
||||
echo "$0: you need to run: cosmocc --update" >&2
|
||||
echo "$0: you need to run: x86_64-unknown-cosmo-cc --update" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
cosmocc
|
|
@ -1 +0,0 @@
|
|||
cosmocc
|
|
@ -1,13 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
MODE=${MODE:-$m}
|
||||
COSMO=${COSMO:-/opt/cosmo}
|
||||
COSMOS=${COSMOS:-/opt/cosmos}
|
||||
TOOL="$COSMO/o/third_party/gcc/bin/x86_64-linux-musl-ld"
|
||||
|
||||
if [ ! -x "$TOOL" ]; then
|
||||
echo "$0: you need to run: cosmocc --update" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exec "$TOOL" "$@"
|
|
@ -6,7 +6,7 @@ COSMOS=${COSMOS:-/opt/cosmos}
|
|||
TOOL="$COSMO/o/third_party/gcc/bin/x86_64-linux-musl-objcopy"
|
||||
|
||||
if [ ! -x "$TOOL" ]; then
|
||||
echo "$0: you need to run: cosmocc --update" >&2
|
||||
echo "$0: you need to run: x86_64-unknown-cosmo-cc --update" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ COSMOS=${COSMOS:-/opt/cosmos}
|
|||
TOOL="$COSMO/o/third_party/gcc/bin/x86_64-linux-musl-objdump"
|
||||
|
||||
if [ ! -x "$TOOL" ]; then
|
||||
echo "$0: you need to run: cosmocc --update" >&2
|
||||
echo "$0: you need to run: x86_64-unknown-cosmo-cc --update" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ 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: cosmocc --update" >&2
|
||||
echo "$0: you need to run: x86_64-unknown-cosmo-cc --update" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue