Rev 5098 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5098 | Rev 5132 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | if tup.getconfig('NO_GCC') ~= "" then return end |
1 | if tup.getconfig("NO_GCC") ~= "" or tup.getconfig("NO_FASM") ~= "" then return end |
2 | HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR") |
2 | HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR") |
3 | tup.include(HELPERDIR .. "/use_gcc.lua") |
3 | tup.include(HELPERDIR .. "/use_gcc.lua") |
4 | tup.include(HELPERDIR .. "/use_menuetlibc.lua") |
4 | tup.include(HELPERDIR .. "/use_newlib.lua") |
5 | compile_gcc{"main.c"} |
5 | compile_gcc{"main.c"} |
6 | link_gcc("binclock") |
6 | link_gcc("binclock") |