Re: Building the arm-linux-gnueabi target

2014-07-13 Thread Timo Sintonen via D.gnu
On Sunday, 13 July 2014 at 11:17:29 UTC, Joseph Rushton Wakeling via D.gnu wrote: Yes, I'm interested principally in cross-compiling, both for linux-on-ARM and bare-metal ARM. You may also have a look at my minlibd: https://bitbucket.org/timosi/minlibd There is a minimun libdruntime suitab

Re: Building the arm-linux-gnueabi target

2014-07-13 Thread Mike via D.gnu
On Sunday, 13 July 2014 at 10:10:34 UTC, Joseph Rushton Wakeling via D.gnu wrote: I decided it was time to start pulling out Adam Ruppe's embedded programming guide, and as a decidedly non-embedded programmer, the instructions here: http://wiki.dlang.org/Bare_Metal_ARM_Cortex-M_GDC_Cross_Compil

Re: Building the arm-linux-gnueabi target

2014-07-13 Thread Mike via D.gnu
On Sunday, 13 July 2014 at 11:17:29 UTC, Joseph Rushton Wakeling via D.gnu wrote: The simplest way to build such cross-compilers is with crosstool-NG: http://wiki.dlang.org/GDC/Cross_Compiler/crosstool-NG I also build the binaries at http://gdcproject.org/downloads/ with crosstool-NG. Thanks

Re: Building the arm-linux-gnueabi target

2014-07-13 Thread Joseph Rushton Wakeling via D.gnu
On 13/07/14 13:31, Johannes Pfau via D.gnu wrote: IIRC building gdc/gcc alone requires 12 hours. And you'll need swap as there's not enough ram ;-) Hmmm, I'd like to think I could build gdc-for-arm itself on my regular machine and just copy it over? ;-)

Re: Building the arm-linux-gnueabi target

2014-07-13 Thread Johannes Pfau via D.gnu
Am Sun, 13 Jul 2014 13:17:22 +0200 schrieb "Joseph Rushton Wakeling via D.gnu" : > On 13/07/14 12:30, Johannes Pfau via D.gnu wrote: > > AFAIK that's not possible with GCC right now. One GCC build always > > targets one main architecture. > > > > Is there any reason why you can't use the binaries

Re: Building the arm-linux-gnueabi target

2014-07-13 Thread Joseph Rushton Wakeling via D.gnu
On 13/07/14 12:30, Johannes Pfau via D.gnu wrote: AFAIK that's not possible with GCC right now. One GCC build always targets one main architecture. Is there any reason why you can't use the binaries from http://gdcproject.org/downloads/ ? No, none at all. I just thought, since I build GDC fro

Re: Building the arm-linux-gnueabi target

2014-07-13 Thread Johannes Pfau via D.gnu
Am Sun, 13 Jul 2014 12:10:28 +0200 schrieb "Joseph Rushton Wakeling via D.gnu" : > Hello all, > > Is there a simple/trivial way to ensure that when I build GDC, I > build not only the native target for my machine (x86_64) but also the > arm-linux-gnueabi target? > > I decided it was time to star