- Open Eclipse.
- Go to Help > Install new software > Work with.
- Paste in: http://download.eclipse.org/tools/cdt/releases/juno
- Press Enter.
- Expand "CDT Main Features".
- Turn on "C/C++ Development Tools"
- Expand "CDT Optional Features"
- Turn on: " C/C++ GCC Cross Compiler Support", "C/C++ GDB Hardware Debugging", "C/C++ Memory View Enhancements", "C/C++ Unit Testing Support", "C99 LR Parser", "CDT Visual C++ Support".
- Press Next, Finish, w/e. Just go through the installation steps, accept things, until it tells you that it needs to restart.
- Allow Eclipse to restart.
MinGW
- Go to: http://sourceforge.net/downloads/mingw/MinGW/
- Click on (The link will look something like this)"Download mingw-get-inst-20120426.exe (662.7 kB)"
- Run the installer.
- Say that you want the latest version from teh webz.
- Let it do it's thing. Go grab a drink or something.
- Go to wherever you installed it and make note of the path to the mingw bin (by default this is C:\MinGW\bin).
- Also make note of the mingw msys bin (by default this is C:\MinGW\msys\1.0\bin).
- Copy these 2 paths onto the end of your system PATH.
- To append these to the path, go to windows start and enter the string "advanced".
- Click "View advanced system settings".
- Click "Environment Variables".
- Go to the "System variables" region at the bottom.
- Scroll down to "PATH" and click edit.
- Go to the end of this possibly long bigass string and enter a semicolon ";" to separate the last entry from the ones you want to add.
- Add the two paths to mingw bin and msys bin (separate these by ";").
- Test if you have mingw working now by opening up the console and running make.
- Press WindowsKey + R. This will open up RUN.
- Type cmd.
- Press enter.
- Run the command: "make --version".
- Run the command: "g++ --version".
- If these commands don't error out and complain about something then you are good to go with mingw!
No comments:
Post a Comment