Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
No field for additional linker flags? (Read 705 times)
Arecon
Junior Member
**
Offline



Posts: 39
No field for additional linker flags?
Oct 1st, 2017 at 6:32pm
 
Hi
I tried to add a few flags to the linker command line but the setting in the toolchain menu is ignored and in the project properties there is no field for linker flags.
Is there any place where one could add parameters like -lstdc++ -lsupc++ to the linker command line of a project?

Thanks
Back to top
 
 
IP Logged
 
AustinLindquist
Junior Member
**
Offline



Posts: 11
Re: No field for additional linker flags?
Reply #1 - Dec 2nd, 2019 at 7:11pm
 
Late reply but for anyone finding this through search like I did, adding flag to ldflags for arm cmsis in platform.txt worked for me.

i.e.
Code:
compiler.arm.cmsis.ldflags="-L{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Lib/GCC/" -larm_cortexM0l_math -lstdc++ 



Now have C++14 support with arm toolchain
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print