Ricardo Wurmus <[email protected]> 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.
