Results 1 to 8 of 8

Thread: Mingw very slow on windows

  1. #1
    Join Date
    Apr 2007
    Posts
    12
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default Mingw very slow on windows

    Hi,
    I use Qt 4.2.3 open source edition, Mingw 3.4.2 (mingw as installed by Qt bundle qt-win-opensource-4.2.3-mingw.exe), on Windows 2000 SP4.
    mingw is very slow in compilation. A process called cc1plus.exe is eating up to 100 MB during compilation.
    What's wrong with my installation?

    Thanks in advance,
    Mustafa

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Mingw very slow on windows

    But that is the compiler process itself.
    Not much you can do about that, I'm afraid.

    Regards

  3. #3
    Join Date
    Apr 2007
    Posts
    12
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default Re: Mingw very slow on windows

    hi,
    I mean it's very very slow. Is mingw known to be very slow? I use mingw with GLUT and it's not that bad as with Qt.
    I read about speeding up compilation by static linking with Qt. but I've not idea how to do that.

  4. #4
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Mingw very slow on windows

    Static linking with Qt means that a significant part of Qt will be included in your app.
    The size will also increase significantly.
    You should think about it before doing it.

    Regards

  5. #5
    Join Date
    Apr 2007
    Posts
    12
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default Re: Mingw very slow on windows

    at least i can do it during the development phase.
    how can i do it?

  6. #6
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Mingw very slow on windows


  7. #7
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Mingw very slow on windows

    The GNU compiler (which is mingw) is notoriously slow. Turning on precompiled headers will help, but the compilation itself is significantly slower than the MS or Intel compilers. Make also slows some stuff down. Using the -j2 or -j4 option to GNU make can be a significant improvement.

    But if all else fails, just go start a pot of coffee when you launch a build.

  8. #8
    Join Date
    Apr 2007
    Posts
    12
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default Re: Mingw very slow on windows

    I'll try solutions on trolls list, and -j2/4 options.
    Thanks

Similar Threads

  1. using libcurl in QT with Mingw in Windows
    By ct in forum Qt Programming
    Replies: 18
    Last Post: 23rd January 2012, 02:41
  2. How do I use MinGW Compiler in Windows
    By Walsi in forum General Discussion
    Replies: 3
    Last Post: 11th May 2007, 09:50
  3. QT 4.2.2 Windows Mingw
    By KaptainKarl in forum Installation and Deployment
    Replies: 3
    Last Post: 4th May 2007, 15:57
  4. On windows: MinGW + Qt + Which Debugger?
    By Dwarf007 in forum Newbie
    Replies: 8
    Last Post: 12th July 2006, 20:21
  5. qt and mingw can not run on windows 98?
    By evewei in forum Installation and Deployment
    Replies: 4
    Last Post: 26th June 2006, 10:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.