On 04/26/2015 07:29 PM, Jens Bauer wrote: > I may be able to put together some kind of recipe for building the > GCC+GDC I have. > Unfortunately, I have not been able to build with multilib yet, so my > setup cannot build code for Cortex-M0; it keeps stuffing Cortex-M3 and > Cortex-M4 instructions in there.
The wiki says to disable multilib (http://wiki.dlang.org/Bare_Metal_ARM_Cortex-M_GDC_Cross_Compiler#Build_GCC), what's the problem? Maybe ask Iain/Johannes if it's GDC specific. > -But if I build GCC without GDC, then I can build with multilib, and > make code for Cortex-M0. So I cannot have both. > > I know Mike have been working on this. Hopefully one of us will find a > solution. What libc are you using? The gcc-arm-embedded project uses newlib and newlib-nano. https://launchpad.net/gcc-arm-embedded
