diff options
author | Alexis211 <alexis211@gmail.com> | 2009-12-18 16:22:58 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-12-18 16:22:58 +0100 |
commit | d04645198d648a17ccb83e70aa5e6d60a06121aa (patch) | |
tree | 4ee3203112c2fda42a85ec00f3f78eee14689869 /Unix/src | |
parent | 5f87c447bdcb82beacbfb930942fe9995dcdb60f (diff) | |
download | Melon-d04645198d648a17ccb83e70aa5e6d60a06121aa.tar.gz Melon-d04645198d648a17ccb83e70aa5e6d60a06121aa.zip |
[nonworking commit] Started porting newlib
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; +} |