Added a very basic Linux standard library shamelessly stolen from the MacOS one.

Made Linux (almost) work. The generated binaries segfault, but it's so close I can almost taste it.
This commit is contained in:
Zachary Pierson
2017-02-07 00:28:21 -06:00
parent eeeb90c441
commit 8becbdc1b2
6 changed files with 245 additions and 7 deletions
+1
View File
@@ -1,3 +1,4 @@
#include "os_windows.odin" when ODIN_OS == "windows";
#include "os_x.odin" when ODIN_OS == "osx";
#include "os_linux.odin" when ODIN_OS == "linux";