Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » how do I edit toolchains?
how do I edit toolchains? [message #1832424] Thu, 17 September 2020 15:22 Go to next message
Ravenous Bugblatterbeast is currently offline Ravenous BugblatterbeastFriend
Messages: 25
Registered: April 2020
Junior Member
I've tried to set up a custom toolchain and got confused.

What I can edit under Preferences > Core Build Toolchains does not seem to match with the available options at Project-Properties > C/C++ Build > Tool Chain Editor.

I'm sure that I'm just missing something obvious here. I remember Project-Properties > C/C++ Build > Settings used to have a tab named toolchain. That was perfect and is exactly what I need now. I just want to select a path and the binaries for the tools.

You probably just have to point me in the right direction. I've done the same thing on other IDEs and (much) older versions of eclipse tons of times.

Eclipse IDE for C/C++ Developers

Version: 2020-03 (4.15.0)
Build id: 20200313-1211

[Updated on: Thu, 17 September 2020 15:23]

Report message to a moderator

Re: how do I edit toolchains? [message #1832449 is a reply to message #1832424] Fri, 18 September 2020 08:02 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Project --> Properties --> C/C++ Build --> Settings --> Tool Settings tab
Allows options settings for various tools in the toolchain but assumes toolchain selected elsewhere.
The tab is only present if CDT is generating the makefile.

If a makefile is being built and the cross compiler is chosen,
you can specify the path to the tool binaries.

Project --> Properties --> C/C++ Build --> Toolchain Editor
has a dropdown selection box called "Current toolchain".
It is filtered if you select "Display compatible toolchains only".

[Updated on: Fri, 18 September 2020 08:09]

Report message to a moderator

Re: how do I edit toolchains? [message #1832452 is a reply to message #1832449] Fri, 18 September 2020 09:13 Go to previous messageGo to next message
Ravenous Bugblatterbeast is currently offline Ravenous BugblatterbeastFriend
Messages: 25
Registered: April 2020
Junior Member
Thank you for the reply David,

Quote:
The tab is only present if CDT is generating the makefile.

I went to Project --> Properties --> C/C++ Build --> Toolchain Editor
There I've changed the values to
Current toolchain: Cross GCC
Current Builder: CDT Internal Builder

When I applied the changes and went to Project --> Properties --> C/C++ Build --> Settings I still didn't see a Tool Settings tab. Did I miss something?

Right now, I am working on my "good" system, I am gonna switch workplaces and give it another try at the bad one, where the settings are actually needed.
Re: how do I edit toolchains? [message #1832456 is a reply to message #1832452] Fri, 18 September 2020 10:16 Go to previous messageGo to next message
Ravenous Bugblatterbeast is currently offline Ravenous BugblatterbeastFriend
Messages: 25
Registered: April 2020
Junior Member
Oh, silly me.

Forget what I just wrote. Now I see the Tool Settings tab and I see the field where you can specify the command for each tool. Sorry for missing the obvious.

Thanks a lot

Re: how do I edit toolchains? [message #1832802 is a reply to message #1832456] Fri, 25 September 2020 11:48 Go to previous message
Mark Smith is currently offline Mark SmithFriend
Messages: 82
Registered: September 2020
Member
See this article
https://www.eclipse.org/forums/index.php/t/1096446/#:~:text=Open%20Project%20Properties%20and%20go,item%20at%20the%20very%20top.
Previous Topic:newbie help on compile error
Next Topic:How to integrate a new toolchain to IDE
Goto Forum:
  


Current Time: Thu Apr 25 18:08:33 GMT 2024

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

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

Back to the top