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

Daniel Green venix1 at gmail.com
Mon Dec 5 19:38:51 PST 2011


On 12/5/2011 9:47 PM, bearophile wrote:

> I suggest to make D2 the default.
That's the plan.

> I have installed the latest TDM GCC in
> C:\MinGW
>
> Then I have unpacked the 7-zip over the directories of the MinGW install. 150+ files got overwritten, some executables too.
>
> I have made sure C:\MinGW\bin and C:\MinGW\lib are in the path. C:\MinGW\lib contains libgphobos.a too.
>
> If now I compile a little program using:
> gdc -v2 test.d
>
> It probably doesn't find Phobos:
>
> c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../libgphobos2.a(bitmanip.o): In function `D3std8bitmanip8BitArray7opIndexMxFkZb':
> C:\crossdev\gdc\v2\build\mingw32\libphobos/../../../gcc-4.6.1/libphobos/std/bitmanip.d:410: undefined reference to `__sync_fetch_and_add_4'
> ...
> c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../libgphobos2.a(bitmanip.o):C:\crossdev\gdc\v2\build\mingw32\libphobos/../../../gcc-4.6.1/libphobos/std/bitmanip.d:410: more undefined references to `__sync_fetch_and_add_4' follow
>
> I don't even know what C:\crossdev\ is, I don't have that directory.
Debug information.  That's where it was compiled.

> Do you know how to improve this situation?
I had to recompile binutils to enable TLS support.  It appears I messed 
up some configure options.  I will post once I've fixed the issue and 
uploaded new binaries.

-Daniel


More information about the Digitalmars-d-announce mailing list