Re: Testing GDC (GCC 7.1) on Runtime-less ARM Cortex-M

2017-07-17 Thread Iain Buclaw via D.gnu
On 18 July 2017 at 01:19, Iain Buclaw wrote: > On 17 July 2017 at 22:26, Mike via D.gnu wrote: >> On Wednesday, 28 June 2017 at 22:17:09 UTC, Iain Buclaw wrote: >> >>> A thought just occurred to me, you are compiling the entire program + >>> object.d right? Nothing else will link/be linked to th

Re: Testing GDC (GCC 7.1) on Runtime-less ARM Cortex-M

2017-07-17 Thread Iain Buclaw via D.gnu
On 17 July 2017 at 22:26, Mike via D.gnu wrote: > On Wednesday, 28 June 2017 at 22:17:09 UTC, Iain Buclaw wrote: > >> A thought just occurred to me, you are compiling the entire program + >> object.d right? Nothing else will link/be linked to the binary? >> >> If that is the case, you should defi

Re: Testing GDC (GCC 7.1) on Runtime-less ARM Cortex-M

2017-07-17 Thread Mike via D.gnu
On Wednesday, 28 June 2017 at 22:17:09 UTC, Iain Buclaw wrote: A thought just occurred to me, you are compiling the entire program + object.d right? Nothing else will link/be linked to the binary? If that is the case, you should definitely compile with -fwhole-program. I suspect that may c