Showing 3 changed files with 13 additions and 6 deletions
+11 -4
README.md
... ...
@@ -13,10 +13,7 @@ sudo apt install gcc-arm-linux-gnueabi \
13 13
     gcc-arm-linux-gnueabihf \
14 14
     g++-arm-linux-gnueabihf \
15 15
     cpp-riscv64-linux-gnu \
16
-    gcc-13-riscv64-linux-gnu \
17
-    musl-dev \
18
-    musl-tools \
19
-    musl
16
+    gcc-13-riscv64-linux-gnu 
20 17
 ```
21 18
 
22 19
 - aarch64
... ...
@@ -31,6 +28,16 @@ tar xJf arm-gnu-toolchain-$VERSION-x86_64-aarch64-none-linux-gnu.tar.xz -C $HOME
31 28
 
32 29
 Toolchain will now be installed in **$HOME/arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-linux-gnu**
33 30
 
31
+- No crosschain musl build
32
+
33
+```
34
+sudo apt install upx-ucl \ 
35
+    musl-dev \
36
+    musl-tools \
37
+    musl
38
+```
39
+
40
+
34 41
 # Build time
35 42
 
36 43
 Building single file sqlite3 is long.
+2 -2
build-musl-sqlite.sh → build-musl.sh
... ...
@@ -1,5 +1,5 @@
1 1
 #!/bin/bash
2
-OUTPUT=http-okay-sqlite-musl-upx
2
+OUTPUT=http-okay-x86_64-musl
3 3
 rm -f http-okay
4 4
 musl-gcc -I. main-sqlite.c  sqlite3.c -static -o $OUTPUT
5 5
 ls -l $OUTPUT
... ...
@@ -9,4 +9,4 @@ then
9 9
   upx -9 --ultra-brute $OUTPUT
10 10
   ls -l $OUTPUT
11 11
 fi
12
-ln -s $OUTPUT http-okay
12
+#ln -s $OUTPUT http-okay
BIN
http-okay-x86_64-musl
Binary file not shown.