[prev in list] [next in list] [prev in thread] [next in thread]
List: haskell-cafe
Subject: Re: [Haskell-cafe] Building 32-bit binaries on a 64-bit system?
From: Mike Meyer <mwm () mired ! org>
Date: 2015-10-17 12:29:22
Message-ID: CAD=7U2AxYDAJj1DobmYMkmxk5wS6=ARun5W5ZzOyi6Xvm6qrcQ () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Thanks, the worked like a charm! Any chance this can be used for
cross-compiling from a Unix desktop to embedded arm?
On Fri, Oct 16, 2015, 09:24 Michael Snoyman <michael@snoyman.com> wrote:
> 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.
>
> On Fri, Oct 16, 2015, 5:22 PM Mike Meyer <mwm@mired.org> wrote:
>
>> 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.
>>
>> 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?
>>
> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe@haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>>
>
[Attachment #5 (text/html)]
<p dir="ltr">Thanks, the worked like a charm! Any chance this can be used for \
cross-compiling from a Unix desktop to embedded arm?<br> </p>
<br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 16, 2015, 09:24 Michael \
Snoyman <<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><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><div class="gmail_quote"><div dir="ltr">On Fri, Oct 16, \
2015, 5:22 PM Mike Meyer <<a href="mailto:mwm@mired.org" \
target="_blank">mwm@mired.org</a>> wrote:<br></div></div><div \
class="gmail_quote"><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></blockquote></div><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> \
_______________________________________________<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> </blockquote></div>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic