Updating toolchain compilers
-
Hi there! I've recently found some issues in template deduction and dependent names in modern c++ code that i was trying to compile with given cross-tool. The problem is that g++ with given version (8.3) are not that smart as it's newer versions and i have to explicitly declare some "hints" for it to properly parse template deduction in my code. Is there any chance to use more present versions of compiler with my board? Or i have to completely recompile kernel and stuff in order to do that? Thanks in advance!
If you need to use Buildroot as your target root filesystem, currently there is no way to replace the compiler (as Rockchip has not provided the corresponding source code or a more advanced version).
If you do not need to use the official Rockchip libraries in Buildroot, you can directly use a glibc-based system (such as Ubuntu). A glibc system supports building your project with a higher version of the cross-compilation toolchain. Testing with GCC 11.3's glibc cross-compilation toolchain on an Ubuntu system has not encountered any issues.
If you do not need to use the official Rockchip libraries in Buildroot, you can directly use a glibc-based system (such as Ubuntu). A glibc system supports building your project with a higher version of the cross-compilation toolchain. Testing with GCC 11.3's glibc cross-compilation toolchain on an Ubuntu system has not encountered any issues.
Ok, got that, thanks.