Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. if tup.getconfig("NO_GCC") ~= "" then return end
  2. HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR")
  3.  
  4. tup.include(HELPERDIR .. "/use_gcc.lua")
  5. tup.include(HELPERDIR .. "/use_newlib.lua")
  6.  
  7. LIBS = " -lstdc++ -lsupc++ -lgcc -lc.dll "
  8.  
  9. compile_gcc{
  10.     "elf2cof.cpp",
  11.     "macho.cpp",
  12.     "cmdline.cpp",
  13.     "elf.cpp",
  14.     "stdafx.cpp",
  15.     "error.cpp",
  16.     "omfhash.cpp",
  17.     "elf2asm.cpp",
  18.     "main.cpp",
  19.     "cof2omf.cpp",
  20.     "omf2asm.cpp",
  21.     "cof2asm.cpp",
  22.     "elf2elf.cpp",
  23.     "containers.cpp",
  24.     "mac2asm.cpp",
  25.     "mac2elf.cpp",
  26.     "opcodes.cpp",
  27.     "cof2elf.cpp",
  28.     "omf2cof.cpp",
  29.     "library.cpp",
  30.     "elf2mac.cpp",
  31.     "mac2mac.cpp",
  32.     "coff.cpp",
  33.     "cof2cof.cpp",
  34.     "omf.cpp",
  35.     "disasm2.cpp",
  36.     "disasm1.cpp",
  37. }
  38.  
  39. link_gcc("objconv")
  40.  
  41.