Re: [Qbs] How to pass -march=armv7-a to the g++ linking command line (without -Wl, )

2018-01-15 Thread Wookey
On 2018-01-16 12:08 +1300, Christian Gagneraud wrote: > > I found this piece of information very interesting indeed, what's your > stance about -march then? In my case, I have one toolchain per platform > (roughly), they all have the same generic triplet (arm-linux-gnueabi), but > target different

Re: [Qbs] How to pass -march=armv7-a to the g++ linking command line (without -Wl, )

2018-01-15 Thread Christian Gagneraud
On 16/01/2018 4:23 AM, Wookey wrote: On 2018-01-15 15:13 +0100, Ola Røer Thorsen wrote: I've got a product running on Linux arm imx6. It's being cross-compiled on Linux x86_64. I've got it set up with both qmake and now qbs that hopefully should replace qmake at some point. The qmake build ends

Re: [Qbs] How to pass -march=armv7-a to the g++ linking command line (without -Wl, )

2018-01-15 Thread Wookey
On 2018-01-15 15:13 +0100, Ola Røer Thorsen wrote: > I've got a product running on Linux arm imx6. It's being cross-compiled on > Linux x86_64. I've got it set up with both qmake and now qbs that hopefully > should replace qmake at some point. > > The qmake build ends up linking the application wi

Re: [Qbs] How to pass -march=armv7-a to the g++ linking command line (without -Wl, )

2018-01-15 Thread Christian Kandeler
On Mon, 15 Jan 2018 15:13:41 +0100 Ola Røer Thorsen wrote: > [...] > The qmake build ends up linking the application with a command line like > this: > > arm-fslc-linux-gnueabi-g++ > -mfloat-abi=hard > --sysroot=/srv//sysroots/armv7at2hf-neon-fslc-linux-gnueabi >

Re: [Qbs] How to pass -march=armv7-a to the g++ linking command line (without -Wl, )

2018-01-15 Thread Jake Petroules
cpp.driverFlags, probably. -- Jake Petroules - jake.petrou...@qt.io The Qt Company - Silicon Valley Qbs build tool evangelist - qbs.io From: Qbs on behalf of Ola Røer Thorsen Sent: Monday, January 15, 2018 3:13:41 PM To: qbs Subject: [Qbs] How to pass -march=arm

[Qbs] How to pass -march=armv7-a to the g++ linking command line (without -Wl, )

2018-01-15 Thread Ola Røer Thorsen
I've got a product running on Linux arm imx6. It's being cross-compiled on Linux x86_64. I've got it set up with both qmake and now qbs that hopefully should replace qmake at some point. The binary created by qbs fails to run as it's set up to use the wrong interpreter. I need to pass "-mfloat-abi