[Haskell-cafe] Cross compiling from Linux to windows?

2008-12-28 Thread Erik de Castro Lopo
Hi all,

I've googled for this but haven't really found an answer yet. Is
it possible to build (or better yet download) a GHC compiler that
runs on Linux and generates windows binaries?

I already use the MinGW C compiler to generate windows binaries
from C code and I run my test suite under WINE. This has been
working very well for me for some time and now I'd like to do
the same for Haskell code.

Cheers,
Erik
-- 
-
Erik de Castro Lopo
-
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Cross compiling from Linux to windows?

2008-12-28 Thread Jeff Zaroyko
On Mon, Dec 29, 2008 at 10:31 AM, Erik de Castro Lopo
mle...@mega-nerd.com wrote:
 Hi all,

 I've googled for this but haven't really found an answer yet. Is
 it possible to build (or better yet download) a GHC compiler that
 runs on Linux and generates windows binaries?

 I already use the MinGW C compiler to generate windows binaries
 from C code and I run my test suite under WINE. This has been
 working very well for me for some time and now I'd like to do
 the same for Haskell code.

 Cheers,
 Erik

Hi Erik

See http://haskell.org/haskellwiki/GHC_under_Wine

-Jeff
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Cross compiling from Linux to windows?

2008-12-28 Thread Erik de Castro Lopo
Jeff Zaroyko wrote:

 Hi Erik
 
 See http://haskell.org/haskellwiki/GHC_under_Wine

Thanks Jeff, that works. Its not quite as convenient as a 
cross-compiler but will definitely do for now.

Cheers,
Erik
-- 
-
Erik de Castro Lopo
-
Two hands working can do more than a thousand clasped in prayer.
-- anonymous
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Cross compiling from Linux to windows?

2008-12-28 Thread Bulat Ziganshin
Hello Erik,

Monday, December 29, 2008, 2:31:40 AM, you wrote:

ghc doesn't support cross-compilation

 I've googled for this but haven't really found an answer yet. Is
 it possible to build (or better yet download) a GHC compiler that
 runs on Linux and generates windows binaries?

 I already use the MinGW C compiler to generate windows binaries
 from C code and I run my test suite under WINE. This has been
 working very well for me for some time and now I'd like to do
 the same for Haskell code.

 Cheers,
 Erik



-- 
Best regards,
 Bulatmailto:bulat.zigans...@gmail.com

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe