Visual Studio Ide for Arduino
https://www.visualmicro.com/forums/YaBB.pl
Visual Micro >> Atmel Studio 7.0 >> No field for additional linker flags?
https://www.visualmicro.com/forums/YaBB.pl?num=1506879148

Message started by Arecon on Oct 1st, 2017 at 6:32pm

Title: No field for additional linker flags?
Post by Arecon on 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

Title: Re: No field for additional linker flags?
Post by AustinLindquist on 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++[/code]

Now have C++14 support with arm toolchain

Visual Studio Ide for Arduino » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2020. All Rights Reserved.