Re: [QBS] remove unwanted compiler flags

2014-10-25 Thread Jochen Becher
Hi Railwaycoder, -pipe tells the compiler front-end to transfer the output from one tool (e.g. the preprocessor) to the next tool (e.g. the compiler) using pipes instead of temporary files because it is faster. It does not influence the syntax or code generation in any way. Regards, Jochen Am S

Re: [QBS] remove unwanted compiler flags

2014-10-25 Thread Railway Coder
Hi Joerg, thanks for this detailed answer. -pipe > is passed to gcc unconditionally. We assumed that every gcc can cope > with it. Do we need an option to turn it off? > At the moment I've no idea what -pipe does. I only wanted to figure out where it comes from and turn it of if possible. I want

Re: [QBS] remove unwanted compiler flags

2014-10-24 Thread Joerg Bornemann
On 22-Oct-14 19:40, Railway Coder wrote: > I use qbs for building my code for an embedded system. > Compiler is set in Qt Creator as Kit for Bare Metal development. > > If I set compiler flags like this: [...] > I get unwanted flags in the output: [...] -pipe is passed to gcc unconditionally. We

[QBS] remove unwanted compiler flags

2014-10-22 Thread Railway Coder
Hello, I use qbs for building my code for an embedded system. Compiler is set in Qt Creator as Kit for Bare Metal development. If I set compiler flags like this: cpp.cxxFlags: ["-mcpu=cortex-m0", "-mthumb", "-c",