bug#72669: gcc-toolchain environment variables

2024-11-07 Thread Thomas Schwinge
Indeed this is a problem, when attempting to build GCC in a Guix profile with 'gcc-toolchain' installed. What you may do is create wrapper binaries so that the Guix GCC's 'etc/profile' is only active if using the Guix GCC (that is, when building your cross-GCC's compilers), but isn't active (and t

bug#72669: gcc-toolchain environment variables

2024-08-16 Thread creightor via Bug reports for GNU Guix
Hi, it looks like having the C_INCLUDE_PATH and CPLUS_INCLUDE_PATH environment variables set by the gcc-toolchain package in a profile can cause issues. For example, I have gcc-toolchain installed, compiled a cross-binutils for aarch64-elf and then tried to compile a gcc cross-compiler for the