https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122744
--- Comment #7 from bug-reports.delphin at laposte dot net --- Thank you very much everybody. According your advices, please note that now I succeeded to build GNAT from source with GNU compilers suite version 15.2.0. First, I set the CC and CXX compilers as you said earlier : CC (gcc) and CXX (g++) from the GNAT Community Edition (GNAT-CE) downloaded from Ada Core. It works almost... gcc (GNAT-CE) works, but not g++ : at one stemp of compilation, the processus stopped with the following message. The g++/GNAT-CE is not c++14 compatible (NB But I have not tested in forcing this compiler with -std=c++14). So, I made the decision to set the C++ compiler as : /usr/bin/clang++ (the Apple clang++ provided with Xcode for Monterey), remaining the gcc/GNAT-CE. And it works ! Next, I tested it with a Hello World software. Success too, as indicated in the two pictures enclosed. Again, I do regret that the Apple clang/clang++ do not work together. And I don't understand why. Thank you very much for all ! Kind regards, L. D.
