Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.2.0
-
None
-
8751d46f971837fc2c1505d38ed7d050e16a7a69
Description
When creating a qbs profile for the bare metal arm gcc compiler (arm-none-eabi-g++), qbs.targetOS does not get a value. This causes it to default to qbs.hostOS (in common.qbs). This (at least) causes problems on OS X, because the gcc probe (GccProbe.qbs) checks qbs.targetOS for "darwin", will we be true, and "-arch arm" is added to the probe command line. This is not accepted by the arm compiler, which leads to the probe failing to determine the version (and probably also architecture).
A workaround is manually adding a qbs.targetOS property with value "none".
Attachments
Issue Links
- is duplicated by
-
QBS-1075 targetOS is set to hostOS for bare metal arm gcc compiler
- Closed
For Gerrit Dashboard: QTCREATORBUG-17452 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
180191,2 | QbsProjectManager: Take the "no OS" case into account | 4.2 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |