Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-17452

qbs.targetOS is not set when creating qbs profile for bare metal arm gcc compiler

    XMLWordPrintable

Details

    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kandeler Christian Kandeler
              ThiemoVanEngelen Thiemo van Engelen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes