safeD

Mark T Marktxx at yahoo.com
Sat Mar 9 11:47:10 PST 2013


On Saturday, 9 March 2013 at 19:07:31 UTC, jerro wrote:
>> Is this suitable for embedded targets such as ARM Cortex 32 
>> bit?
>
> For ARM, your best bet is to follow this guide to build a GDC 
> cross-compiler (probably easiest to build on a Linux host):
>
> http://gdcproject.org/wiki/Cross%20Compiler/crosstool-NG
>
> I don't know what kind of ARM Cortex you have in mind and what 
> OS do you need to use. If you mean Cortex A8, A9 or A15 and if 
> your target OS is GNU/Linux, then you can use Druntime and 
> Phobos. I haven't used GDC on ARM enough to know if everything 
> in Druntime and Phobos works, but the parts that I have used 
> did work. In this case you should be able to SafeD too, as it's 
> just a subset of D.

    Thanks for the input - but where is SafeD defined? Is there a 
compiler switch?
I haven't looked at D in a while, it was just too big for ARM 
Cortex M, smaller PowerPC and similar targets - a google search 
got me to the SafeD topic.



More information about the Digitalmars-d mailing list