www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - GDC's restrictions?

reply Nils Hensel <nils.hensel web.de> writes:
Hello everyone,

I'd ike to know if there are any known restrictions to using GDC on 
Windows instead of DMD?

My reason for asking is the new GP2X handheld console from GamePark:
http://www.gbax.com/devx2.html

It is running a version of Linux and there will be a free SDK and gcc 
based compiler for developing applications/games.

I was planning on using D + derelict.sdl for this. Maybe one could even 
get a Lua binding running on it as well.

Anyway, I'm a Windows user and normally use DMD. But since the G2X 
compiler uses gcc I would have to try GDC for this purpose.

So what do you think? Is this possible or is there a big hindrance you 
can think of?

Best regards,
Nils
Sep 19 2005
parent reply David Friedman <d3rdclsmail_a_ _t_earthlink_d_._t_net> writes:
Nils Hensel wrote:
 Hello everyone,
 
 I'd ike to know if there are any known restrictions to using GDC on 
 Windows instead of DMD?
 
 My reason for asking is the new GP2X handheld console from GamePark:
 http://www.gbax.com/devx2.html
 
 It is running a version of Linux and there will be a free SDK and gcc 
 based compiler for developing applications/games.
 
 I was planning on using D + derelict.sdl for this. Maybe one could even 
 get a Lua binding running on it as well.
 
 Anyway, I'm a Windows user and normally use DMD. But since the G2X 
 compiler uses gcc I would have to try GDC for this purpose.
 
 So what do you think? Is this possible or is there a big hindrance you 
 can think of?
 
 Best regards,
 Nils

It is possible, but a few additions need to be made to GDC and Phobos to support arm-linux. I think I can do this using an existing Linux PDA kit. You will probably want to install the MinGW or Cygwin environment, depending on which on the GP2X SDK uses (nobody seems to know yet!) David
Sep 25 2005
parent Nils Hensel <nils.hensel web.de> writes:
David Friedman schrieb:
 Nils Hensel wrote:
 
 I'd ike to know if there are any known restrictions to using GDC on 
 Windows instead of DMD?

 My reason for asking is the new GP2X handheld console from GamePark:
 http://www.gbax.com/devx2.html

 It is running a version of Linux and there will be a free SDK and gcc 
 based compiler for developing applications/games.

 So what do you think? Is this possible or is there a big hindrance you 
 can think of?

It is possible, but a few additions need to be made to GDC and Phobos to support arm-linux. I think I can do this using an existing Linux PDA kit.

That would be awesome! I'm not too keen on having to go back to C(++). I believe once this works it could be a great way of attracting a whole new bunch of D users from the GP community as well. Anyway ... *stops counting unhatched chickens*
 You will probably want to install the MinGW or Cygwin environment, 
 depending on which on the GP2X SDK uses (nobody seems to know yet!)

I won't get my GP2X before November so I'll just have to wait and see. Best regards, Nils
Sep 26 2005