mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Make build hermetic without shell scripts
- Fix some minor issues in ar.com - Have execve() look for `ape` command - Rewrite NT paths using /c/ rather /??/c:/ - Replace broken GCC symlinks with .sym files - Rewrite $PATH environment variables on startup - Make $(APE_NO_MODIFY_SELF) the default bootloader - Add all build command dependencies to build/bootstrap - Get the repository mostly building from source on non-Linux
This commit is contained in:
parent
d44ff6ce1f
commit
d230a01222
160 changed files with 2754 additions and 1342 deletions
1
third_party/gcc/bin/x86_64-linux-musl-c++
vendored
1
third_party/gcc/bin/x86_64-linux-musl-c++
vendored
|
@ -1 +0,0 @@
|
|||
x86_64-linux-musl-g++
|
1
third_party/gcc/bin/x86_64-linux-musl-c++.sym
vendored
Normal file
1
third_party/gcc/bin/x86_64-linux-musl-c++.sym
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
x86_64-linux-musl-g++
|
1
third_party/gcc/bin/x86_64-linux-musl-cc
vendored
1
third_party/gcc/bin/x86_64-linux-musl-cc
vendored
|
@ -1 +0,0 @@
|
|||
x86_64-linux-musl-gcc
|
1
third_party/gcc/bin/x86_64-linux-musl-cc.sym
vendored
Normal file
1
third_party/gcc/bin/x86_64-linux-musl-cc.sym
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
x86_64-linux-musl-gcc
|
|
@ -1 +0,0 @@
|
|||
x86_64-linux-musl-gcc
|
1
third_party/gcc/bin/x86_64-linux-musl-gcc-9.2.0.sym
vendored
Normal file
1
third_party/gcc/bin/x86_64-linux-musl-gcc-9.2.0.sym
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
x86_64-linux-musl-gcc
|
1
third_party/gcc/bin/x86_64-linux-musl-ld
vendored
1
third_party/gcc/bin/x86_64-linux-musl-ld
vendored
|
@ -1 +0,0 @@
|
|||
../x86_64-linux-musl/bin/ld.bfd
|
1
third_party/gcc/bin/x86_64-linux-musl-ld.bfd
vendored
1
third_party/gcc/bin/x86_64-linux-musl-ld.bfd
vendored
|
@ -1 +0,0 @@
|
|||
../x86_64-linux-musl/bin/ld.bfd
|
1
third_party/gcc/bin/x86_64-linux-musl-ld.bfd.sym
vendored
Normal file
1
third_party/gcc/bin/x86_64-linux-musl-ld.bfd.sym
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
../x86_64-linux-musl/bin/ld.bfd
|
1
third_party/gcc/bin/x86_64-linux-musl-ld.sym
vendored
Normal file
1
third_party/gcc/bin/x86_64-linux-musl-ld.sym
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
../x86_64-linux-musl/bin/ld.bfd
|
|
@ -1 +0,0 @@
|
|||
../../../../bin/x86_64-linux-musl-as
|
1
third_party/gcc/libexec/gcc/x86_64-linux-musl/9.2.0/as.sym
vendored
Normal file
1
third_party/gcc/libexec/gcc/x86_64-linux-musl/9.2.0/as.sym
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
../../../../bin/x86_64-linux-musl-as
|
10
third_party/gcc/unbundle.sh
vendored
10
third_party/gcc/unbundle.sh
vendored
|
@ -1,10 +0,0 @@
|
|||
#!/bin/sh
|
||||
#-*-mode:sh;indent-tabs-mode:nil;tab-width:2;coding:utf-8-*-┐
|
||||
#───vi: set net ft=sh ts=2 sts=2 fenc=utf-8 :vi─────────────┘
|
||||
mkdir -p o/third_party
|
||||
cp -R third_party/gcc o/third_party/gcc.$$
|
||||
for f in $(find o/third_party/gcc.$$ -name \*.gz); do
|
||||
gunzip $f
|
||||
chmod +x ${f%.gz}
|
||||
done
|
||||
mv o/third_party/gcc.$$ o/third_party/gcc
|
1
third_party/gcc/x86_64-linux-musl/bin/ar
vendored
1
third_party/gcc/x86_64-linux-musl/bin/ar
vendored
|
@ -1 +0,0 @@
|
|||
../../bin/x86_64-linux-musl-ar
|
1
third_party/gcc/x86_64-linux-musl/bin/ar.sym
vendored
Normal file
1
third_party/gcc/x86_64-linux-musl/bin/ar.sym
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
../../bin/x86_64-linux-musl-ar
|
1
third_party/gcc/x86_64-linux-musl/bin/as
vendored
1
third_party/gcc/x86_64-linux-musl/bin/as
vendored
|
@ -1 +0,0 @@
|
|||
../../bin/x86_64-linux-musl-as
|
1
third_party/gcc/x86_64-linux-musl/bin/as.sym
vendored
Normal file
1
third_party/gcc/x86_64-linux-musl/bin/as.sym
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
../../bin/x86_64-linux-musl-as
|
1
third_party/gcc/x86_64-linux-musl/bin/ld
vendored
1
third_party/gcc/x86_64-linux-musl/bin/ld
vendored
|
@ -1 +0,0 @@
|
|||
ld.bfd
|
1
third_party/gcc/x86_64-linux-musl/bin/ld.sym
vendored
Normal file
1
third_party/gcc/x86_64-linux-musl/bin/ld.sym
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
ld.bfd
|
1
third_party/gcc/x86_64-linux-musl/bin/nm
vendored
1
third_party/gcc/x86_64-linux-musl/bin/nm
vendored
|
@ -1 +0,0 @@
|
|||
../../bin/x86_64-linux-musl-nm
|
1
third_party/gcc/x86_64-linux-musl/bin/nm.sym
vendored
Normal file
1
third_party/gcc/x86_64-linux-musl/bin/nm.sym
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
../../bin/x86_64-linux-musl-nm
|
|
@ -1 +0,0 @@
|
|||
../../bin/x86_64-linux-musl-objcopy
|
1
third_party/gcc/x86_64-linux-musl/bin/objcopy.sym
vendored
Normal file
1
third_party/gcc/x86_64-linux-musl/bin/objcopy.sym
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
../../bin/x86_64-linux-musl-objcopy
|
|
@ -1 +0,0 @@
|
|||
../../bin/x86_64-linux-musl-objdump
|
1
third_party/gcc/x86_64-linux-musl/bin/objdump.sym
vendored
Normal file
1
third_party/gcc/x86_64-linux-musl/bin/objdump.sym
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
../../bin/x86_64-linux-musl-objdump
|
1
third_party/gcc/x86_64-linux-musl/bin/ranlib
vendored
1
third_party/gcc/x86_64-linux-musl/bin/ranlib
vendored
|
@ -1 +0,0 @@
|
|||
../../bin/x86_64-linux-musl-ranlib
|
1
third_party/gcc/x86_64-linux-musl/bin/ranlib.sym
vendored
Normal file
1
third_party/gcc/x86_64-linux-musl/bin/ranlib.sym
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
../../bin/x86_64-linux-musl-ranlib
|
|
@ -1 +0,0 @@
|
|||
../../bin/x86_64-linux-musl-readelf
|
1
third_party/gcc/x86_64-linux-musl/bin/readelf.sym
vendored
Normal file
1
third_party/gcc/x86_64-linux-musl/bin/readelf.sym
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
../../bin/x86_64-linux-musl-readelf
|
1
third_party/gcc/x86_64-linux-musl/bin/strip
vendored
1
third_party/gcc/x86_64-linux-musl/bin/strip
vendored
|
@ -1 +0,0 @@
|
|||
../../bin/x86_64-linux-musl-strip
|
1
third_party/gcc/x86_64-linux-musl/bin/strip.sym
vendored
Normal file
1
third_party/gcc/x86_64-linux-musl/bin/strip.sym
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
../../bin/x86_64-linux-musl-strip
|
Loading…
Add table
Add a link
Reference in a new issue