Rev 9083 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9083 | Rev 9661 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | if tup.getconfig("NO_FASM") ~= "" then return end |
1 | if tup.getconfig("NO_FASM") ~= "" then return end |
2 | if tup.getconfig("NO_TCC") ~= "" then return end |
2 | if tup.getconfig("NO_TCC") ~= "" then return end |
- | 3 | if tup.getconfig("HELPERDIR") == "" |
|
- | 4 | then |
|
- | 5 | HELPERDIR = "../../../../../" |
|
- | 6 | end |
|
- | 7 | tup.include(HELPERDIR .. "/use_tcc.lua") |
|
Line -... | Line 8... | ||
- | 8 | ||
3 | 9 | CFLAGS = CFLAGS .. " -I../../include" |
|
Line 4... | Line -... | ||
4 | TCC="kos32-tcc" |
- | |
5 | - | ||
6 | CFLAGS = "-I../../../../ktcc/trunk/libc.obj/include -I../../include" |
- | |
7 | LDFAGS = "-nostdlib -L../../../../ktcc/trunk/bin/lib ../../../../ktcc/trunk/bin/lib/crt0.o -stack=10000 " |
- | |
8 | - | ||
9 | LIBS = "-ltcc -lnetwork -lc.obj " |
- | |
10 | 10 | LFLAGS = "-stack=10000" |
|
11 | COMMAND=string.format("%s %s %s %s %s", TCC, CFLAGS, LDFAGS, "%f -o %o", LIBS) |
11 |