[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issues with Haskell's ghc
From: |
Vasilii Kolobkov |
Subject: |
Re: Issues with Haskell's ghc |
Date: |
Tue, 02 Jul 2019 14:50:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Ricardo Wurmus <address@hidden> writes:
>> 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.
Much thanks, Ricardo, missing gcc-toolchain it was!
Does anybody know why ghc doesn't have gcc-toolchain among it's
dependencies? In the unlikely case of it being an unintended situation,
i'd be up for fixing it.