Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5098 → Rev 6642

/programs/use_menuetlibc.lua
1,6 → 1,11
MELIBC = tup.getcwd() .. "/develop/libraries/menuetlibc"
 
INCLUDES = INCLUDES .. " -I" .. MELIBC .. "/include"
LDFLAGS = LDFLAGS .. string.gsub(" -T$/include/scripts/menuetos_app_v01.ld -L$/lib $/stub/crt0.o", "%$", MELIBC)
tup.append_table(LIBDEPS, {MELIBC .. "/stub/crt0.o", MELIBC .. "/<libc>", MELIBC .. "/<libm>", MELIBC .. "/<libcpp>"})
STARTUP = MELIBC .. "/stub/crt0.o"
LDFLAGS = LDFLAGS .. string.gsub(" -T$/include/scripts/menuetos_app_v01.ld -L$/lib", "%$", MELIBC)
tup.append_table(LIBDEPS, {MELIBC .. "/<libc>", MELIBC .. "/<libm>", MELIBC .. "/<libcpp>"})
LIBS = LIBS .. " -lcpp -lm -lc"
 
function use_dynamic_stack()
STARTUP = MELIBC .. "/stub/crt0_dynstack.o"
end