Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7573633
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:13:54+00:00 2026-05-30T16:13:54+00:00

How to set Eclipse CDT to use GCC-4 instead of GCC? I’m asking this

  • 0

How to set Eclipse CDT to use GCC-4 instead of GCC?

I’m asking this question, because i’m using windows 64 bits with Cygwin and gcc.exe does not work. I need to configure Eclipse CDT to use gcc-4.exe. But I don’t know how to set it up. I cannot find where to change this setting.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T16:13:55+00:00Added an answer on May 30, 2026 at 4:13 pm

    I’m using Eclipse on OSX, not Windows, so I cannot explain exactly how to do it for cygwin, but to change the compiler you go to the project properties->c/c++ Build->settings->gcc c++ compiler and change the “command” option from g++ to where-ever gcc-4.exe is. You may also need to change the PATH environment variable in c/c++ Build->Environment, and also the compiler used in c/c++ build->Discovery Options.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using Eclipse 3.6.2, current version of CDT, current Cygwin tools and C++ (GCC) compiler.
Recently, I switched from Visual Studio to Eclipse CDT. I've set it up beautifully
I have Eclipse set up fairly nicely to run the G++ compiler through Cygwin.
I'm trying to get a new Enterprise Application Project set up in Eclipse using
I'm using Eclipse's AntRunner to build a set of plugins, but I'm having trouble
Using the in a C++ program, Eclipse CDT marks getopt_long as could not be
Is there a way to set eclipse to warn you when you are using
I have a Kubuntu 11.10 system with Eclipse-CDT Indigo. gcc-4.6 was installed along with
I've just started using Eclipse for Python development since we can make use of
I have installed Eclipse and CDT (to use C/C++ in eclipse CDT is needed),

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.