kolibri-libc:

- Added new symbols
- Added build.sh for loader

git-svn-id: svn://kolibrios.org@8641 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2021-03-09 10:11:53 +00:00
parent 549ba491fa
commit 8d70017a77
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
#!/bin/bash
set -e
MKLIB=../linuxtools/mklib
AR=ar
FASM=fasm
set -e
echo "Generate ASM files..."
cat symbols.txt | $MKLIB
echo "Compile ASM files..."
for asm_file in $(find *.asm)
do
$FASM $asm_file > /dev/null
done
echo "Create libc.obj.a library..."
ar -rsc ../lib/libc.obj.a *.o
mv __lib__.asm __lib__.asm.bak
rm *.o *.asm
mv __lib__.asm.bak __lib__.asm
echo "Done!"

View File

@ -83,6 +83,8 @@ shell_getc
shell_gets
shell_cls
shell_exit
shell_get_pid
shell_ping
setbuf
setvbuf
sin