gcc-12+: D / phobos runtime

2023-09-03 Thread ASSI
Starting with gcc-12, gcd needs a D compiler to bootstrap, but gcc-11 does not allow to build the necessary runtime on all platforms (Cygwin for instance). How is the prospective bootstrap sequence on such platforms? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk

Re: gcc-12+: D / phobos runtime

2023-09-12 Thread ASSI
Richard Biener via Gcc writes: > I think we should fix this build problems. Is there a bugzilla with > more details about the problem? No, I don't have an account on that bugtracker. It is possible that the build would perhaps work, but the configure check for the presence of a D compiler requir

Re: gcc-12+: D / phobos runtime

2023-09-12 Thread ASSI
Rainer Orth writes: > Just try to configure gcc with --enable-libphobos, which overrides the > default of LIBPHOBOS_SUPPORTED. In quite a number of cases, this just > works, but hasn't yet been verified. You won't know until you try, > though. I did that and it indeed doesn't build. Regards, A

Re: gcc-12+: D / phobos runtime

2023-09-12 Thread ASSI
Iain Sandoe writes: > also you can add —with-libphobos-druntime-only to the GCC-11 build, that > makes a compiler sufficient for bootstrapping 12+ and is much less demanding > on completeness of OS support. I think I tried that as well and failed, but thsi was likely on an earlier gcc-11 or even g

Re: gcc-12+: D / phobos runtime

2023-09-12 Thread ASSI
Richard Biener via Gcc writes: >> It is possible that the build would perhaps work, but the configure >> check for the presence of a D compiler requires not just the compiler, >> but also a runtime and thus fails on Cygwin. > > The alternative then ist to build D with a cross compiler. Which also