Re: compile error on ppc64 little endian

2021-08-17 Thread Iain Buclaw via D.gnu
On Tuesday, 17 August 2021 at 18:18:35 UTC, Mahdi wrote: ○ → powerpc64le-linux-gnu-gcc-10 -S app.d app.d:1:8: error: module stdio is in file 'std/stdio.d' which cannot be read 1 | import std.stdio; |^ import path[0] = /usr/lib/gcc-cross/powerpc64le-linux-g

d.gnu@puremagic.com

2021-08-17 Thread max haughton via D.gnu
On Tuesday, 17 August 2021 at 18:39:27 UTC, Mahdi wrote: On Monday, 16 August 2021 at 10:05:08 UTC, Iain Buclaw wrote: [...] Why does a simple or empty Hello program generate a lot of assembly output for the risc-v architecture, but not for the ARM and X86 architectures? Need an example.

d.gnu@puremagic.com

2021-08-17 Thread Mahdi via D.gnu
On Monday, 16 August 2021 at 10:05:08 UTC, Iain Buclaw wrote: On Monday, 16 August 2021 at 09:28:41 UTC, Mahdi wrote: [...] There's nothing specifically tied to ARM in LWDR per-say. Maybe that'll change once exception support gets added (ARM EABI unwinder follows a different ABI), but I'm s

compile error on ppc64 little endian

2021-08-17 Thread Mahdi via D.gnu
○ → powerpc64le-linux-gnu-gcc-10 -S app.d app.d:1:8: error: module stdio is in file 'std/stdio.d' which cannot be read 1 | import std.stdio; |^ import path[0] = /usr/lib/gcc-cross/powerpc64le-linux-gnu/10/include/d This is a simple hello program that I w