PDA

View Full Version : Why does GCC 4.4.0 depend on libgmp?



piotr.dobrogost
16th July 2009, 20:59
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?

wysota
16th July 2009, 23:31
I don't think this is the right forum to ask such things (neither the right section of QtCentre nor right site at all).

pierce
24th November 2009, 06:29
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 :D