comparison premake.lua @ 237:a168a2c3ea48 trunk

[svn r253] Removed -inlineasm option. inline asm is now enabled by default unless the new -noasm option is passed. Tried adding a stack trace print when compiler crashes, not sure it's working though. Changed data layouts to match that of llvm-gcc. Fixed casting function pointers. Added support checks in AsmStatement.
author lindquist
date Sun, 08 Jun 2008 19:09:24 +0200
parents aca17e55b7a5
children 23d0d9855cad
comparison
equal deleted inserted replaced
236:df1abfe27be6 237:a168a2c3ea48
24 package.files = { matchfiles("dmd/*.c"), matchfiles("gen/*.cpp"), matchfiles("ir/*.cpp") } 24 package.files = { matchfiles("dmd/*.c"), matchfiles("gen/*.cpp"), matchfiles("ir/*.cpp") }
25 package.excludes = { "dmd/idgen.c", "dmd/impcnvgen.c" } 25 package.excludes = { "dmd/idgen.c", "dmd/impcnvgen.c" }
26 package.buildoptions = { "-x c++", "`llvm-config --cxxflags`" } 26 package.buildoptions = { "-x c++", "`llvm-config --cxxflags`" }
27 package.linkoptions = { 27 package.linkoptions = {
28 -- long but it's faster than just 'all' 28 -- long but it's faster than just 'all'
29 "`llvm-config --libs core asmparser bitreader bitwriter support target transformutils scalaropts ipo instrumentation x86 powerpc`", 29 "`llvm-config --libs core asmparser bitreader bitwriter linker support target transformutils scalaropts ipo instrumentation x86 powerpc`",
30 "`llvm-config --ldflags`", 30 "`llvm-config --ldflags`",
31 } 31 }
32 package.defines = { 32 package.defines = {
33 "IN_LLVM", 33 "IN_LLVM",
34 "_DH", 34 "_DH",