64bit phobos on Windows?

Andrej Mitrovic andrej.mitrovich at gmail.com
Sat Feb 19 17:20:14 PST 2011


On 2/20/11, Trass3r <un at known.com> wrote:
>> I'm very interested in trying out GDC with D2 on Win32. I fear
>> compiling GDC is gonna be tricky though. Has anyone had success with
>> it? Hand me a few tips before I venture into the unknown, please! (and
>> if I'm successful I'll upload the binaries somewhere, maybe on
>> sourceforge).
>
> You need msys and MinGW.
> https://bitbucket.org/goshawk/gdc/wiki/MinGWCompile
>

Got that, and I was just reading that page.
But I'm confused about several things.

The guide mentions the latest working version:
D2.020 r167:6f2adfcabae6 GCC 4.3.5

Then it mentions we need a newer version of TDM-GCC:
TDM GCC 4.5.0
I'm guessing this one will just be used to compile GCC+GDC. Got that installed.

It mentions patch files:
"For GCC 4.3.X, fixes out of memory bug."
And has a link to this:
"gcc-4.4.0-20080731-pex-win32.patch"

Is that patch file for the 3.x series, for the memory bug? And which
GCC sources, the one from TDM-GCC, 4.3.x series or not?

Then it references TDM patches, but they're not links to patch files
they're just plain text:
"TDM-GCC patches."
    * [buildsys.patch] Minor build system hacks for Cygwin and mSYS
    * [ehstatic.patch] Allow exceptions from DLLs without shared GCC libraries
    * [headerpath.patch] Correctly detect backslashes as path
separators in include paths
    * [make-rel-pref.patch] A patch to fix make_relative_prefix()
semantics and a little-encountered relocation bug
    * [make-temp-file.patch] A patch to fix make_temp_file() semantics
and a little-encountered environment bug

So what's up with those?

I can't find the TDM-GCC 4.3.5 sources on the TDM website, the latest
in the 4.3.x series I could find is 4.3.3-tdm-1:
http://sourceforge.net/projects/tdm-gcc/files/Sources/TDM%20Sources/Previous/

Then later in the guide it links to a completely different website
with GCC sources:
http://gcc.cybermirror.org/releases/

This is quite a mess! :D


More information about the Digitalmars-d mailing list