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

Command length limitation in Windows command line

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • None
    • Build tools: qmake
    • 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

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

          Activity

            People

              stormols Marius Storm-Olsen
              mpejcoch Martin Pejcoch (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