<p dir="ltr">Stack has a command line argument --arch, mostly intended for the Windows case. Try stack --install-ghc --arch i386 build, it should do what you want.</p>
<br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 16, 2015, 5:22 PM Mike Meyer <<a href="mailto:mwm@mired.org">mwm@mired.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I've got someone who wants to run one of my haskell apps on a 32-bit Windows 10 box. I've pretty  much moved to 64-bit everywhere, so don't have such a system to build on.<div><br></div><div>Is it possible to get stack/cabal/ghc to build a 32-bit Windows binary on a 64-bit Windows box? Google found a bunch of things about building 64 bit applications, and the ghc manual doesn't seem to have such an option. So do I need to get a 32-bit system for this?</div></div>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div>