www.digitalmars.com         C & C++   DMDScript  

D.gnu - Nighly builds of GDC

reply Gregor Richards <Richards codu.org> writes:
I've started up a cronjob to do nightly builds and upload them to my 
personal home page.

So, firstly, nightly builds of GDC for GNU/Linux on x86 are at:
http://www.codu.org/gdc-nightly/

Secondly, people wishing to set up nightly builds for other systems may 
want my script, which is at:
http://www.codu.org/gdc-nightly/gdc-nightly.sh

  - Gregor Richards

PS: Apparently GDC can't be cross-compiled.  I was going to set up a 
MingW32 version as well, but since I can't cross-compile GDC, it's dead 
in the water.
Sep 21 2006
next sibling parent "B. Ross" <cyberneticwraith phreaker.net> writes:
Gregor Richards wrote:
 I've started up a cronjob to do nightly builds and upload them to my 
 personal home page.
 
 So, firstly, nightly builds of GDC for GNU/Linux on x86 are at:
 http://www.codu.org/gdc-nightly/
 
 Secondly, people wishing to set up nightly builds for other systems may 
 want my script, which is at:
 http://www.codu.org/gdc-nightly/gdc-nightly.sh
 
  - Gregor Richards
 
 PS: Apparently GDC can't be cross-compiled.  I was going to set up a 
 MingW32 version as well, but since I can't cross-compile GDC, it's dead 
 in the water.

Cool thanks. If I have a spare junk box lying around I'll try and set one up for 'dows.
Sep 21 2006
prev sibling parent reply Gregor Richards <Richards codu.org> writes:
Gregor Richards wrote:
 I've started up a cronjob to do nightly builds and upload them to my 
 personal home page.
 
 So, firstly, nightly builds of GDC for GNU/Linux on x86 are at:
 http://www.codu.org/gdc-nightly/
 
 Secondly, people wishing to set up nightly builds for other systems may 
 want my script, which is at:
 http://www.codu.org/gdc-nightly/gdc-nightly.sh
 
  - Gregor Richards
 
 PS: Apparently GDC can't be cross-compiled.  I was going to set up a 
 MingW32 version as well, but since I can't cross-compile GDC, it's dead 
 in the water.

I could host a nightly build of a cross-compiler targeting MingW32 from GNU/Linux ... would that be useful at all? - Gregor Richards
Sep 21 2006
parent reply %u <z gg.com> writes:
 I could host a nightly build of a cross-compiler targeting MingW32
 from GNU/Linux ... would that be useful at all?

  - Gregor Richards

That will be great! Please put the built binary also at http://www.codu.org/gdc-nightly/ So I can just grub the latest version. Thanks.
Oct 02 2006
parent reply Gregor Richards <Richards codu.org> writes:
%u wrote:
I could host a nightly build of a cross-compiler targeting MingW32
from GNU/Linux ... would that be useful at all?

 - Gregor Richards

That will be great! Please put the built binary also at http://www.codu.org/gdc-nightly/ So I can just grub the latest version. Thanks.

I should probably have responded to this, I started making MingW32-targetted GDCs for GNU/Linux a while ago ... totally forgot that it was in response to this :P - Gregor Richards
Oct 23 2006
parent reply %u <z gg.com> writes:
Is it possible to build the native MingW32 Windows exe?
Oct 24 2006
parent reply Gregor Richards <Richards codu.org> writes:
%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
Oct 24 2006
parent reply David Friedman <dvdfrdmn users.ess-eff.net> writes:
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
Oct 30 2006
parent reply David Friedman <dvdfrdmn users.ess-eff.net> writes:
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
Oct 31 2006
parent reply Gregor Richards <Richards codu.org> writes:
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
Nov 01 2006
parent %u <z gg.com> writes:
 I guess I can make Win32 nightlies then :P

  - Gregor Richards

just checked: http://www.codu.org/gdc-nightly/ The last update is on 20-Oct-2006: [ ] gdc-nightly-x86-g_lx..> 20-Oct-2006 04:03 48.8M [ ] gdc-nightly-x86-g_lx..> 20-Oct-2006 04:12 23.2M [ ] gdc-nightly-x86-gnuW..> 20-Oct-2006 03:20 8.2M [ ] gdc-nightly-x86-gnuW..> 20-Oct-2006 03:22 2.8M Can you make it work also for Win32 binaries? Thanks.
Nov 06 2006