How do I make the "-lc" linker option work?
I added "-lc" (with the quotes and I tried without) to the "Additional Linker options" section of the Linker settings tab.
Linker is set to GNU (not Segger)
I also installed the additional C++ libs in the package manager (not sure if this was necessary or not..) IDE version 7.10a
Reason I'm trying to set this is to bypass this error >> undefined reference to `__libc_init_array' to which I have never been able to find a satisfactory fix (unless I use another IDE which I won't mention)
I did see in another thread a fix for undefined reference to `__libc_init_array' but the help/fix was too vague so i couldn't replicate fix..
I added "-lc" (with the quotes and I tried without) to the "Additional Linker options" section of the Linker settings tab.
Linker is set to GNU (not Segger)
I also installed the additional C++ libs in the package manager (not sure if this was necessary or not..) IDE version 7.10a
Reason I'm trying to set this is to bypass this error >> undefined reference to `__libc_init_array' to which I have never been able to find a satisfactory fix (unless I use another IDE which I won't mention)
I did see in another thread a fix for undefined reference to `__libc_init_array' but the help/fix was too vague so i couldn't replicate fix..