Thiago Negri | 24 Aug 18:27 2012
Picon

Compiling Haskell targetting different OS/arch

Is it possible to compile Haskell code targetting a OS/arch that
differs from the one where the compiler (GHC) is running?

Thanks.
Taylor Hedberg | 24 Aug 18:52 2012

Re: Compiling Haskell targetting different OS/arch

Thiago Negri, Fri 2012-08-24  <at>  13:27:32-0300:
> Is it possible to compile Haskell code targetting a OS/arch that
> differs from the one where the compiler (GHC) is running?

No, GHC doesn't currently support cross-compilation.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Sergey Mironov | 27 Aug 15:46 2012
Picon

Re: Compiling Haskell targetting different OS/arch

ARM guys use native ghc to build arm binaries

2012/8/24 Taylor Hedberg <t <at> tmh.cc>:
> Thiago Negri, Fri 2012-08-24  <at>  13:27:32-0300:
>> Is it possible to compile Haskell code targetting a OS/arch that
>> differs from the one where the compiler (GHC) is running?
>
> No, GHC doesn't currently support cross-compilation.
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe <at> haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>

Gmane