Nighly builds of GDC

Gregor Richards Richards at codu.org
Wed Nov 1 08:45:38 PST 2006


David Friedman wrote:
> David Friedman wrote:
> 
>> Gregor Richards wrote:
>>
>>> %u wrote:
>>>
>>>> Is it possible to build the native MingW32 Windows exe?
>>>>
>>>
>>> Not from anything but a Windows system.  The included phobos has the 
>>> fairly lame habit of running some of its generated code to generate 
>>> more code, and doesn't understand the concept of cross-compilation.
>>>
>>>  - Gregor Richards
>>
>>
>>
>> There is support for building cross-compilers that target Win32 and 
>> SkyOS.  The files that would normally need to be generated are 
>> included in the distrubtion and should be picked up the the 
>> configuration script.
>>
>> David
> 
> 
> The question was actually about cross-built native compilers...  This 
> almost works out of the box, but require one extra step.  After running 
> the configure script, in the top level Makefile, replace
> 
>   CXX_FOR_BUILD = $(CXX)
> 
> with
> 
>   CXX_FOR_BUILD = g++
> 
> The problem in this case is code generation for the compiler itself, not 
> Phobos.
> 
> David

Aha - for some reason I thought this was in Phobos, but I now see it's 
in the code inherited from the DMD frontend (grr @ Walter).

I guess I can make Win32 nightlies then :P

  - Gregor Richards



More information about the D.gnu mailing list