On Friday, 9 April 2021 at 18:13:31 UTC, Imperatorn wrote:>
On Friday, 9 April 2021 at 17:45:12 UTC, Ferhat Kurtulmuş wrote:>
On Friday, 9 April 2021 at 17:32:51 UTC, Ferhat Kurtulmuş wrote:>
On Thursday, 8 April 2021 at 19:10:03 UTC, Imperatorn wrote:>
Very good job. I am playing around with it. I am not so much familiar with GDC. Looks like there is no something like "rdmd" in /opt/mingw64/bin? I want to test it to build dub.
I think there should be a gdmd executable. My compilations process did not yield one.
Did you succeed in building?
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.
it complained about missing d21 executable. So, I copied it (~430 mb) from gcc-source/build/gcc into /opt/mingw64/bin which is in my $PATH.
Now it says:
dub 1.25.0+commit.17.g79e312d0: building configuration "application"... d:/msys64/opt/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.0.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lcurl collect2.exe: error: ld returned 1 exit status
I have curl, libcurl, libcurl-devel, etc. installed though:
$ pacman -Ss curl mingw32/mingw-w64-i686-curl 7.74.0-2 Command line tool and library for transferring data with URLs. (mingw-w64) mingw32/mingw-w64-i686-flickcurl 1.26-2 Flickcurl is a C library for the Flickr API (mingw-w64) mingw64/mingw-w64-x86_64-curl 7.74.0-2 [installed] Command line tool and library for transferring data with URLs. (mingw-w64) mingw64/mingw-w64-x86_64-flickcurl 1.26-2 Flickcurl is a C library for the Flickr API (mingw-w64) msys/curl 7.74.0-4 [installed] Multi-protocol file transfer utility msys/libcurl 7.74.0-4 (libraries) [installed] Multi-protocol file transfer library (runtime) msys/libcurl-devel 7.74.0-4 (development) [installed] Libcurl headers and libraries