Added Linux functions throughout the code, but it segfaults.

This commit is contained in:
Zac Pierson
2017-02-06 12:26:41 -06:00
parent 9f2d9b596d
commit 5cfa4ba580
5 changed files with 270 additions and 45 deletions
Executable
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
WARNINGS_DISABLE="-Wno-attributes -Wno-implicit-function-declaration -Wno-incompatible-pointer-types"
LIBRARIES="-pthread -ldl -lm"
gcc src/main.c ${WARNINGS_DISABLE} ${LIBRARIES} -o odin