lunixbochs / lib43

portable libc optimized for code size and readability
MIT License
80 stars 6 forks source link

Fix OSX support #3

Closed tmcarthur closed 9 years ago

tmcarthur commented 9 years ago

Removed linking with dynamic and forced static compilation, verified it's actually making correct system calls (sorry, stupid mistake before), updated assembly file to change to work w/ default assembler version of OS X, and modified a few constants to compile correctly on OS X.

Tested on Linux x86_64 and mac x86_64 - i386 support for OS X doesn't work, will fix in subsequent patch however (or disable it).