Replies: 5 comments 11 replies
-
Which command do you run?
You could as well map the gcc-14 as default gcc (https://askubuntu.com/a/26518) to avoid the ceedling configuration (which is for everyone in your development team - and CI -> that is unless you intend to use mixins) |
Beta Was this translation helpful? Give feedback.
-
yes, solving this through Ubuntu/Debian -out-of-the-box means is certainly an option I would need to check, I also stumbled across the article. I'm running |
Beta Was this translation helpful? Give feedback.
-
I could be mistaken, as I'm just recovering form a cold and am not at full brainpower... but I believe the preprocessor tools you want to update are as follows:
Yes, it's an embarrassingly long list of tools that needs to get cleaned up. :/ |
Beta Was this translation helpful? Give feedback.
-
Can you turn up your verbosity so we can see where that error is getting thrown? I'm not sure why it's attempting to modify that string, but a workaround might be to specify the arguments for |
Beta Was this translation helpful? Give feedback.
-
A little update: As indicated above, I switched to the example project "temp_sensor" to see where this gets me:
Turns out that gcc-14 is used in a lot of places except for
BTW, running gcov also runs the default, not gcov-14. Where would I configure this? |
Beta Was this translation helpful? Give feedback.
-
Hi *,
I'm running Ubu 24.04 LTS which comes with gcc-13 as default. Ceedling's version is this:
I would like to use gcc-14 for my unit tests because it is able to generate coverage data for conditionals (ie. the "mc/dc" metric topic).
To start this endavour, I added the following to my
project.yml
:Running this yields the following error:
I believe that I have not yet found the config item in my
project.yml
which tells the "Preprocessing for Mocks" stage not to usegcc
but to usegcc-14
. Probably the mock preprocessing does not even need those two add't options, but what I am probably also missing is a hint of how to configure the project in a way that only the compile of the test sources is done with--coverage -fcondition-coverage
.I would appreciate any hints how to configure the project so that it uses a non-default gcc.
thx
Beta Was this translation helpful? Give feedback.
All reactions