Details
-
Suggestion
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
None
-
None
Description
Make it possible for arguments to be passed through files if the length of the command exceeds command line limitation. Currently the problem is possible to solve for a compiler, using the following modification of QMAKE_RUN_X variables:
QMAKE_RUN_CC = echo -c $(CFLAGS) $(INCPATH) -o$obj $src > flags.tmp; $(CC) @flags.tmp; rm flags.tmp
QMAKE_RUN_CC_IMP = echo -c $(CFLAGS) $(INCPATH) -o$@ $< > flags.tmp; $(CC) @flags.tmp; rm flags.tmp
QMAKE_RUN_CXX = echo -c $(CXXFLAGS) $(INCPATH) -o$obj $src > flags.tmp; $(CXX) @flags.tmp; rm flags.tmp
QMAKE_RUN_CXX_IMP = echo -c $(CXXFLAGS) $(INCPATH) -o$@ $< > flags.tmp; $(CXX) @flags.tmp; rm flags.tmp
but there is no such solution for the linker.
Attachments
Issue Links
- is replaced by
-
QTBUG-12325 Error "The input line is too long." when building QT 4.7 Beta 2.
-
- Closed
-