help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with g++ and iostream


From: Baptiste Demoulin
Subject: Re: Problem with g++ and iostream
Date: Fri, 01 Mar 2024 13:40:55 +0100
User-agent: mu4e 1.10.8; emacs 29.1


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 issue: =gfortran-toolchain= corresponds to GCC 11.3.0, while =gcc-toolchain= corresponds to version 13.2.0. Using:

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

now works without errors.

bests,

baptiste




--
Baptiste Demoulin <baptiste.demoulin@univ-amu.fr>
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

[Prev in Thread] Current Thread [Next in Thread]