D for embedded system

Iain Buclaw ibuclaw at ubuntu.com
Sat Nov 3 10:39:17 PDT 2012


On 3 November 2012 12:44, Timo Sintonen <t.sintonen at luukku.com> wrote:
> I have started to make a minimum libdruntime. First I compiled object and
> now I am adding files one by one when needed.
> The compiler generates lots of library calls. So far I have found these
> flags to get the code smaller and to reduce library calls: -fno-assert
> -fno-invariants and -fno-bouns-check.
> Is there any other options that would make the executable more simple?
>
>

Release/no bounds check would probably generate the least amount of
library calls:  -frelease -fno-bounds-check


-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the D.gnu mailing list