help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issues with Haskell's ghc


From: Ricardo Wurmus
Subject: Re: Issues with Haskell's ghc
Date: Mon, 01 Jul 2019 23:43:09 +0200
User-agent: mu4e 1.2.0; emacs 26.2

Hi Vasilii,

> I've run aground with Haskell's ghc (interpreter works fine) - running
> ghc on a basic hello world program fails.  I identified couple issues:
>
>  - Include directory for linux headers wasn't passed to gcc
>    (`C_INCLUDE_PATH=/gnu/... ghc` fixed it)
>  - Lib C's crti.o and crt1.o where not found during linking
>    (fixed with `LIBRARY_PATH=/gnu/... ghc`)

These two points sound like “gcc-toolchain” should be installed
alongside GHC.

--
Ricardo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]