www.digitalmars.com         C & C++   DMDScript  

D.gnu - Build gdc on windows

reply Lester L. Martin II <lestermartin92 gmail.com> writes:
Good morning,

How would one go about building gdc on windows. The last time I did this it
failed. If you wish I can fire it up and tell you where it failed.

I am on windows with mingw. I used gcc 3.4.5 and then ended up thinking wow,
this compiler version may not build gdc (cause I tried that). So I then decided
let's update my compiler version to 4.1.2. Then compile the C and C++ compiler
sources with the gdc mod. It fails everytime. I would love to have gdc on
windows. I will likely use it when I transfer my computer to an x64 non-windows
OS.

--
Lester L. Martin II
Jul 17 2008
parent reply David Friedman <dvdfrdmn users.ess-eff.net> writes:
Lester L. Martin II wrote:
 Good morning,
 
 How would one go about building gdc on windows. The last time I did this it
failed. If you wish I can fire it up and tell you where it failed.
 
 I am on windows with mingw. I used gcc 3.4.5 and then ended up thinking wow,
this compiler version may not build gdc (cause I tried that). So I then decided
let's update my compiler version to 4.1.2. Then compile the C and C++ compiler
sources with the gdc mod. It fails everytime. I would love to have gdc on
windows. I will likely use it when I transfer my computer to an x64 non-windows
OS.
 
 --
 Lester L. Martin II

If the build failed on phobos/gcc/deh.d, you can get the fix in the latest svn version. David
Jul 17 2008
parent reply Lester L. Martin II <lestermartin92 gmail.com> writes:
David Friedman Wrote:

 Lester L. Martin II wrote:
 Good morning,
 
 How would one go about building gdc on windows. The last time I did this it
failed. If you wish I can fire it up and tell you where it failed.
 
 I am on windows with mingw. I used gcc 3.4.5 and then ended up thinking wow,
this compiler version may not build gdc (cause I tried that). So I then decided
let's update my compiler version to 4.1.2. Then compile the C and C++ compiler
sources with the gdc mod. It fails everytime. I would love to have gdc on
windows. I will likely use it when I transfer my computer to an x64 non-windows
OS.
 
 --
 Lester L. Martin II

If the build failed on phobos/gcc/deh.d, you can get the fix in the latest svn version. David

Okay, I will look into it as spare time approaches :-) Lester L. Martin II
Jul 18 2008
parent reply Lester L. Martin II <lestermartin92 gmail.com> writes:
Content-Type: text/plain

Lester L. Martin II Wrote:

 David Friedman Wrote:
 
 Lester L. Martin II wrote:
 Good morning,
 
 How would one go about building gdc on windows. The last time I did this it
failed. If you wish I can fire it up and tell you where it failed.
 
 I am on windows with mingw. I used gcc 3.4.5 and then ended up thinking wow,
this compiler version may not build gdc (cause I tried that). So I then decided
let's update my compiler version to 4.1.2. Then compile the C and C++ compiler
sources with the gdc mod. It fails everytime. I would love to have gdc on
windows. I will likely use it when I transfer my computer to an x64 non-windows
OS.
 
 --
 Lester L. Martin II

If the build failed on phobos/gcc/deh.d, you can get the fix in the latest svn version. David

Okay, I will look into it as spare time approaches :-) Lester L. Martin II

It failed, I used the svn version from this morning; an attached file shows my failing make command and my working configuration line (in that order in the file). I just want to get it working on windows. What configure line did you use, make? Lester L. Martin II
Jul 20 2008
parent David Friedman <dvdfrdmn users.ess-eff.net> writes:
Lester L. Martin II wrote:
 Lester L. Martin II Wrote:
 
 David Friedman Wrote:

 Lester L. Martin II wrote:
 Good morning,

 How would one go about building gdc on windows. The last time I did this it
failed. If you wish I can fire it up and tell you where it failed.

 I am on windows with mingw. I used gcc 3.4.5 and then ended up thinking wow,
this compiler version may not build gdc (cause I tried that). So I then decided
let's update my compiler version to 4.1.2. Then compile the C and C++ compiler
sources with the gdc mod. It fails everytime. I would love to have gdc on
windows. I will likely use it when I transfer my computer to an x64 non-windows
OS.

 --
 Lester L. Martin II

latest svn version. David

Lester L. Martin II

It failed, I used the svn version from this morning; an attached file shows my failing make command and my working configuration line (in that order in the file). I just want to get it working on windows. What configure line did you use, make? Lester L. Martin II

Ugh, I have not been maintaining the Windows port... This and another problem have now been fixed in SVN. I actually tried building *on* Windows this time, so it should work for you. David
Jul 21 2008