init commit

This commit is contained in:
Faynot
2026-07-07 20:35:07 +03:00
commit 38cc34a6e9
33 changed files with 659 additions and 0 deletions

21
configure vendored Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/sh
# Minimal configure for elibc — detects target architecture
echo "Configuring elibc..."
# Detect architecture
case "$(uname -m)" in
x86_64|amd64)
ARCH=x86_64
;;
aarch64|arm64)
ARCH=aarch64
;;
*)
echo "Warning: unknown arch $(uname -m), falling back to x86_64"
ARCH=x86_64
;;
esac
echo "ARCH := $ARCH" > config.mak
echo "Configured for $ARCH"