Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Visual C++ Compiler with Eclipse

Visual C++ Compiler with Eclipse

Scheduled Pinned Locked Moved C / C++ / MFC
c++questioncsharpvisual-studio
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pgav
    wrote on last edited by
    #1

    Hello there, Sorry if this is the wrong forum for this question, but I couldn't decide which one to use. I'm wanting to use Eclipse as a development environment for my C++ project (as I need to be able to easily port between Windows and Linux, it seems to be a good choice). I've successfully been able to compile a simple program with Eclipse using the gcc compiler via Cygwin. This means that I've got things set up for porting to Linux. I'd now like to be able to have my programs run on Windows independent of Cygwin, thus be able to compile for Windows and for Linux with Eclipse, simplifying porting to different systems. Does anyone know of a plug in for Eclipse that would allow me to use the Visual Studio Compiler, or another Windows compiler that doesn't require Cygwin? Thanks for your help.

    Patrick

    Z 1 Reply Last reply
    0
    • P pgav

      Hello there, Sorry if this is the wrong forum for this question, but I couldn't decide which one to use. I'm wanting to use Eclipse as a development environment for my C++ project (as I need to be able to easily port between Windows and Linux, it seems to be a good choice). I've successfully been able to compile a simple program with Eclipse using the gcc compiler via Cygwin. This means that I've got things set up for porting to Linux. I'd now like to be able to have my programs run on Windows independent of Cygwin, thus be able to compile for Windows and for Linux with Eclipse, simplifying porting to different systems. Does anyone know of a plug in for Eclipse that would allow me to use the Visual Studio Compiler, or another Windows compiler that doesn't require Cygwin? Thanks for your help.

      Patrick

      Z Offline
      Z Offline
      Zac Howland
      wrote on last edited by
      #2

      pgav wrote:

      Does anyone know of a plug in for Eclipse that would allow me to use the Visual Studio Compiler, or another Windows compiler that doesn't require Cygwin?

      You can check the Eclipse plug-in repository (can't find the URL at the moment otherwise I would post it), but I doubt you will find anything like that in it. A better solution for you might be to organize your project as follows:

      ProjectDir
      - source dir
      - linux development (IDE files)
      - windows development (IDE files)

      Then you just have to make sure if you make changes to the project settings in one side, you also do it for the other side (you can write scripts or macros to do that for you if you really want to).

      If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week Zac

      -- modified at 11:22 Friday 21st July, 2006 ... apparently the "pre" button isn't working today?

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups