| |
| Posted by David Morian | PermalinkReply |
|
David Morian
| Hi,
I don't known it this is the best place for gdc development discussions, but the sourceforge site seems inactive, so I do it here.
I have been playing with gdc in the last days and I have made an experimental port to X86_64 and an *incomplete* upgrade to dmd 0.173. It seems to work, at least with simple tests and in my home.
The patch can be downloaded from: http://wuwei.iespana.es/gdc/gdc-0.20_mo.patch.gz
md5sum: 883fe2481f79e50be731d26c7f334999
The file it's some big because I have moved the patch files in gdc from the "d" root to a nice (to me) "d/patches", sorry.
I want to warn some points:
* It's the first time I get into the gcc/gdc/dmd internals, and I have made the patch in a few hours in my free time, so you can expect many things wrong.
* The port to X86_64 is experimental. Many things remain to do, specially in the phobos area.
* The upgrade to dmd 0.173 is experimental too and incompleted. Array literals, foreach_reverse and template variadics seems to work in simple cases. But I am sure that I had left out many things. Moreover, I have only upgraded the key parts of phobos.
* I haved patched some things in the installation process because, in my machine, gdc was installing ligphobos.a and libgphobos.spec in /lib64. With some luck, the install will continue working in other machines...
* In the patch you will see some artifacts from a port to the sony psp in which I'm working too, they should be harmless.
* I have only tested it in a X86_64 machine with gcc 4.0.2.
* I am sure that I have broken many things that worked, so use with caution.
Oh, I have some questions about gdc and I would like to known if this is the place for them.
Regards.
--
David Morian.
|