Re: [Qbs] qbs ignores the 'manual' cpp.linkerMode behavior

2017-10-09 Thread Jake Petroules
Indeed it has, and your advice is correct. This is probably a good candidate for our FAQ. I've created a task for it: https://bugreports.qt.io/browse/QBS-1213 > On Oct 9, 2017, at 10:40 PM, timur.kris...@gmail.com wrote: > > Hi Denis, > > This issue has been asked several times. > The short an

Re: [Qbs] qbs ignores the 'manual' cpp.linkerMode behavior

2017-10-09 Thread timur . kristof
Hi Denis, This issue has been asked several times. The short answer is this: put the real linker flags without -Wl into linkerFlags and put the other ones into driverFlags. linkerName and linkerMode are uneeded (as far as I know). Here is an example of how I did it: https://github.com/Venemo/efm

[Qbs] qbs ignores the 'manual' cpp.linkerMode behavior

2017-10-09 Thread Denis Shienkov
Hi all, I use the AVR-GCC compiler, and I need to use following command line: "-nostartfiles -nodefaultlibs -nostdlib -Wl,-Map="$(OutputFileName).map" -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--gc-sections -mrelax -Wl,-section-start=.text=0x1f400 -Wl,-section-start=.ExtReset=0x1e000 -Wl,-se