March 10, 2013 Re: Compiling GDC-MinGW | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Green | 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 |
March 10, 2013 Re: Compiling GDC-MinGW | ||||
---|---|---|---|---|
| ||||
Posted in reply to Benjamin Thaut | 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
|
March 11, 2013 Re: Compiling GDC-MinGW | ||||
---|---|---|---|---|
| ||||
Posted in reply to Benjamin Thaut | On 3/10/2013 12:08 PM, Benjamin Thaut wrote: >> 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. Actually that was because of issues with doing a bootstrap build. When you re-cloned it you got the updated script that properly disabled it. |
Copyright © 1999-2021 by the D Language Foundation