GDC for x86_64!

Thomas Kuehne thomas-dloop at kuehne.cn
Thu Sep 21 02:46:21 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gregor Richards schrieb am 2006-09-21:
> (I'm dual-posting this to both D.gnu and digitalmars.D, since it's at 
> least somewhat relevent in both)
>
> I've made a (mostly untested) port of GDC 0.19 to x86_64.
>
> This required numerous patches to the frontend, and a few less patches 
> to phobos.  I have another thread in digitalmars.D complaining about the 
> phobos patches.
>
> Attached is a patch file for GDC 0.19.  Testers are welcome, I've only 
> done some very simple "does this work at all" tests.
>
>   - Gregor Richards
>
> PS: I've only tested this on an emulated x86_64 system

tested compiler:
gcc (GCC) 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
   (gdc 0.19, using dmd 0.162)

Additional fix:
> d/phobos/internal/mars.h:31: unsigned monitor;
< d/phobos/internal/mars.h:31: size_t monitor;

I had to disable some code in the following files due to
"internal compiler error: in copy_to_mode_reg, at explow.c:691"
"internal compiler error: in emit_move_insn, at expr.c:2830"
"internal compiler error: in expand_expr_real, at expr.c:6525"

d/phobos/std/file.d
d/phobos/std/string.d
d/phobos/std/regexp.d
d/phobos/std/format.d
d/phobos/std/zip.d

Thomas

-----BEGIN PGP SIGNATURE-----

iD8DBQFFElsnLK5blCcjpWoRAvwPAJ4285GvafSzN9Jc7Te+j04MbaoSmwCfVbro
xPAsQIq/IokZQsB7QgWGbts=
=reBj
-----END PGP SIGNATURE-----



More information about the D.gnu mailing list