[Qbs] Linker Flags auto escaping troubles
timur.kristof at gmail.com
Tue Jul 4 16:40:54 CEST 2017
The solution is described here:
Short answer: try driverFlags instead of linkerFlags.
This question comes up quite often, it might be worth to put it into a
FAQ or something.
Hope this helps,
On Tue, 2017-07-04 at 10:37 -0400, Benjamin B (BBenj) wrote:
> I run into some troubles with the auto-escaping feature of
> cpp.linkerFlag. I have a project with some linker flags, like that
> (just some of them):
> And while previously (when the auto escaping was not forced) the
> resulting linker command (part of it) was:
> arm-none-eabi-g++ -gdwarf-2 -mcpu=cortex-m0plus -mthumb
> It is now escaped:
> arm-none-eabi-g++ -Wl,-gdwarf-2,-mcpu=cortex-m0plus,-mthumb
> And the linker doesn't like it (error "arm-none-eabi/bin/ld:
> unrecognised emulation mode: thumb").
> How to not have these flags escaped? Some property I missed?
> I am using Qt Creator 4.3.1 (Qbs 1.8.1).
> Thank you,
> Best regards,
> Qbs mailing list
> Qbs at qt-project.org
More information about the Qbs