Compiling GDC-MinGW

Benjamin Thaut code at benjamin-thaut.de
Sun Mar 10 04:12:36 PDT 2013


Am 09.03.2013 15:00, schrieb Daniel Green:
> I managed to exactly reproduce the error by setting gcc/d/lang.opt to
> CRLF line endings.
>
> You need to make sure everything is LF line endings.  I've set a
> .gitattributes file which hopefully will fix this for future checkouts.
>
>
>

So now it actually compiles all the way through, but failes while linking:

C:\crossdev\MinGW64\x86_64-w64-mingw32\bin\ld.exe: skipping incompatible 
C:/crossdev/gdc64/v2/build/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs\libstdc++.a 
when searching for -lstdc++
C:\crossdev\MinGW64\x86_64-w64-mingw32\bin\ld.exe: skipping incompatible 
C:/crossdev/gdc64/v2/build/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs\libstdc++.a 
when searching for -lstdc++
C:\crossdev\MinGW64\x86_64-w64-mingw32\bin\ld.exe: skipping incompatible 
C:/crossdev/MinGW64/lib/gcc/x86_64-w64-mingw32/4.6.1\libstdc++.a when 
searching for -lstdc++
C:\crossdev\MinGW64\x86_64-w64-mingw32\bin\ld.exe: cannot find -lstdc++

Kind Regards
Benjamin Thaut


More information about the D.gnu mailing list