archive: base files (#13)

This commit is contained in:
Philip Craig
2024-03-31 15:37:01 +10:00
committed by GitHub
parent 0949c20133
commit 14d806678c
4 changed files with 7 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
for i in a b c; do
printf "void ${i}_one() {}\nvoid ${i}_two() {}" | gcc -c -x c - -o ${i}.o
done
llvm-ar --format=gnu rcs gnu.a a.o b.o c.o
llvm-ar --format=bsd rcs bsd.a a.o b.o c.o
llvm-ar --format=gnu --thin rcs thin.a a.o b.o c.o
rm a.o b.o c.o
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.