How to best reference ltdl.m4?

2022-07-25 Thread Zopolis0 via Gcc
As part of my gcj work, I need to call a couple of variables and functions from ltdl.m4 (installed in usr/share/aclocal, as part of libltdl). Should I reference the system installed copy? How would I do that? Or should I copy it into the gcc root directory, like what was done with libtool.m4? If

Importable STL Header Units?

2022-07-25 Thread Zopolis0 via Gcc
Currently, when importing the standard library, one has to separately compile each unit they want to use, which is a hindrance to the build process and a gap in the implementation. Is there any particular reason why gcc doesn't provide importable header units for the standard library? Is there a t

std::format support?

2022-06-14 Thread Zopolis0 via Gcc
There was some discussion around std::format support 2 years ago, with people suggesting to just use the fmt code, and others suggesting that an independent implementation might be of higher quality. 2 years have since passed, and we have no implementation, of higher or identical quality. Could we

How to regenerate aclocal.m4?

2022-04-29 Thread Zopolis0 via Gcc
I'm trying to regenerate autotools files in liboffloadmic (and other directories) but when running automake it tells me I need to run aclocal, which gives me a warning about not finding AM_ENABLE_MULTILIB in library, which then translates into an autoconf error. How do I fix this? Is there a specif

Various errors encountered while compiling gcj.

2022-04-01 Thread Zopolis0 via Gcc
While attempting to compile gcc with gcj re-added, the compilation fails on a varying number of errors. I have solved most of the errors, but these are the remaining ones I am stuck on. The code I am building from is available here: https://github.com/Zopolis4/gcj/tree/gcjmainbuild . My apologies f