D.gnu - GDC X86_64 port and dmd 0.173 upgrade attempt
- David Morian (33/33) Nov 08 2006 Hi,
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (5/10) Nov 08 2006 Will try your patches/port later, don't have have the time right now...
- David Morian (6/7) Nov 08 2006 No. I checked a patch from Gregor Richards some time ago (september?), b...
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.
Nov 08 2006
David Morian wrote: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.This is good a place as any, but this group is pretty inactive too :-(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.Will try your patches/port later, don't have have the time right now... Did you use anything from the previous 64 patches, like my PPC64 stuff ? --anders
Nov 08 2006
Anders F Björklund wrote:Did you use anything from the previous 64 patches, like my PPC64 stuff ?No. I checked a patch from Gregor Richards some time ago (september?), but it didn't work, at least in my tests. I have written this patch from the ground over latest svn (revision 20). -- David Morian.
Nov 08 2006