On Thu, Mar 16, 2023 at 01:58:57PM +0100, Mark Wielaard wrote: > On Thu, 2023-03-16 at 10:28 +0100, Thomas Schwinge wrote: > > I'm now also putting Mark Wielaard in CC; he once also started discussing > > this topic, "thinking of importing a couple of gnulib modules to help > > with UTF-8 processing [unless] other gcc frontends handle [these things] > > already in a way that might be reusable". See the thread starting at > > <https://inbox.sourceware.org/gcc/ypqrmbhyu3wrp...@wildebeest.org> > > "rust frontend and UTF-8/unicode processing/properties". > > Thanks. BTW. I am not currently working on this. > Note the responses in the above thread by Ian and Jason who pointed out > that some of the requirements of the gccrs frontend might be covered in > the go frontend and libcpp, but not really in a reusable way.
libcpp can be certainly linked into the gccrs FE and specific functions called from it even if libcpp isn't used as a preprocessor for the language. Small changes to libcpp are obviously possible as well to make it work. Jakub