0

I was working on Java and Python before. There was no confusion on selecting the compilers between Windows and Linux. I am new to C++.

Now, I must create a C++ application for RHEL 6. My development environment is Eclipse 4.2 with CDT on Windows 7 64 bit.

Kindly suggest me if there is a compiler that can deploy the application in RHEL environment from my windows 7 64bit Operating System (as simple as Java/Python)?

Cyrus
  • 84,225
  • 14
  • 89
  • 153
Rk..
  • 753
  • 1
  • 10
  • 27

1 Answers1

4

By far the easiest solution would be to deploy a Linux VM on your windows machine, install Eclipse CDT on it, and compile with the linux native GCC. Here is an SO Post about compiling for linux under windows.

Other than that, you could try to use Cygwin's gcc cross-compiler, but I wouldn't bet on it.

Community
  • 1
  • 1
Greg Kramida
  • 4,064
  • 5
  • 30
  • 46