Relocating GDC
Anders F Björklund
afb at algonet.se
Mon Jun 19 02:39:27 PDT 2006
Andrei Khropov wrote:
>>The MinGW compiler does not work for gdc though (because that is what I had
>>used and it didn't relocate, even if their gcc/g++ does just fine?)
>
> MinGW gcc/g++ work from nonstandard path (d:\Development\MinGW\) just fine on
> my machine (current version - 3.4.2).
Yes it works OK for gcc/g++, but the same version doesn't work for gdc.
(so there must be a change in gcc/g++ includes, that isn't for Phobos?)
Changing prefix to "c:/mingw/" makes all my other scripts choke though.
DESTDIR doesn't take kindly to weird characters like colons in the path.
So the best fix here would be if GDC could understand --prefix=/mingw
too, and be relocatable even after using that (just like the other GCC)
And we still need to come up with some fix for gdmd, so that you can
call it like "gdmd" - without needing any "gdmd.pl" suffix nonsense...
--anders
More information about the D.gnu
mailing list