Are there any GDC builds available for Windows?
Ferhat Kurtulmuş
aferust at gmail.com
Sat Apr 10 10:59:58 UTC 2021
On Friday, 9 April 2021 at 18:42:21 UTC, Imperatorn wrote:
> On Friday, 9 April 2021 at 18:37:23 UTC, Ferhat Kurtulmuş wrote:
>> On Friday, 9 April 2021 at 18:13:31 UTC, Imperatorn wrote:
>>> [...]
>>
>> Yes. "hello world" compiles and runs. Now I am trying to
>> compile dub. I found
>> https://github.com/D-Programming-GDC/GDMD. but I decided to
>> use dub for building dub with
>> ```somefolder/bin/dub.exe build --compiler=gdc ``` which is
>> easier for me.
>>
>> [...]
>
> I can take a look in a couple of hours, in the meantime, read
> this:
> https://stackoverflow.com/questions/335928/ld-cannot-find-an-existing-library
The below is the output of "gdc -print-search-dirs" command. As
you can see, there are search paths beginning with "d:/msys64". I
think they should be /d/msys64 or just /msys64 in msys2. That is
the problem.
```gdc -print-search-dirs | sed '/^lib/b
1;d;:1;s,/[^/.][^/]*/\.\./,/,;t 1;s,:[^=]*=,:;,;s,;,; ,g' | tr
\; \\012
libraries:
d:/msys64/opt/mingw64/lib/gcc/x86_64-w64-mingw32/11.0.1/
d:/msys64/opt/mingw64/lib/gcc/
d:/msys64/opt/mingw64/x86_64-w64-mingw32/lib/x86_64-w64-mingw32/11.0.1/
d:/msys64/opt/mingw64/x86_64-w64-mingw32/lib/
d:/msys64/opt/mingw64/lib/x86_64-w64-mingw32/11.0.1/
d:/msys64/opt/mingw64/lib/
/mingw/lib/x86_64-w64-mingw32/11.0.1/
/mingw/lib/
d:/msys64/opt/mingw64/x86_64-w64-mingw32/lib/
d:/msys64/opt/mingw64/lib/
/mingw/lib/
```
More information about the D.gnu
mailing list