Re: D target "layers" (was: D Cross Compiler)

2011-04-18 Thread Iain Buclaw
== Quote from Brendan Simon (eTRIX) (brendan.si...@etrix.com.au)'s article > On 19/04/2011 5:00 AM, d.gnu-requ...@puremagic.com wrote: > > From: Daniel Green > > On 4/18/2011 5:15 AM, Kagamin wrote: > >> > Such feature would be fantastic. > > I don't see this becoming a feature of D for quite some

D target "layers" (was: D Cross Compiler)

2011-04-18 Thread Brendan Simon (eTRIX)
On 19/04/2011 5:00 AM, d.gnu-requ...@puremagic.com wrote: From: Daniel Green On 4/18/2011 5:15 AM, Kagamin wrote: > Such feature would be fantastic. I don't see this becoming a feature of D for quite some time if ever although it would make the enforcement easier. Once the subsets are defined

Re: D Cross Compiler

2011-04-18 Thread Iain Buclaw
== Quote from Daniel Green (ven...@gmail.com)'s article > On 4/18/2011 5:15 AM, Kagamin wrote: > > Such feature would be fantastic. > I don't see this becoming a feature of D for quite some time if ever > although it would make the enforcement easier. > Once the subsets are defined the next challen

Re: D Cross Compiler

2011-04-18 Thread Daniel Green
On 4/18/2011 5:15 AM, Kagamin wrote: Such feature would be fantastic. I don't see this becoming a feature of D for quite some time if ever although it would make the enforcement easier. Once the subsets are defined the next challenge is enforcing them. Two ideas come to me right now. Enforcin

Re: D Cross Compiler

2011-04-18 Thread Kagamin
Daniel Green Wrote: > The Windows driver module, possibly others I'm just familiar with that > one, may be a good way to think of the problem. Essentially one has > layers that would give access to an increasing subset of D until you > reach the full capabilities offered. > > bare-metal : D s

Re: D Cross Compiler

2011-04-16 Thread Daniel Green
On 4/16/2011 9:21 PM, Brendan Simon (eTRIX) wrote: I believe that eCos is written in C++ (or a restricted subset), and I presume that it performs quite well, so given that, I see no reason why a D based OS/RTOS could not perform as well as eCos or other OSes. Squeak is a good example of that too

Re: D Cross Compiler

2011-04-16 Thread Brendan Simon (eTRIX)
On 15/04/2011 5:00 AM, d.gnu-requ...@puremagic.com wrote: > Date: Wed, 13 Apr 2011 23:30:24 + (UTC) > From: Iain Buclaw > > == Quote from Brendan Simon (eTRIX) (brendan.si...@etrix.com.au)'s article >> > >> > Can D be used in low-level drivers for Linux or other RTOS >> (e.g. freertos) >>> > >

Re: D Cross Compiler

2011-04-13 Thread Iain Buclaw
== Quote from Iain Buclaw (ibuc...@ubuntu.com)'s article > == Quote from Brendan Simon (eTRIX) (brendan.si...@etrix.com.au)'s article > > On 14/04/11 5:00 AM, d.gnu-requ...@puremagic.com wrote: > > > Date: Wed, 13 Apr 2011 16:12:13 + (UTC) From: Iain Buclaw > > > == Quote from Brendan Simon (e

Re: D Cross Compiler

2011-04-13 Thread Iain Buclaw
== Quote from Brendan Simon (eTRIX) (brendan.si...@etrix.com.au)'s article > On 14/04/11 5:00 AM, d.gnu-requ...@puremagic.com wrote: > > Date: Wed, 13 Apr 2011 16:12:13 + (UTC) From: Iain Buclaw > > == Quote from Brendan Simon (eTRIX) > > (brendan.si...@etrix.com.au)'s article > >> > Can D be

Re: D Cross Compiler

2011-04-13 Thread Brendan Simon (eTRIX)
On 14/04/11 5:00 AM, d.gnu-requ...@puremagic.com wrote: > Date: Wed, 13 Apr 2011 16:12:13 + (UTC) From: Iain Buclaw > == Quote from Brendan Simon (eTRIX) > (brendan.si...@etrix.com.au)'s article >> > Can D be used in low-level drivers for Linux or other RTOS (e.g. >> > freertos) ?? > D is not

Re: D Cross Compiler

2011-04-13 Thread Iain Buclaw
Hi Brendan, For reference purposes, repeating what I've already said before elsewhere. == Quote from Brendan Simon (eTRIX) (brendan.si...@etrix.com.au)'s article > Can GDC (or DMD) be built as a cross compiler ?? e.g. targeting ARM or > MIPS or PowerPC, etc ?? I'm presuming this should be no prob

Re: D Cross Compiler

2011-04-13 Thread Jacob Carlborg
On 2011-04-13 02:59, Brendan Simon (eTRIX) wrote: Can GDC (or DMD) be built as a cross compiler ?? e.g. targeting ARM or MIPS or PowerPC, etc ?? I'm presuming this should be no problem for GCC ?? Theoretically there shouldn't be a problem for GDC or LDC (D frontend with LLVM backend) to genera

D Cross Compiler

2011-04-12 Thread Brendan Simon (eTRIX)
Can GDC (or DMD) be built as a cross compiler ?? e.g. targeting ARM or MIPS or PowerPC, etc ?? I'm presuming this should be no problem for GCC ?? My development/host platforms are OS X and Debian Linux. Are there any prebuilt binaries for such cross-compilers ?? BTW, does GDC generate C++ code f