Formbi wrote:

> Hello!
> 
> I'd like to make gccemacs work in Guix. Joseph LaFreniere made this libgccjit 
> package:
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40045
> and I made this: https://termbin.com/06cmr
> 
> When I try to build gccemacs, I'm getting errors like this:
> ld: cannot find crtbeginS.o: No such file or directory
> ld: cannot find -lgcc
> ld: cannot find -lgcc
> libgccjit.so: error: error invoking gcc driver
> 
> This seems to be connected to this problem:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87808
> but I don't know how to fix this. I tried adding gcc-toolchain to inputs
> of libgccjit and gccemacs, but it didn't help.

Hi Formbi,

I'm quite ignorant on guix but the libgccjit error is potentially
related to the LIBRARY_PATH value.

Here a nice description of what libgccjit expects to find in that
respect:

https://gcc.gnu.org/onlinedocs/jit/internals/index.html#environment-variables

Hope it helps.

Best Regards

  Andrea

-- 
a...@sdf.org

Reply via email to