2020-07-29 10:39 PM
Hi @Martin KJELDSEN
I just updated to 4.14.0. Now I get the linker as I got them in this thread (the problem was the short enums/wchar settings) https://community.st.com/s/question/0D50X0000AlgbG2SQI/arm6-compiler-support
I can see that the armclang lib that comes with 4.14.0 is smaller than the version you provided in the thread.
Any thoughts?
Cheers /jimmii
Solved! Go to Solution.
2021-01-26 05:23 AM
2020-07-30 06:45 AM
Anyone else having this issue? Maybe @Alexandre RENOUX you can help?
/jimmii
2020-08-03 11:39 PM
Anyone? @Martin KJELDSEN , @Alexandre RENOUX
/jimmii
2020-08-06 05:28 AM
Feedback much appreciated. @Martin KJELDSEN , @Alexandre RENOUX
2020-08-06 06:57 AM
Hello,
Sorry for the delay, unfortunately I don't know how to work with ARMCLANG library, please wait for @Martin KJELDSEN to come back next week.
/Alexandre
2020-08-10 01:52 AM
Hi @Roman Schläpfer,
Back from vacation. What's the status on this? From our perspective, we only offer a single library with a certain configuration of settings. What we did was come up with a library that satisfied your conditions, something that would vary from developer to developer. I think i'll try to raise a flag to address this more generally, since the number of combinations for libraries for all compilers is .. well, a large number.
/Martin
2020-08-10 03:19 AM
Hi @Martin KJELDSEN , hope you had a great time...
I see what you mean, but since the Keil Middlewares only link when "Short enums/wchar" is enabled (as figured out by @PBull in this thread: https://community.st.com/s/question/0D50X0000AlgbG2SQI/arm6-compiler-support) and Keil mentions: "The wchar_t type must be the same in all source and libraries to successfully link." - all the people who are using middlewares cannot use "your" armclang library. Does that make sense?
Or you could provide me with a new 4.14.0 library with this option enabled (like you did last time)? I think the old library does not work with the updated 4.14.0 framework, am I correct? At least my project it does not link with it. So I'm stuck at 4.13 at the moment.
Thanks for your help.
/jimmii
2020-08-10 04:09 AM
Yes, i see what you mean. We just had to make a decision and there are many use cases. The biggest problem is identifying the right library (should we choose to distribute multiple) because it gets automatically configured into projects, etc. And there are some limits to what we can read from various tools.
But with ARMCLANG there are quite a few options. I'll try to consider what we can do here. In any case, i'll try to make a working lib for you like we did last time. This thread?
/Martin
2020-08-10 04:35 AM
Perfect @Martin KJELDSEN , that works for me.
Thanks again for your effort.
/jimmii
2020-08-10 04:50 AM
@Roman Schläpfer , to help me out, can you refresh me with the exact settings i need? Thanks!
This is what i've got so far:
-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -c
-fno-rtti -funsigned-char -fshort-enums -fshort-wchar
-mlittle-endian -gdwarf-3 -Oz -ffunction-sections
/Martin