Compiling GDC-MinGW
Benjamin Thaut
code at benjamin-thaut.de
Sun Mar 10 10:08:23 PDT 2013
Am 10.03.2013 12:12, schrieb Benjamin Thaut:
> 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
Soory seemed to be CRLF line ending issues again. I re-cloned the repro
and now everything seems to be correctly LF.
I will put up a full list of instructions how to build mingw-GDC soon.
Kind Regards
Benjamin Thaut
More information about the D.gnu
mailing list