Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1075

targetOS is set to hostOS for bare metal arm gcc compiler

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 1.6.1
    • Qt Creator Integration
    • None

    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