kolibrios/programs/develop/libraries/newlib_example/Tupfile.lua
CleverMouse 7406df89a5 * newlib: mark some syscalls as using memory
* autobuild newlib
* add newlib example based on menuetlibc example

git-svn-id: svn://kolibrios.org@5132 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-19 10:09:40 +00:00

7 lines
309 B
Lua

if tup.getconfig("NO_GCC") ~= "" or tup.getconfig("NO_FASM") ~= "" then return end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_gcc.lua")
tup.include(HELPERDIR .. "/use_newlib.lua")
compile_gcc{"main.c"}
link_gcc("binclock")