Re: gdc for rv32&64

2021-08-23 Thread jfondren via D.gnu
On Wednesday, 18 August 2021 at 08:09:36 UTC, Iain Buclaw wrote: On Wednesday, 18 August 2021 at 07:08:09 UTC, Mahdi wrote: A helloworld program on the X86_64-pc-linux-gnu platform contains 40 lines of assembly code or on the ARM (aarch64-linux-gnu) platform only 34 lines of assembly code,

Re: gdc for rv32&64

2021-08-18 Thread Iain Buclaw via D.gnu
On Wednesday, 18 August 2021 at 07:08:09 UTC, Mahdi wrote: On Tuesday, 17 August 2021 at 20:39:29 UTC, max haughton wrote: 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

Re: gdc for rv32&64

2021-08-18 Thread Mahdi via D.gnu
On Tuesday, 17 August 2021 at 20:39:29 UTC, max haughton wrote: 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

Re: gdc for rv32&64

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.

Re: gdc for rv32&64

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

Re: gdc for rv32&64

2021-08-16 Thread Iain Buclaw via D.gnu
On Monday, 16 August 2021 at 09:28:41 UTC, Mahdi wrote: On Monday, 16 August 2021 at 08:43:40 UTC, Iain Buclaw wrote: The list of targets on that site is only what's present in

Re: gdc for rv32&64

2021-08-16 Thread Mahdi via D.gnu
On Monday, 16 August 2021 at 08:43:40 UTC, Iain Buclaw wrote: The list of targets on that site is only what's present in [contrib/config-list.mk](https://github.com/gcc-mirror/gcc/blob/91292490d573f9f9e4f162d6d8c693a969197f2d/contrib/config-list.mk#L32-L105), which is just a bunch of

Re: gdc for rv32&64

2021-08-16 Thread Iain Buclaw via D.gnu
On Sunday, 15 August 2021 at 19:42:11 UTC, Mahdi wrote: On Sunday, 15 August 2021 at 17:22:28 UTC, max haughton wrote: On Sunday, 15 August 2021 at 15:03:26 UTC, Mahdi wrote: Hi Iain Buclaw, we appreciate your efforts in the d for the gnu ecosystem. but what is the status of gdc for risc-v

Re: gdc for rv32&64

2021-08-16 Thread Mahdi via D.gnu
On Sunday, 15 August 2021 at 20:11:23 UTC, max haughton wrote: By elf target you mean that it doesn't assume the existence of Linux APIs? What's the difference? It will be outputting an elf binary I don't know, so far I have worked on each C target with riscv64-unknown-elf-gcc, So far I have

Re: gdc for rv32&64

2021-08-15 Thread max haughton via D.gnu
On Sunday, 15 August 2021 at 19:42:11 UTC, Mahdi wrote: On Sunday, 15 August 2021 at 17:22:28 UTC, max haughton wrote: On Sunday, 15 August 2021 at 15:03:26 UTC, Mahdi wrote: Hi Iain Buclaw, we appreciate your efforts in the d for the gnu ecosystem. but what is the status of gdc for risc-v

Re: gdc for rv32&64

2021-08-15 Thread Mahdi via D.gnu
On Sunday, 15 August 2021 at 17:22:28 UTC, max haughton wrote: On Sunday, 15 August 2021 at 15:03:26 UTC, Mahdi wrote: Hi Iain Buclaw, we appreciate your efforts in the d for the gnu ecosystem. but what is the status of gdc for risc-v architecture, especially newlib? explore.dgnu.org Have a

Re: gdc for rv32&64

2021-08-15 Thread max haughton via D.gnu
On Sunday, 15 August 2021 at 15:03:26 UTC, Mahdi wrote: Hi Iain Buclaw, we appreciate your efforts in the d for the gnu ecosystem. but what is the status of gdc for risc-v architecture, especially newlib? explore.dgnu.org Have a play with that, RISC-V should work perfectly fine for low