Forums » Software Development »
Toolchain Versions Question
Added by Nathan Wright 9 months ago
What is the recommended approach to toolchain management?
For example, I see the toolchain today uses CXX compiler GNU 9.2.1.- Is it recommended to "stay in that lane" to maintain support?
- Is that a simple switch?
- Perhaps a change to a layer somewhere followed by a rebuild of the SDK?
- Our should I just install it and use it in place of the SDK?
What if I want a newer version of cmake than whats in the SDK?
I guess I'm asking, in a more generalized form, are there pitfalls to deviating from the SDK that should guide my decision making process that I am not aware of yet?
Replies (1)
RE: Toolchain Versions Question - Added by Jonathan Cormier 9 months ago
We are working on the SDK 09 release right now. This is built using yocto kirkstone and uses gnu 11.3 and bumps u-boot to 2023.01 and the kernel to 6.1. The release is supposed to be imminent though unrelated problems keep redirecting resources :(. I can share a beta version of the SDK and sdcard image if you would like to test it.
It is not recommended to try and force a yocto release to use a newer toolchain than it was designed as a lot of the build is likely to break. You could build your project statically and there should be no issue but that is going to make your executables rather large.
I'm not sure how crucial the cmake version is. I would hope its version wouldn't be as sensitive as it's not doing the compiles or linking to specific versions of glibc and other libraries.