Re: cross-GDC for tiny embedded Linux

2023-10-22 Thread Imperatorn via D.gnu
On Sunday, 22 October 2023 at 21:52:18 UTC, Dmitry Ponyatov wrote: [...] fixed by moving to `musl` usage -- not a surprise that `uClibc` becomes obsoleted libc comparing their compilation time, configuration complexity, and incompatibility with modern toolchains [...] How/where are you r

Re: cross-GDC for tiny embedded Linux

2023-10-22 Thread Dmitry Ponyatov via D.gnu
Here the next problem of building `gcc-12.3.0` with `uClibc-ng-1.0.44` (i386 target): fixed by moving to `musl` usage -- not a surprise that `uClibc` becomes obsoleted libc comparing their compilation time, configuration complexity, and incompatibility with modern toolchains But the next li

riscv-unknown-elf-as wont accept .section

2023-10-22 Thread Paul via D.gnu
I'm following a tutorial that offers this file (start.s), .section ".text.boot" .globl _start _start: la sp, _stack_start call dstart _hlt: j _hlt # jump to _hlt ...assembled with this, **riscv64-unknown-elf-as -mno-relax -march=rv64imac start.s -c -o sta

Re: cross-GDC for tiny embedded Linux

2023-10-22 Thread Dmitry Ponyatov via D.gnu
Here the next problem of building `gcc-12.3.0` with `uClibc-ng-1.0.44` (i386 target): ``` libtool: compile: /home/ponyatov/player/tmp/gcc-12.3.0-1/./gcc/gdc -B/home/ponyatov/player/tmp/gcc-12.3.0-1/./gcc/ -B/home/ponyatov/player/host/i686-linux-uclibc/bin/ -B/home/ponyatov/player/host/i686-l

Re: cross-GDC for tiny embedded Linux

2023-10-22 Thread Dmitry Ponyatov via D.gnu
You'll need at least gcc-9/gdc-9 to build gcc-13. Version problem was fixed by building `gcc-12.3.0` with `gdc` enabled on local host, and using it for the whole build in place of system-provided `gcc` toolchain. ```Makefile # version GCC_VER = 12.3.0 ``` ```Makefile # tool GDCH = /usr/

Re: cross-GDC for tiny embedded Linux

2023-10-22 Thread Iain Buclaw via D.gnu
On Saturday, 21 October 2023 at 23:13:57 UTC, Dmitry Ponyatov wrote: ```sh gdc --version ``` ``` gdc (Debian 8.3.0-6) 8.3.0 ``` You'll need at least gcc-9/gdc-9 to build gcc-13.