Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
August 06, 2008 GDC on Windows | ||||
---|---|---|---|---|
| ||||
I needed to generate a windows version of my project and discovered today that I crash dmd when compiling my source. Given the time crunch, I figured it'd be easy to use GDC instead. Boy was I wrong! The gdc package for cygwin is way out of date, and the build steps are not all too clear. I don't have a windows box, but mgen on #d.tango was extremely kind and tried very hard to get a functional gdc under windows. I believe the install steps were missing packages and there's some kind of problem working with autogen with no easy workaround. How can this process be fixed? Is it a matter of better instructions? Should users just assume they can't use gdc on windows? More frequent releases from the gdc team? |
August 06, 2008 Re: GDC on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jason House | Can you all compile gcc for windows? If so, you just need to do a bit to setup gdc to compile with it. Follow the directions listed below (never fails to build gcc unless gdc has problems building), however also read the directions at the gdc site because before you start configuring and stuff, you will have to run the gdc script to make gdc become a compilation option. Link is: http://www.aristeia.com/Misc/gcc4ForWindows_frames.html Need more help? (I'm on IRC sometimes as lmartin92, but school's coming up so I may be there less often) Jason House Wrote: > I needed to generate a windows version of my project and discovered today that I crash dmd when compiling my source. Given the time crunch, I figured it'd be easy to use GDC instead. Boy was I wrong! > > The gdc package for cygwin is way out of date, and the build steps are not all too clear. I don't have a windows box, but mgen on #d.tango was extremely kind and tried very hard to get a functional gdc under windows. I believe the install steps were missing packages and there's some kind of problem working with autogen with no easy workaround. > > How can this process be fixed? Is it a matter of better instructions? Should users just assume they can't use gdc on windows? More frequent releases from the gdc team? |
August 07, 2008 Re: GDC on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jason House | Jason House wrote: > I needed to generate a windows version of my project and discovered today that I crash dmd when compiling my source. Given the time crunch, I figured it'd be easy to use GDC instead. Boy was I wrong! > > The gdc package for cygwin is way out of date, and the build steps are not all too clear. I don't have a windows box, but mgen on #d.tango was extremely kind and tried very hard to get a functional gdc under windows. I believe the install steps were missing packages and there's some kind of problem working with autogen with no easy workaround. > > How can this process be fixed? Is it a matter of better instructions? Should users just assume they can't use gdc on windows? More frequent releases from the gdc team? http://www.mingw.org/ http://gdcwin.sourceforge.net/ |
August 07, 2008 Re: GDC on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to downs | downs Wrote:
> Jason House wrote:
> > I needed to generate a windows version of my project and discovered today that I crash dmd when compiling my source. Given the time crunch, I figured it'd be easy to use GDC instead. Boy was I wrong!
> >
> > The gdc package for cygwin is way out of date, and the build steps are not all too clear. I don't have a windows box, but mgen on #d.tango was extremely kind and tried very hard to get a functional gdc under windows. I believe the install steps were missing packages and there's some kind of problem working with autogen with no easy workaround.
> >
> > How can this process be fixed? Is it a matter of better instructions? Should users just assume they can't use gdc on windows? More frequent releases from the gdc team?
>
> http://www.mingw.org/
>
> http://gdcwin.sourceforge.net/
It's my understanding that you know mgen. You should talk to him about it. He spent something like 2 hours following the gcc/gdc instructions only to end in failure. It was a known problem with autogen?
|
August 07, 2008 Re: GDC on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jason House | Jason House wrote:
> downs Wrote:
>
>> Jason House wrote:
>>> I needed to generate a windows version of my project and discovered today that I crash dmd when compiling my source. Given the time crunch, I figured it'd be easy to use GDC instead. Boy was I wrong!
>>>
>>> The gdc package for cygwin is way out of date, and the build steps are not all too clear. I don't have a windows box, but mgen on #d.tango was extremely kind and tried very hard to get a functional gdc under windows. I believe the install steps were missing packages and there's some kind of problem working with autogen with no easy workaround.
>>>
>>> How can this process be fixed? Is it a matter of better instructions? Should users just assume they can't use gdc on windows? More frequent releases from the gdc team?
>> http://www.mingw.org/
>>
>> http://gdcwin.sourceforge.net/
>
> It's my understanding that you know mgen. You should talk to him about it. He spent something like 2 hours following the gcc/gdc instructions only to end in failure. It was a known problem with autogen?
The above sites contain binaries. Build tools should not come into it.
|
August 08, 2008 Re: GDC on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to downs | downs wrote:
> Jason House wrote:
>> downs Wrote:
>>
>>> Jason House wrote:
>>>> I needed to generate a windows version of my project and discovered
>>>> today
>>>> that I crash dmd when compiling my source. Given the time crunch, I
>>>> figured it'd be easy to use GDC instead. Boy was I wrong!
>>>>
>>>> The gdc package for cygwin is way out of date, and the build steps are
>>>> not
>>>> all too clear. I don't have a windows box, but mgen on #d.tango was
>>>> extremely kind and tried very hard to get a functional gdc under
>>>> windows. I believe the install steps were missing packages and there's
>>>> some kind of problem working with autogen with no easy workaround.
>>>>
>>>> How can this process be fixed? Is it a matter of better instructions? Should users just assume they can't use gdc on windows? More frequent releases from the gdc team?
>>> http://www.mingw.org/
>>>
>>> http://gdcwin.sourceforge.net/
>>
>> It's my understanding that you know mgen. You should talk to him about it. He spent something like 2 hours following the gcc/gdc instructions only to end in failure. It was a known problem with autogen?
>
> The above sites contain binaries. Build tools should not come into it.
That is of course, the first thing to try. Sadly, the latest binary is a year old. In D terms, that's ancient. We tried it anyway and it failed to compile code that works with the ubuntu package of gdc.
I don't have a windows pc, so I can't talk intelligibly about this stuff.
|
August 08, 2008 Re: GDC on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jason House | Jason House wrote:
> downs wrote:
>
>> Jason House wrote:
>>> downs Wrote:
>>>
>>>> Jason House wrote:
>>>>> I needed to generate a windows version of my project and discovered
>>>>> today
>>>>> that I crash dmd when compiling my source. Given the time crunch, I
>>>>> figured it'd be easy to use GDC instead. Boy was I wrong!
>>>>>
>>>>> The gdc package for cygwin is way out of date, and the build steps are
>>>>> not
>>>>> all too clear. I don't have a windows box, but mgen on #d.tango was
>>>>> extremely kind and tried very hard to get a functional gdc under
>>>>> windows. I believe the install steps were missing packages and there's
>>>>> some kind of problem working with autogen with no easy workaround.
>>>>>
>>>>> How can this process be fixed? Is it a matter of better instructions? Should users just assume they can't use gdc on windows? More frequent releases from the gdc team?
>>>> http://www.mingw.org/
>>>>
>>>> http://gdcwin.sourceforge.net/
>>> It's my understanding that you know mgen. You should talk to him about it. He spent something like 2 hours following the gcc/gdc instructions only to end in failure. It was a known problem with autogen?
>> The above sites contain binaries. Build tools should not come into it.
>
> That is of course, the first thing to try. Sadly, the latest binary is a year old. In D terms, that's ancient. We tried it anyway and it failed to compile code that works with the ubuntu package of gdc.
>
> I don't have a windows pc, so I can't talk intelligibly about this stuff.
I don't really know either; it's been ages since I needed this stuff (I switched to Gentoo).
MSys/UnixUtils + MinGW was in my experience sufficient, at least once :), to build GDC. But things might have changed since then.
Sorry for not being more helpful.
|
Copyright © 1999-2021 by the D Language Foundation