Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.6.3
-
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.