mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
Mint APE Loader v1.10
This commit is contained in:
parent
c9550afe5e
commit
81949f038e
7 changed files with 7 additions and 6 deletions
|
@ -1012,8 +1012,8 @@ int main(int argc, char **argv, char **envp) {
|
|||
Emit("usage: ape PROG [ARGV1,ARGV2,...]\n"
|
||||
" ape - PROG [ARGV0,ARGV1,...]\n"
|
||||
" ($0 = PROG.ape) [ARGV1,ARGV2,...]\n"
|
||||
"actually portable executable loader silicon 1.9\n"
|
||||
"copyright 2023 justine alexandra roberts tunney\n"
|
||||
"actually portable executable loader silicon 1.10\n"
|
||||
"copyrights 2023 justine alexandra roberts tunney\n"
|
||||
"https://justine.lol/ape.html\n");
|
||||
_exit(1);
|
||||
} else {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define COSMOPOLITAN_APE_APE_H_
|
||||
|
||||
#define APE_VERSION_MAJOR 1
|
||||
#define APE_VERSION_MINOR 9
|
||||
#define APE_VERSION_MINOR 10
|
||||
#define APE_VERSION_STR APE_VERSION_STR_(APE_VERSION_MAJOR, APE_VERSION_MINOR)
|
||||
#define APE_VERSION_NOTE APE_VERSION_NOTE_(APE_VERSION_MAJOR, APE_VERSION_MINOR)
|
||||
|
||||
|
|
|
@ -54,6 +54,7 @@ for x in .ape \
|
|||
.ape-1.7 \
|
||||
.ape-1.8 \
|
||||
.ape-1.9 \
|
||||
.ape-1.10 \
|
||||
.ape-blink-0.9.2 \
|
||||
.ape-blink-1.0.0; do
|
||||
rm -f \
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -108,7 +108,7 @@ On Apple Silicon, `aarch64-unknown-cosmo-cc` produces ELF binaries. If
|
|||
you build a hello world program, then you need to say `ape ./hello`. If
|
||||
you don't have an `ape` command then run `cc -o ape bin/ape-m1.c` which
|
||||
should be moved to `/usr/local/bin/ape`. Your APE interpreter might
|
||||
already exist under a path like `$TMPDIR/.ape-1.9`. It's important to
|
||||
already exist under a path like `$TMPDIR/.ape-1.10`. It's important to
|
||||
note this is only a gotcha for the cross compiler. Your `cosmocc`
|
||||
compiler wraps the actual ELF binaries with a shell script that'll
|
||||
extract and compile an APE loader automatically, as needed. This also
|
||||
|
|
Loading…
Reference in a new issue