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= corre
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= corre
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 =
Hi,
Tomas Volf <~@wolfsden.cz> writes:
When I try to compile your source code using
guix shell -C gcc-toolchain -- g++ x.cpp
it does work. Could you try it as well to check whether it will
work at least
in a pure environment?
That also works for me. If, however, I also include
=gfortra
On 2024-03-01 10:50:38 +0100, Baptiste Demoulin wrote:
> Hello,
>
> I encountered a problem today with the =g++= compiler from the package
> =gcc-toolchain=. When compiling a simple hello world program:
>
> #+begin_src c++
> #include
> int main () {
>std::cout << "Hello World\n";
>retur
Hello,
I encountered a problem today with the =g++= compiler from the
package =gcc-toolchain=. When compiling a simple hello world
program:
#+begin_src c++
#include
int main () {
std::cout << "Hello World\n";
return 0;
}
#+end_src
with:
#+begin_src bash
g++ hello.cc
#+end_src