0

How can I compile C-- code on Windows 7 or Windows XP? I want to compile some sample C-- code, but the only compiler available on the language's website is for Linux.

hammar
  • 138,522
  • 17
  • 304
  • 385

1 Answers1

1

The best way to build such things on Windows is to use either cygwin or mingw. These are designed to give you a Linux compatible compilation environment within Windows. You can then just build and install as per the Linux instructions, but the resulting tool will run on Windows; as you desired.

Ajay
  • 18,086
  • 12
  • 59
  • 105
Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129