That also works for me. If, however, I also include =gfortran-toolchain= in the mix

   guix shell -C gcc-toolchain gfortran-toolchain -- g++ x.cpp

then I come back to the same error as before.
I found out the problem: =gfortan-toolchain= is at version =11.3.0=, while =gcc-toolchain= is at =13.2.0=. Using:

guix shell -C [email protected] gfortran-toolchain -- g++ x.cpp

works as expected, without any error.

bests,

baptiste



--
Baptiste Demoulin <[email protected]>
Research Engineer (Ingénieur de Recherche, CNRS)
Centre Interdisciplinaire de Nanoscience de Marseille (CINaM)
Département Théorie et Simulation Numérique
Campus de Luminy – Case 913
13288 MARSEILLE Cedex 09

Reply via email to