Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

bearophile bearophileHUGS at lycos.com
Sat Dec 10 23:39:27 PST 2011


Daniel Green:

> Did you install TDM-GCC or MinGW Stable?

Like in my precedent test I have installed "tdm-gcc-4.6.1 exe MinGW / sjlj":
http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/tdm-gcc-4.6.1.exe/download


> TDM-GCC is built with shared libraries using gmp-4.3.2.  MinGW stable is 
> built with static libraries.  The dll you listed comes from gmp-5.0.1. 
> I am using the TDM-GCC build scripts to build the D compiler as well. 
> You can find the files inside the "libexec/mingw32/4.6.1" folder of the 
> TDM-GCC core download from the downloads page.

I have found that libgmp-3.dll and other needed dlls are in this directory, that I have added to the path:
C:\MinGW32\libexec\gcc\mingw32\4.6.1

Now it's giving me:

...>gdc -v2 test.d
gdc: fatal error: -fuse-linker-plugin, but liblto_plugin-0.dll not found
compilation terminated.

Despite the C:\MinGW32\libexec\gcc\mingw32\4.6.1 directory contains liblto_plugin-0.dll too.

I feel stupid -.-
I'd like a single zip/rar/7zip with all needed files inside, with GCC too :-)

Bye,
bearophile


More information about the Digitalmars-d-announce mailing list