Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » What happened to setting compiler options ?(setting compiler options )
What happened to setting compiler options ? [message #1816958] Tue, 12 November 2019 17:23 Go to next message
Eclipse UserFriend
I have been away from Eclipse C/C++ programming for few month and now I cannot find how to option complier / linker / libraries.

Am I too senile , but did it used to be under Properties -> C/C+ ... settings ?

Running Eclipse 2019 -09.

Be nice to OF.
Re: What happened to setting compiler options ? [message #1816960 is a reply to message #1816958] Tue, 12 November 2019 21:51 Go to previous messageGo to next message
Eclipse UserFriend
You can only set tool options (compile, link, etc.) when using Managed Builds.
Re: What happened to setting compiler options ? [message #1816962 is a reply to message #1816960] Tue, 12 November 2019 23:55 Go to previous messageGo to next message
Eclipse UserFriend
David,
this makes very little sense.
I just "Build" simple hello wordl C++ project and when I FIRST opened "Properties" I could open "Settings" and see all the usual options.
Then I select the project generated by EGit and get totally differnt dialog when I open "settings.

When I go back to the hello word project and repeat same I get this funky "Settings" with no options to select.

This "Managed Builds " was documented in 200x , and I have never encountered anything about it.

If this yet another 3rd party , EGit, issue it is not fruitful to continue this discussion.

I'll try Widoze trick and reboot / rebuild next







Re: What happened to setting compiler options ? [message #1816977 is a reply to message #1816962] Wed, 13 November 2019 04:35 Go to previous messageGo to next message
Eclipse UserFriend
It's not at all clear exactly what you did but
it's likely the git project is not a Managed Build
and you somehow clobbered the HelloWorld project files.

The eclipse documentation is fragmented but it is there.
Here's perhaps a better guide:
https://www.jblopen.com/gcc-toolchain-eclipse-setup-guide-part-2

The primary difference with a Managed Build is Eclipse builds the makefile.
Thus needs to know how to set the compile and link options.
If you have your own makefile, that's your responsibility
and the Eclipse settings would be moot.

As for EGit, I told you where the documentation and support forums could be found
All you had to do was follow the links.
I don't understand what else you expected.

This post from Thomas Wolf says it well:
https://www.eclipse.org/forums/index.php?t=msg&th=1101181&goto=1816833&#msg_1816833
The "free" part is important. We're not here to work for you.

You'll get a lot more accomplished if you:
o) learn the concepts behind Eclipse
o) learn external tools (like git) on your own
o) make clearer and more precise questions.
The more information you provide, the better the response will be.

These are generally true for all open source software.
If you are unwilling to do them yourself then you probably
would be better off with a commercial product where you pay for the support
Re: What happened to setting compiler options ? [message #1817056 is a reply to message #1816977] Thu, 14 November 2019 15:04 Go to previous messageGo to next message
Eclipse UserFriend
This is all very nice, however, can you explain this behaviour?
When I start Eclipse and use "Properties" on plain , no EGit project, "Settings" show the usual options.
Then I change to another item, which works as expected.
Going back to "Settings" I get totally different form - something about pre /post processing.
If I select "apply ..." I get internal error.
I cannot get back to original "Settings" , only after I restart Eclipse and then only once!
I'll try to build another workspace to see if building default "hello word" will work OK without any EGit projects.



Re: What happened to setting compiler options ? [message #1817057 is a reply to message #1817056] Thu, 14 November 2019 15:04 Go to previous messageGo to next message
Eclipse UserFriend
No Message Body
Re: What happened to setting compiler options ? [message #1817062 is a reply to message #1817057] Thu, 14 November 2019 21:48 Go to previous message
Eclipse UserFriend
I have no idea what you've done.
Your description is too vague.

It works as expected for me.
If you're convinced it has something to do with EGit
then you should bring it up in the EGit forum
because only they can fix it.
Or file a bug report.

Previous Topic:Where do I add parameters to "Build project " "make"?
Next Topic:Problem in making program stop on first line
Goto Forum:
  


Current Time: Mon Jun 23 21:48:21 EDT 2025

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

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

Back to the top