[GHC] #9895: No -mtriple param being passed to opt/llc when cross compiling
GHC
ghc-devs at haskell.org
Thu Dec 18 04:14:26 UTC 2014
#9895: No -mtriple param being passed to opt/llc when cross compiling
-------------------------------------+-------------------------------------
Reporter: erikd | Owner: erikd
Type: feature | Status: new
request | Milestone: 7.10.1
Priority: normal | Version: 7.9
Component: Compiler | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: | Difficulty: Moderate (less
Unknown/Multiple | than a day)
Type of failure: | Blocked By:
None/Unknown | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Comment (by erikd):
Luite clued me in on the existance of a "settings" file which is read by
the function `initSysTools` in the `SysTools` module. Currently the extra
options for LLVM's `opt` and `llc` are initialized as:
{{{#!hs
sOpt_lo = [],
sOpt_lc = [],
}}}
Adding the `-mtriple=...` option here seems the obvious place.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9895#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list