From: Baptiste Demoulin <baptiste.demoulin@univ-amu.fr>
Cc: Tomas Volf <~@wolfsden.cz>, help-guix@gnu.org
Subject: Re: Problem with g++ and iostream
Date: Fri, 01 Mar 2024 13:43:24 +0100 [thread overview]
Message-ID: <87zfvi9l6u.fsf@univ-amu.fr> (raw)
In-Reply-To: <87le72b6df.fsf@univ-amu.fr>
> 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
prev parent reply other threads:[~2024-03-01 13:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-01 9:50 Problem with g++ and iostream Baptiste Demoulin
2024-03-01 10:10 ` Tomas Volf
2024-03-01 10:18 ` Baptiste Demoulin
2024-03-01 12:36 ` Baptiste Demoulin
2024-03-01 12:40 ` Baptiste Demoulin
2024-03-01 12:43 ` Baptiste Demoulin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zfvi9l6u.fsf@univ-amu.fr \
--to=baptiste.demoulin@univ-amu.fr \
--cc=help-guix@gnu.org \
--cc=~@wolfsden.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.