Commit Graph

18 Commits

Author SHA1 Message Date
Frits van Bommel
a2bb3ce6a2 Make sure revisions.pl always runs so revisions.h doesn't get out of date. 2009-03-09 16:25:45 +01:00
Christian Kamm
c5c0a01044 Fix out of source build by adding the build dir to the include path. 2009-03-08 17:57:34 +01:00
Frits van Bommel
958ad381db Fix to make sure to create gen/ in build dir and unbreak build with older perl 2009-03-08 16:37:55 +01:00
Frits van Bommel
622a93a810 Make LDC work with LLVM trunk (s/LinkOnceLinkage/LinkOnceOdrLinkage/)
Also moved the #defines for linkage types into a separate header instead of
mars.h so we can #include revisions.h without having to rebuild the entire
frontend every time we update.
(I'm using revisions.h to get the LLVM revision for use in preprocessor
conditionals. It should work with LLVM release 2.5, old trunk and new trunk)
2009-03-08 16:13:10 +01:00
Christian Kamm
ed9591d81f Make IrFuncTy a member of TypeFunction. Reset between modules compiled in the
same LDC call.
2009-03-07 14:25:30 +01:00
Christian Kamm
9433028acd Remove unused defines: X86_REVERSE_PARAMS, X86_PASS_IN_EAX 2009-03-03 17:38:08 +01:00
Tomas Lindquist Olsen
a71b028a0f Implemented basic -m32 and -m64 options. 2009-03-01 22:27:03 +01:00
Frits van Bommel
bfacf4477c Add explicit paths to revisions.* to unbreak out-of-source build. 2009-02-19 00:50:35 +01:00
Christian Kamm
8330703b4d GC defines and linkage changes. 2009-01-08 18:20:02 +01:00
Christian Kamm
dff06d0f15 Add Elrood's patch to output LDC and LLVM source revs. 2008-12-14 16:51:36 +01:00
elrood
0085c9409c .. and fixed the install target (hopefully) 2008-12-05 22:01:50 +01:00
elrood
5321c34637 added install target and possibility to pre- and suffix ldc's executable name to cmake scripts 2008-12-04 22:09:24 +01:00
Tomas Lindquist Olsen
879bed7df6 Added CMake option to disable generation of ClassInfo.offTi arrays, defaults to OFF. 2008-12-02 01:44:17 +01:00
Christian Kamm
375b6cd888 Apply Elrood's CMake changes from #124. Thanks a lot! 2008-11-24 18:17:58 +01:00
Tomas Lindquist Olsen
c4c1c1d72e Added initial D2 support, D2 frontend and changes to codegen to make things compile. 2008-11-11 01:38:48 +01:00
Christian Kamm
c0bf614e31 Switch to Elrood's rewritten CMakeLists.txt. 2008-11-05 16:53:03 +01:00
Christian Kamm
9688b4c9a7 Improve CMake build file. 2008-11-03 12:25:25 +01:00
Christian Kamm
9e370d7612 Add basic CMake build file. 2008-11-02 21:47:31 +01:00