mirror of
https://github.com/xomboverlord/buildtools.git
synced 2026-01-11 10:16:38 +01:00
Creates libc-base for D apps to link to C stdlib.
This commit is contained in:
@@ -3,9 +3,13 @@
|
||||
mkdir -p .tempobjs
|
||||
cd .tempobjs
|
||||
|
||||
ar x ../../xomb/user/c/lib/cbindings.a
|
||||
cp ../local/x86_64-pc-xomb/lib/libc.a ../local/x86_64-pc-xomb/lib/libc-base.a
|
||||
ar d ../local/x86_64-pc-xomb/lib/libc-base.a crt0.o
|
||||
ar -rs ../local/x86_64-pc-xomb/lib/libc-base.a *.o
|
||||
|
||||
ar x ../../xomb/runtimes/mindrt/drt0.a
|
||||
ar x ../../xomb/runtimes/mindrt/mindrt.a
|
||||
ar x ../../xomb/user/c/lib/cbindings.a
|
||||
ar -rs ../local/x86_64-pc-xomb/lib/libc.a *.o
|
||||
|
||||
cd ..
|
||||
|
||||
Reference in New Issue
Block a user