Mercurial > projects > ldc
annotate ldc-posix-tango @ 945:03d7c4aac654
SWITCHED TO LLVM 2.5 !
Applied patch from ticket #129 to compile against latest LLVM. Thanks Frits van Bommel.
Fixed implicit return by asm block at the end of a function on x86-32. Other architectures will produce an error at the moment. Adding support for new targets is fairly simple.
Fixed return calling convention for complex numbers, ST and ST(1) were switched around.
Added some testcases.
I've run a dstress test and there are no regressions. However, the runtime does not seem to compile with symbolic debug information. -O3 -release -inline works well and is what I used for the dstress run. Tango does not compile, a small workaround is needed in tango.io.digest.Digest.Digest.hexDigest. See ticket #206 .
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 08 Feb 2009 05:26:54 +0100 |
parents | 5f4a69a53906 |
children | a8cb25d478c4 |
rev | line source |
---|---|
452
30ef3c7bddca
Fixed problems with nested 'this'. Fixes #39 .
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
445
diff
changeset
|
1 ignore=object |
138 | 2 |
663
6aaa3d3c1183
First part of rename to LDC.
Christian Kamm <kamm incasoftware de>
parents:
660
diff
changeset
|
3 compiler=ldc |
6aaa3d3c1183
First part of rename to LDC.
Christian Kamm <kamm incasoftware de>
parents:
660
diff
changeset
|
4 inifile=ldc.conf |
138 | 5 |
6 exeext= | |
700
716684a0d63f
Updated rebuild profile for .o output as default, compiler needs to be fixed still.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
665
diff
changeset
|
7 objext=o |
138 | 8 |
9 | |
201 | 10 version=LLVM |
663
6aaa3d3c1183
First part of rename to LDC.
Christian Kamm <kamm incasoftware de>
parents:
660
diff
changeset
|
11 version=LDC |
138 | 12 noversion=DigitalMars |
13 noversion=GNU | |
14 testversion=linux | |
659
43d2ab9833bf
Forgot a change from DMD update.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
655
diff
changeset
|
15 testversion=darwin |
43d2ab9833bf
Forgot a change from DMD update.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
655
diff
changeset
|
16 testversion=freebsd |
138 | 17 testversion=Unix |
443
44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
437
diff
changeset
|
18 testversion=Posix |
138 | 19 testversion=Windows |
20 testversion=Win32 | |
21 testversion=Win64 | |
659
43d2ab9833bf
Forgot a change from DMD update.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
655
diff
changeset
|
22 testversion=mingw32 |
138 | 23 testversion=X86 |
24 testversion=PPC | |
25 testversion=X86_64 | |
26 testversion=PPC64 | |
27 testversion=D_InlineAsm | |
886
7ddd03a2ce02
Typo fix in rebuild profile. Thanks BlueZeniX.
Christian Kamm <kamm incasoftware de>
parents:
714
diff
changeset
|
28 testversion=D_InlineAsm_X86 |
138 | 29 testversion=D_InlineAsm_PPC |
30 testversion=D_InlineAsm_X86_64 | |
31 testversion=D_InlineAsm_PPC64 | |
660
d6b71647b622
One more update of Tango Rebuild profile.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
659
diff
changeset
|
32 testversion=LLVM_InlineAsm_X86 |
138 | 33 testversion=LittleEndian |
34 testversion=BigEndian | |
35 testversion=LLVM64 | |
660
d6b71647b622
One more update of Tango Rebuild profile.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
659
diff
changeset
|
36 testversion=PIC |
138 | 37 |
38 | |
39 [compile] | |
714
1e98c99a87cb
Updated Rebuild profile to use correct linker switches
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
700
diff
changeset
|
40 oneatatime=yes |
663
6aaa3d3c1183
First part of rename to LDC.
Christian Kamm <kamm incasoftware de>
parents:
660
diff
changeset
|
41 cmd=ldc -c $i |
138 | 42 |
43 flag=$i | |
44 incdir=-I$i | |
714
1e98c99a87cb
Updated Rebuild profile to use correct linker switches
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
700
diff
changeset
|
45 libdir=-L-L$i |
138 | 46 optimize=-O3 |
47 version=-version=$i | |
48 | |
49 | |
50 [link] | |
527
cecfee2d01a8
Added support for overloaded intrinsics.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
452
diff
changeset
|
51 oneatatime=yes |
663
6aaa3d3c1183
First part of rename to LDC.
Christian Kamm <kamm incasoftware de>
parents:
660
diff
changeset
|
52 cmd=ldc $i -of$o |
138 | 53 |
714
1e98c99a87cb
Updated Rebuild profile to use correct linker switches
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
700
diff
changeset
|
54 libdir=-L-L$i |
1e98c99a87cb
Updated Rebuild profile to use correct linker switches
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
700
diff
changeset
|
55 lib=-L-l$i |
138 | 56 flag=-L$i |
57 | |
58 | |
59 [liblink] | |
60 safe=yes | |
527
cecfee2d01a8
Added support for overloaded intrinsics.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
452
diff
changeset
|
61 oneatatime=yes |
700
716684a0d63f
Updated rebuild profile for .o output as default, compiler needs to be fixed still.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
665
diff
changeset
|
62 cmd=ar rc $o $i |
138 | 63 |
654
961221d5a49c
Updated llvmdc-tango Rebuild profile, liblink was wrong
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
527
diff
changeset
|
64 libdir= |
961221d5a49c
Updated llvmdc-tango Rebuild profile, liblink was wrong
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
527
diff
changeset
|
65 lib= |
961221d5a49c
Updated llvmdc-tango Rebuild profile, liblink was wrong
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
527
diff
changeset
|
66 flag= |
138 | 67 |
68 | |
69 [postliblink] | |
700
716684a0d63f
Updated rebuild profile for .o output as default, compiler needs to be fixed still.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
665
diff
changeset
|
70 cmd=ranlib $i |
437
11a8a45759a8
Reverted bad cfg merge stuff
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
436
diff
changeset
|
71 |
138 | 72 |
73 [shliblink] | |
74 shlibs=no | |
75 | |
76 [dyliblink] | |
77 dylibs=no |