You've tried building the compiler. You've not investigated the prerequisites, some of which might not be apparent until your program is linked (see my earlier comment about symlinks and .so files).
Oh, and you've not really told us exactly /what/ went wrong.
MarkMLl
Hello again!
I have followed the instructions to be found here:
https://www.nongnu.org/gm2/11/building.htmlIt seemed that the compilation was successful (make step) and the installation too (make install step). BUT:
a) for instance no gm2 executable was to be found in my system
b) when I tried to compile a sample program it did not work (I tried what you wrote as well, but nothing) -so the switches, probably, were not the actual problem
Regarding the prerequisites, well, I did all the necessary steps mentioned in the link above (which, strangely enough mentions only Debian as the "test bed").
Of course, eventually, something went wrong but I can not estimate what was that. That's why my latest question on alternatives.
Thank you.
PS #1 In PKG.ORG I saw just a few distros (like Fedora and Slackware) which have gm2 in their repos -except Debian. PS #2 Moreover, I searched for Void + GM2 but in vain...
PS #3 Another solution was to have multiple GNU GCC installations on my system (since my distro does not ship gm2),
but again such a move was neither advised nor easy in practice.