diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-04-23 15:10:26 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-04-23 15:17:51 +0100 |
commit | 8908ba31c4dcb6ce619ec46e88fbbac78651a04b (patch) | |
tree | 149d01a16dc2a7477ef4f3f6c13cd33b0865b271 /ghc | |
parent | 2fa6873faf16a0f3b23742222a00f0647554395b (diff) | |
download | haskell-8908ba31c4dcb6ce619ec46e88fbbac78651a04b.tar.gz |
ghc: tweak cross-compilation to mingw32
The build failure when cross-compiling from
linux to windows looks like:
HC [stage 1] ghc/stage2/build/tmp/ghc-stage2.exe
Call hs_init_ghc() from your main() function to set these options.
/usr/libexec/gcc/i686-w64-mingw32/ld: cannot find -lHSghc-8.3-0
Similar to commit 745032dd02da511067c2939259ed212852187e0f
("rts: tweak cross-compilation to mingw32") decision to split
stage2 should be done based based on TargetOS, not HostOS.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'ghc')
0 files changed, 0 insertions, 0 deletions