ARM Cortex-M Microcontroller startup files

Timo Sintonen via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 27 21:41:17 PDT 2015


On Tuesday, 28 April 2015 at 02:11:06 UTC, Jens Bauer wrote:
> On Monday, 27 April 2015 at 05:19:52 UTC, Timo Sintonen wrote:
>> The build script:
>> ../gcc/configure --disable-bootstrap \
>> --enable-languages=c,d  --disable-nls --target=arm-eabi \
>> --without-headers  --with-newlib --without-isl --without-cloog 
>> \
>> --disable-libphobos --disable-libstdcxx --disable-libbacktrace\
>> --enable-multilib
>
> You probably didn't mean to have the backslash right next to 
> --disable-libbacktrace.
> This results in the following switch:
>
> --disable-libbacktrace--enable-multilib
>
> ... which makes it build alright. (multilib is enabled by 
> default).
> If adding a space before --enable-multilib, then I get a build 
> error; a part of cc1 seem to require libbacktrace.
>
> Thus I believe removing --disable-libbacktrace would be OK to 
> do.
>
> I'm still in the process of building/modifying, so it'll take a 
> while before I report my best results.
> So far, it looks like GCC-4.9.2 can be built with multilib if 
> using --disable-bootstrap.

Yes, my mistake. I just made a build with the corrected version 
with success.


More information about the Digitalmars-d mailing list