diff options
Diffstat (limited to 'Unix/src')
-rwxr-xr-x | Unix/src/make.sh | 4 | ||||
-rwxr-xr-x | Unix/src/test | bin | 0 -> 203505 bytes | |||
-rw-r--r-- | Unix/src/test.c | 6 |
3 files changed, 10 insertions, 0 deletions
diff --git a/Unix/src/make.sh b/Unix/src/make.sh new file mode 100755 index 0000000..2adce4e --- /dev/null +++ b/Unix/src/make.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +gcc -c test.c -o test.o -I../i686-elf/include +ld test.o ../i686-elf/lib/libc.a -T ../../Source/UnixUserland/App.ld -L ../../Source/UnixUserland -o test diff --git a/Unix/src/test b/Unix/src/test Binary files differnew file mode 100755 index 0000000..aefa88e --- /dev/null +++ b/Unix/src/test diff --git a/Unix/src/test.c b/Unix/src/test.c new file mode 100644 index 0000000..f76aac7 --- /dev/null +++ b/Unix/src/test.c @@ -0,0 +1,6 @@ +#include <stdio.h> + +int main() { + printf("Hi, world !"); + return 0; +} |