[GHC] #8127: iOS patch no 19: Linking
GHC
ghc-devs at haskell.org
Sat Aug 24 04:13:39 CEST 2013
#8127: iOS patch no 19: Linking
-------------------------------------+-------------------------------------
Reporter: | Owner:
StephenBlackheath | Status: patch
Type: bug | Milestone:
Priority: normal | Version: 7.7
Component: Compiler | Keywords:
Resolution: | Architecture: arm
Operating System: Other | Difficulty: Moderate (less
Type of failure: GHC doesn't work | than a day)
at all | Blocked By:
Test Case: | Related Tickets:
Blocking: 7724 |
-------------------------------------+-------------------------------------
Comment (by thoughtpolice):
LGTM for the most part. A few notes:
* Does `-staticlib` make sense on other systems? Could I also, for
example create a `.a` on Linux and link it into something there with a
foreign build system. If so, it should be clear. If not, I'd at least like
a defensive warning that `-staticlib` is only supported when the OS is
`OSiOS`.
* On that note, I'd prefer it if 'libtool' was overrideable, since we
may not be sure what libtool someone is exactly using, and breaking this
convention seems awkward. I'm not very picky on a flag name, but 'libtool'
is certinly a fine default (and requires no more effort for iOS.)
* If it's actually possible to do this, can we see some tests? The
build system should support you creating an '.a' file and linking it, but
if this is too complicated please say so.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8127#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list