Windows emulator for testing purposes

Hey everyone! I have a Linux machine and a OSX machine, and I am developing packages that I would like to upload to Hackage one day. Do you have any recommendations for a free/open source solution that would let me emulate a Windows environment for testing purposes? Cheers, Greg

Do you have any recommendations for a free/open source solution that would let me emulate a Windows environment for testing purposes?
Sun's Virtual Box? - http://www.virtualbox.org/ You would still need a Windows license though. Cheers, Rahul

On Jan 18, 2010, at 15:12 , Rahul Kapoor wrote:
Do you have any recommendations for a free/open source solution that would let me emulate a Windows environment for testing purposes?
Sun's Virtual Box? - http://www.virtualbox.org/ You would still need a Windows license though.
I wonder if Wine would be good enough for testing. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

"Brandon S. Allbery KF8NH"
I wonder if Wine would be good enough for testing.
If memory serves me correctly, I have heard about people installing the Windows version of GHC and using it under Wine for testing purposes... -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

On Tue, Jan 19, 2010 at 7:27 AM, Ivan Lazar Miljenovic
"Brandon S. Allbery KF8NH"
writes: I wonder if Wine would be good enough for testing.
If memory serves me correctly, I have heard about people installing the Windows version of GHC and using it under Wine for testing purposes...
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com
It does work, just make sure you're using a sufficiently new version of Wine, git or a development version from http://winehq.org/download Older versions had a bug which broke cabal install, but I submitted a patch for that. What doesn't work is the installer for cygwin if you require that, otherwise msys-git works fine for providing a bash to run configure scripts, so long as you install mingw and update your path, things will work pretty much the same as Windows. http://www.haskell.org/haskellwiki/GHC_under_WINE -Jeff

Does anyone have experience with ReactOS? Cheers, Greg On Jan 18, 2010, at 12:12 PM, Rahul Kapoor wrote:
Do you have any recommendations for a free/open source solution that would let me emulate a Windows environment for testing purposes?
Sun's Virtual Box? - http://www.virtualbox.org/
You would still need a Windows license though.
Cheers, Rahul

Hello Gregory If the packages are FFI-free they "should just work" (ahem, perhaps with some caveats about e.g. file paths - if they have data files included). If they have FFI dependencies then a Windows emulator is going to have to emulate Unix in turn (either via MinGW or Cygwin). It might be more productive to simply label them as "Untested under Windows" and make a reference to the FFI dependencies. Best wishes Stephen

So, part of the problem is that I am using my own build system (Blueprint) rather than Cabal, which I would like to test someday to make sure it works under windows; problems like screwing up the file paths are exactly the kind of thing that I worry about happening. :-) And part of the reason that I developed and am using my own build system is because I am mixing Fortran and Haskell code, which is something that Cabal does not support in any meaningful use of the word "support" --- i.e., I don't count writing a parallel configuration and build system for the Fortran code and grafting it onto Cabal using a complicated assortment of hooks as being a meaningful sense of this word. :-) Cheers, Greg On Jan 18, 2010, at 1:52 PM, Stephen Tetley wrote:
Hello Gregory
If the packages are FFI-free they "should just work" (ahem, perhaps with some caveats about e.g. file paths - if they have data files included).
If they have FFI dependencies then a Windows emulator is going to have to emulate Unix in turn (either via MinGW or Cygwin). It might be more productive to simply label them as "Untested under Windows" and make a reference to the FFI dependencies.
Best wishes
Stephen _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On Mon, 2010-01-18 at 12:04 -0800, Gregory Crosswhite wrote:
Hey everyone!
I have a Linux machine and a OSX machine, and I am developing packages that I would like to upload to Hackage one day. Do you have any recommendations for a free/open source solution that would let me emulate a Windows environment for testing purposes?
Cheers, Greg
Wine is not emulator - but depending on the task it may suit you. You can even just link against winelib. If you have a license (IANAL but AFAIR is counting as separate copy. Judging by your email you are in some educational institution - check if you have access to MSDNAA [and license allows you to use it]) you can set up any x86 emulator or have dual boot. Regards

Hi, this is my configuration: My iMac and right next to it an x86 with 8GB RAM running OpenSolaris, because of its ZFS. On the OpenSolaris box are about 20 VMs with XP mostly installed, run by VirtualBox in headless mode. I connect to those machines from my iMac via Remote Desktop (available for Mac from Microsoft). Thanks to the RAM I can run up to 3 VMs simultaneously. Once you installed your 1st WinXP into a Virtual Machine and have it activated take a ZFS snapshot of the Virtual disk image and then make ZFS clones from that snapshot. Use those disk images then to install software as you like. They will not cost you any additional disk space initially, thanks to ZFS. All of my devel work is done in those VMS. I suggest you do not bother with wine. Günther Am 18.01.10 21:04, schrieb Gregory Crosswhite:
Hey everyone!
I have a Linux machine and a OSX machine, and I am developing packages that I would like to upload to Hackage one day. Do you have any recommendations for a free/open source solution that would let me emulate a Windows environment for testing purposes?
Cheers, Greg
participants (8)
-
Brandon S. Allbery KF8NH
-
Gregory Crosswhite
-
Günther Schmidt
-
Ivan Lazar Miljenovic
-
Jeff Zaroyko
-
Maciej Piechotka
-
Rahul Kapoor
-
Stephen Tetley