【问题标题】:How Cabal can be configured to use target-prefixed readelf executable如何将 Cabal 配置为使用以目标为前缀的 readelf 可执行文件
【发布时间】:2015-08-14 16:12:41
【问题描述】:

当我第二次执行cabal build 时:

readelf: readProcessWithExitCode: runInteractiveProcess: exec: does not exist (No such file or directory)

来自strace,我确认它会查找readelf 可执行文件,该可执行文件在我的系统上具有目标前缀并且看起来像x86_64-pc-linux-gnu-readelf

有什么方法可以配置 Cabal 和/或 GHC 以查找 readelf 的特定位置?

【问题讨论】:

    标签: ghc cabal cabal-install


    【解决方案1】:

    目前没有这样的方法。但是使用https://ghc.haskell.org/trac/ghc/ticket/10974,我们会得到-pgmreadelf

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-07-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-03-29
      相关资源
      最近更新 更多