2

I'm very interested in using Linux / GCC for cross-compiling to Microsoft SUA (Subsystem for Unix Applications) format (I have SUA 6.1 as part of Windows 7, 64-bits). Using SUA to natively compile programs and their dependencies is a hassle given the general lacklustre support by MS, no real package manager, etc. What is the best way to do this using Linux? I am open to other approaches, but personally envision Linux as part of the solution. If there are better cross-compilers for the job I'd like to know- seems that I'd have to opt for an older distro (according to GNU webpage, SUA support ended with GCC 3.3)

2 Answers2

3

Gentoo has a Prefix target for Interix. You can try this but I'm not sure if it's up-to-date. It is basically a Gentoo installation (with package manager) inside your Interix system.

The Prefix solution should be easier to maintain that cross-compiling.

Michał Górny
  • 18,713
  • 5
  • 53
  • 76
0

You can use "mingw" as an alternative compiler for windows to compile Linux applications.

thkala
  • 84,049
  • 23
  • 157
  • 201
linuxexplore
  • 409
  • 3
  • 7