Re: cross-GDC for tiny embedded Linux

2023-11-25 Thread Dmitry Ponyatov via D.gnu
Did you solve it? No, project delayed until I'll have enough deep qualification in system-level D coding

Re: cross-GDC for tiny embedded Linux

2023-10-30 Thread Imperatorn via D.gnu
On Wednesday, 25 October 2023 at 17:11:11 UTC, Dmitry Ponyatov wrote: How/where are you referencing mmap64? Could some include be missing or path issue? ref/gcc-12.3.0/libphobos/libdruntime/core/internal/gc/os.d:145 ref/gcc-12.3.0/libphobos/libdruntime/core/thread/fiber.d:1050 host/lib/gcc/i686

Re: cross-GDC for tiny embedded Linux

2023-10-25 Thread Dmitry Ponyatov via D.gnu
How/where are you referencing mmap64? Could some include be missing or path issue? ref/gcc-12.3.0/libphobos/libdruntime/core/internal/gc/os.d:145 ref/gcc-12.3.0/libphobos/libdruntime/core/thread/fiber.d:1050 host/lib/gcc/i686-linux-musl/12.3.0/../../../../i686-linux-musl/lib/libgphobos.a(os.o) e

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

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.

Re: cross-GDC for tiny embedded Linux

2023-10-21 Thread Dmitry Ponyatov via D.gnu
```sh gdc --version ``` ``` gdc (Debian 8.3.0-6) 8.3.0 ```