Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-12937

Intel compiler - missing proper definitions to use intel linker and librarian (tested with 11.1 but maybe relevant with other versions)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.7.1
    • 4.6.3
    • Build tools: qmake
    • None
    • 2eba19cdaa859dc9b06eb12f2dea9da27b69ea74

    Description

      When using the Intel compiler it seems the win32-icc mkspec is missing the proper definitions to use the Intel linker and Librarian.

      Below is a patch that corrects this when tested with ICC 11.1 on windows. Without this, Intel compiler specific optimizations can't be used.

      — mkspecs\win32-icc\qmake.conf.orig 2010-07-26 13:44:45.505518400 -0700
      +++ mkspecs\win32-icc\qmake.conf 2010-07-26 15:49:08.728908300 -0700
      @@ -50,7 +50,7 @@
      QMAKE_RUN_CXX_IMP = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
      QMAKE_RUN_CXX_IMP_BATCH = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<<

      -QMAKE_LINK = link
      +QMAKE_LINK = xilink
      QMAKE_LFLAGS = /NOLOGO
      QMAKE_LFLAGS_RELEASE =
      QMAKE_LFLAGS_DEBUG = /DEBUG
      @@ -72,7 +72,7 @@
      QMAKE_IDC = $$[QT_INSTALL_BINS]
      idc.exe

      QMAKE_IDL = midl
      -QMAKE_LIB = lib /NOLOGO
      +QMAKE_LIB = xilib /NOLOGO
      QMAKE_RC = rc

      QMAKE_ZIP = zip -r -9

      ICC 11.1 is not supported but this maybe relevant with other Intel compilers.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes