Compiling GDC-MinGW

Daniel Green venix1 at gmail.com
Wed Mar 6 12:42:05 PST 2013


On 3/6/2013 12:45 PM, Benjamin Thaut wrote:
> Well I did compile 0.11. I just used your build-tdm-gcc.sh which
> downloads and compiles 0.11. I fixed this issue by opening
> crossdev\src\ppl-0.11\Watchdog\src\pwl.hh.dist and setting
> PWL_HAVE_DECL_SETITIMER to 0.
That shouldn't be necessary.  It may have something to do with using 
F:\crossdev . I've never done a compile from a separate drive. Two 
things, you made that directory before starting the build?  It won't be 
made automatically. Can you supply the config.log of the failed build?

> But after that the problems just started. The next thing was that msys
> told me there is a unkown command " " (really just a space) in
> update-mingw.sh line 37. I could also fix that by removing all the "&&
> \" from update-mingw.sh line 36 to 43.
That was due to some extra spaces in after the \.  Fixed in the script.

> Then the next problem appeard, configure of gdc would tell me that the d
> language depends on the c++ language. Your build-tdm-gcc.sh script does
> not download the sources for the g++ so I did it manually (I made sure
> the grab the sources for g++ 4.6.1 from the tdm download page). I
> extracted the downloaded sources to /crossdev/gdc64/v2
Ya, I never added the g++ downloads.  Fixed as well.

I've just finished the dependencies here, now it's on to GDC itself. 
I'll push the update once I look into the TLS issue you mentioned.

"I also noted that one part of the tlsfix.patch gets rejected"

One question though, which patch exactly was it?  There are 5 different 
TLS patches.

tls-binutils-2.21.53-20110731.patch
tls-mingw64-runtime.patch
mingw-tls-gcc-4.6.x.patch
tls-mingwrt-3.20.patch
tlssup.c.patch


More information about the D.gnu mailing list