Simon Tournier <zimon.touto...@gmail.com> writes:

Hi Simon

> Very late reply… Sorry.  If the question is still unanswered. :-)

I figured a way to do it. I create a new package from the gcc package:

(define-public gcc-standalone
  (package
    (inherit gcc)
    (name "gcc-standalone")))

this allows me to install it as a modulefile.

> Depending on how you created the modulefile, you need to unset
> LD_LIBRARY_PATH.  Do you use the package “guix-modules” which creates
> Modulefiles using Guix?

Yes I am using the guix-modules command, but I have no idea to unset
LD_LIBRARY_PATH in the generated modulefile.

I have no idea if this is the correct way or if I should always use
gcc-toolchain?

Thanks for coming back to this.

Best,
Reza

Reply via email to