Compiling relocatable mingw gdc

Bill Baxter dnewsgroup at billbaxter.com
Thu Mar 6 11:01:08 PST 2008


Anders F Björklund wrote:
> Bill Baxter wrote:
>> This is mostly meant for Anders... a continuation of an off-NG mail 
>> exchange about trying to build mingw gdc from source.
> ...
>> I was reading the MinGW install instructions from the MinGW site, and 
>> they said "runtime and win32 headers are separate".  So I thought 
>> maybe I could fix things by downloading the mingw runtime and copying 
>> its include,lib,and bin dirs into the toplevel gcc-3.4.5-20060117-1 dir.
> 
> I redid the build again on Windows XP, and ran into two things that
> I had forgotten all about since the pre-1.0 time when I last did it...
> 
> First, I couldn't get the setup to work with MinGW but only in Cygwin
> (seems patch is silly). Second, something had hardcoded /usr/include.
> 
> My hackaround was to ln -s /mingw/include /usr/include while building,
> which probably is totally wrong but I didn't feel like diving into it.
> 
> If everything is working alright, I'll package the pre-release up and
> put it on the gdcwin site - maybe even with some building instructions.
> 
> --anders

Ok.  Great.

--bb


More information about the D.gnu mailing list