D for embedded system
ibuclaw at ubuntu.com
Thu Oct 18 06:09:52 PDT 2012
On 18 October 2012 12:36, Timo Sintonen <t.sintonen at luukku.com> wrote:
> I have written programs with C for Arm Cortex controller boards. I think
> that D might be an interesting nut simple enough oo language. So far I have
> a working gdc for my target, but I can not compile the runtime library
> because of too many os related assertions.
> With my own makefile I can compile part of the library, so I know tha
> compiler is working. Is there a way to make a minimum library? Embedded
> systems do not have file systems or streams or many other things that
> operating systems have. There would be no need for the whole libaray, but
> the compiler needs at least the Object class.
> So is it possible to configure a minimum library or should I just look at
> every file and remove everything that is not needed?
What OS are you working on?
*(p < e ? p++ : p) = (c & 0x0f) + '0';
More information about the D.gnu