Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Updating the compiler(Eclipse also keeps old include directories.)
icon4.gif  Updating the compiler [message #896823] Thu, 19 July 2012 19:08 Go to next message
Eclipse UserFriend
Hi all,
I recently updated both Eclipse to CDT 8.1 and MinGW GCC. Doing that, I deleted the old files of the previous GCC installation. Eclipse recognised the new version of GCC but it also keeps in the old projects the inclusion directories of the previous GCC version, as showed in the screenshot. Is there some way to fix that?

Regards
- Mickey
  • Attachment: mingw.jpg
    (Size: 262.21KB, Downloaded 229 times)
Re: Updating the compiler [message #896862 is a reply to message #896823] Fri, 20 July 2012 03:47 Go to previous messageGo to next message
Eclipse UserFriend
Project Properties->C/C++ build->Discovery options
click the button "Clear discovered entries" (might be necessary for C and C++ and different build_configs)
Re: Updating the compiler [message #897058 is a reply to message #896862] Sat, 21 July 2012 05:32 Go to previous messageGo to next message
Eclipse UserFriend
thank you Axel, it did work.

Regards
- Mickey
Re: Updating the compiler [message #958905 is a reply to message #897058] Fri, 26 October 2012 06:02 Go to previous messageGo to next message
Eclipse UserFriend
Hi, the issue came back. At this time I have two versions of gcc installed: 4.6.3 and 4.7.2. Globally I switched to gcc-4.7.3. However includes of the previous version of GCC are still present and Eclipse points to the old version /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.3, while it should be /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.2/. In this case the trick to clear the discovered entries does not work.

Any solution?

regards
-Mickey

[Updated on: Fri, 26 October 2012 06:03] by Moderator

Re: Updating the compiler [message #962630 is a reply to message #958905] Mon, 29 October 2012 03:55 Go to previous message
Eclipse UserFriend
C/C++ build->Discovery options is deprecated (see notice at the bottom of this preference page). You should go to
Project Properties->C/C++ General->Preprocessor Includes

Here you can select the correct compiler version.
Previous Topic:autoreconf problem
Next Topic:Librarys in .pro file (QT)
Goto Forum:
  


Current Time: Tue Jul 22 19:19:20 EDT 2025

Powered by FUDForum. Page generated in 0.03304 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top