all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vasilii Kolobkov <vasilii@orangeshoelaces.net>
To: help-guix@gnu.org
Subject: Issues with Haskell's ghc
Date: Mon, 01 Jul 2019 19:18:09 +0200	[thread overview]
Message-ID: <877e91vfla.fsf@orangeshoelaces.net> (raw)

Hello guix!

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`)
 - libgmp and libffi aren't passed to linker's -rpath

If anybody uses Haskell here, i'd appreciate any insights on what might
be the root cause here.

Thanks!

             reply	other threads:[~2019-07-01 20:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-01 17:18 Vasilii Kolobkov [this message]
2019-07-01 21:43 ` Issues with Haskell's ghc Ricardo Wurmus
2019-07-02 12:50   ` Vasilii Kolobkov
  -- strict thread matches above, loose matches on Subject: below --
2019-08-03 10:15 Prateem Mandal
2019-08-04 12:35 ` Ricardo Wurmus
2019-08-04 18:41   ` Prateem Mandal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877e91vfla.fsf@orangeshoelaces.net \
    --to=vasilii@orangeshoelaces.net \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.