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-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 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-21 Thread Dmitry Ponyatov via D.gnu
```sh gdc --version ``` ``` gdc (Debian 8.3.0-6) 8.3.0 ```

cross-GDC for tiny embedded Linux

2023-10-21 Thread Dmitry Ponyatov via D.gnu
I'm trying to build a tiny Linux system with cross-compiling GDB: https://github.com/ponyatov/player/blob/shadow/Makefile ``` BINUTILS_VER = 2.41 GCC_VER = 13.2.0 ``` ```sh cat /etc/os-release ``` ``` PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION