[Haskell-beginners] GHC compiling for different platforms

Bernhard Lehnert b.lehnert at gmx.de
Mon Jun 29 16:53:22 EDT 2009


Hi folks!

When I compile a program under windows - will the .exe run under any
windows? Do I have to distribute only the .exe or more files?

When I compile a program under a 64bit-Linux on an AMD-CPU, will the
executable run under 32bit and/or Intel-CPU as well? Are there any, say,
compiler flags, to improve portability?

Thanks,
Bernhard



More information about the Beginners mailing list