mirror of
https://github.com/encounter/object-testfiles.git
synced 2026-07-10 12:18:40 -07:00
archive: base files (#13)
This commit is contained in:
@@ -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
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user