Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic No field for additional linker flags? (Read 2121 times)
Arecon
Junior Member
**
Offline


Posts: 53
Joined: Apr 2nd, 2017
No field for additional linker flags?
Oct 1st, 2017 at 5:32pm
Print Post  
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: 14
Joined: Jul 31st, 2018
Re: No field for additional linker flags?
Reply #1 - Dec 2nd, 2019 at 7:11pm
Print Post  
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
Select All
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 TopicPrint