Results 1 to 3 of 3

Thread: Why does GCC 4.4.0 depend on libgmp?

  1. #1
    Join Date
    May 2009
    Posts
    133
    Thanks
    10
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Why does GCC 4.4.0 depend on libgmp?

    I'm trying to compile Qt 4.5.2 using GCC 4.4.0 and I get an error stating that cc1plus.exe has failed to start because libgmp-3.dll was not found. I don't get this error when I'm compiling with GCC 4.3.0.

    It looks like GCC 4.4.0 was build with dynamic libgmp instead of static one?
    Can someone confirm this is a bug in MinGW version of GCC 4.4.0?
    How to fix it?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Why does GCC 4.4.0 depend on libgmp?

    I don't think this is the right forum to ask such things (neither the right section of QtCentre nor right site at all).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Nov 2009
    Posts
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Why does GCC 4.4.0 depend on libgmp?

    Quote Originally Posted by piotr.dobrogost View Post
    I'm trying to compile Qt 4.5.2 using GCC 4.4.0 and I get an error stating that cc1plus.exe has failed to start because libgmp-3.dll was not found. I don't get this error when I'm compiling with GCC 4.3.0.

    It looks like GCC 4.4.0 was build with dynamic libgmp instead of static one?
    Can someone confirm this is a bug in MinGW version of GCC 4.4.0?
    How to fix it?
    what i did was copy libgmp-3.dll (and libgmpxx-4.dll) into the folder where cc1plus.exe is located (<mingw_root>\libexec\gcc\mingw32\4.4.0).

    this works for me

  4. The following user says thank you to pierce for this useful post:

    giacomelli.fabio (13th April 2011)

Tags for this Thread

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.