How can I use Cygwin under Ubuntu?

Solution 1:

Cygwin is a windows program that allows you to run linux programs in windows, so it wouldn't make any sense to have it in the repositories.

I suspect your only chance of having this work would be to run cygwin in wine.

It sounds like you have two separate questions:

  1. Can I use run Cygwin under Ubuntu to test the windows version I'm trying to build?
  2. How do I find windows libraries to use with mingw32 to replace the linux libraries I've been using?

As I said above, for 1, yes, you should be able to run cygwin in wine for testing.

Questions 2 is unrelated and should be moved to a different question. (For what it's worth, I have no idea about the answer to 2).

Solution 2:

Have you tried wine?

Anyway, you can use Virtual Box and 90-day Trial Windows 7, but only if your application is not comercial ;)