2024-09-21 01:48 AM
Hello.
We need to use g++ linker in our project.
But after setting g++ linker in Project->Properties->C/C++Build->Settings->MCU G++ Linker to g++ again ld.exe is invoked.
Would you please advice.
Thank you.
2024-09-21 04:02 PM
In Project explorer, right click on the project. Select Convert to C++.
2024-09-21 10:19 PM
It is already in C++.
2024-09-22 08:43 AM
"In the GCC toolchain, both C and C++ use the same linker, which is the ld linker. However, when linking C++ programs, the g++ driver is typically used instead of gcc. The g++ driver automatically links against the C++ standard library and handles other C++ specific linking requirements, but it still uses the ld linker under the hood"