Re: 64bit phobos on Windows?

2011-03-23 Thread Bruno Medeiros
On 19/02/2011 23:53, Nick Sabalausky wrote: But even though I hate Win7 (if I wanted my OS to be like OSX I'd still be using OSX - although it looks like http://classicshell.sourceforge.net; might fix some of my Win7 complaints), Linux still isn't quite to the point where I'm ready to switch to

Re: 64bit phobos on Windows?

2011-03-05 Thread Andrej Mitrovic
Cross-post from another thread: Well I have some good news, I've finally managed to get GDC working for D2 on Windows (using Msys). I owe it to Ian Buclaw and Daniel Green for all the help. You can download an updated guide here: http://dl.dropbox.com/u/9218759/gdcbuild_mingw.txt Sorry again for

Re: 64bit phobos on Windows?

2011-02-25 Thread Bruno Medeiros
On 19/02/2011 22:30, Iain Buclaw wrote: == Quote from Nick Sabalausky (a@a.a)'s article Trass3ru...@known.com wrote in message news:op.vq5xlfto3ncmek@enigma... Compiling GDC on Windows is a PITA. I wish someone released prebuilt versions. Compiling GCC on Windows is a PITA. Windows is a

Re: 64bit phobos on Windows?

2011-02-25 Thread Jérôme M. Berger
Bruno Medeiros wrote: On 19/02/2011 22:30, Iain Buclaw wrote: == Quote from Nick Sabalausky (a@a.a)'s article Trass3ru...@known.com wrote in message news:op.vq5xlfto3ncmek@enigma... Compiling GDC on Windows is a PITA. I wish someone released prebuilt versions. Compiling GCC on Windows is a

Re: 64bit phobos on Windows?

2011-02-20 Thread Johannes Pfau
Andrej Mitrovic wrote: On 2/20/11, Trass3r u...@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

Re: 64bit phobos on Windows?

2011-02-20 Thread Johannes Pfau
Andrej Mitrovic wrote: On 2/20/11, Trass3r u...@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

Re: 64bit phobos on Windows?

2011-02-20 Thread Anders F Björklund
Iain Buclaw wrote: I wish someone released prebuilt versions. Compiling GCC on Windows is a PITA. Windows is a PITA, period. I tried using it as an everyday OS the other week. Something that I will never try again any time soon... Fortunately one can run MinGW on other platforms, even if

Re: 64bit phobos on Windows?

2011-02-20 Thread Andrej Mitrovic
If I get this thing working I'll post binaries and a batch/shell script that does all the work automatically. I really don't understand the point of using MSYS and then writing a 2-page guide even though MSYS has a working shell interpreter. /rant

Re: 64bit phobos on Windows?

2011-02-20 Thread Andrej Mitrovic
cc1d.exe crashed after an hour of building. Right, I'll stop trying now.

Re: 64bit phobos on Windows?

2011-02-20 Thread Iain Buclaw
== Quote from Andrej Mitrovic (andrej.mitrov...@gmail.com)'s article cc1d.exe crashed after an hour of building. Right, I'll stop trying now. Mutters something about needing to compile gmp, mpfr (and probably mpc for 4.5) before attempting to build gdc on Windows.

Re: 64bit phobos on Windows?

2011-02-20 Thread Andrej Mitrovic
No I did that. And I've patched GCC 3.4.5. This step causes the crash at the end: make STAGE1_CFLAGS=-g3 -O0 21 | tee build.log Log: checking If /gdc/dev/build/gcc/./gcc/gdc -B/gdc/dev/build/gcc/./gcc/ -L/gdc/dev/build/gcc/i686-pc-mingw32/winsup/mingw

Re: 64bit phobos on Windows?

2011-02-20 Thread Andrej Mitrovic
Now I've tried GCC v3.4.5, applied gcc-4.4.0-20080731-pex-win32.patch, applied the TDM GCC 3.4.5 patches, and I get the same thing: --- cc1d.exe - Application Error --- The application failed to initialize properly (0xc005). Click on OK to

Re: 64bit phobos on Windows?

2011-02-20 Thread Jérôme M. Berger
Andrej Mitrovic wrote: No I did that. And I've patched GCC 3.4.5. This step causes the crash at the end: make STAGE1_CFLAGS=-g3 -O0 21 | tee build.log Log: checking If /gdc/dev/build/gcc/./gcc/gdc -B/gdc/dev/build/gcc/./gcc/ -L/gdc/dev/build/gcc/i686-pc-mingw32/winsup/mingw

Re: 64bit phobos on Windows?

2011-02-20 Thread Iain Buclaw
== Quote from Andrej Mitrovic (andrej.mitrov...@gmail.com)'s article Now I've tried GCC v3.4.5, applied gcc-4.4.0-20080731-pex-win32.patch, applied the TDM GCC 3.4.5 patches, and I get the same thing: --- cc1d.exe - Application Error --- The

Re: 64bit phobos on Windows?

2011-02-20 Thread Andrej Mitrovic
I'm sorry for hijacking this topic guys. :p I am getting somewhere though. GDC changeset 475, using GCC 4.5.0 with applied TDM-GCC 4.5.0 patches, with built gmp, mpc and mpftr. The Windows build documentation needs an update (I'll fix it myself given the chance). I've gotten build errors after:

Re: 64bit phobos on Windows?

2011-02-20 Thread Andrej Mitrovic
K, I've reported the bug.

Re: 64bit phobos on Windows?

2011-02-20 Thread bearophile
Andrej Mitrovic: I'm sorry for hijacking this topic guys. :p I am getting somewhere though. GDC changeset 475, using GCC 4.5.0 with applied TDM-GCC 4.5.0 patches, with built gmp, mpc and mpftr. The Windows build documentation needs an update (I'll fix it myself given the chance). If you

Re: 64bit phobos on Windows?

2011-02-19 Thread Richard Webb
Is a Windows 64 bit version of GDC any closer than a version of DMD? I guess that fixing Phobos will be useful there as well.

Re: 64bit phobos on Windows?

2011-02-19 Thread Trass3r
Compiling GDC on Windows is a PITA. I wish someone released prebuilt versions.

Re: 64bit phobos on Windows?

2011-02-19 Thread Nick Sabalausky
Trass3r u...@known.com wrote in message news:op.vq5xlfto3ncmek@enigma... Compiling GDC on Windows is a PITA. I wish someone released prebuilt versions. Compiling GCC on Windows is a PITA.

Re: 64bit phobos on Windows?

2011-02-19 Thread Andrej Mitrovic
That's why we have TDM: http://tdm-gcc.tdragon.net/ At least for GCC.

Re: 64bit phobos on Windows?

2011-02-19 Thread Iain Buclaw
== Quote from Nick Sabalausky (a@a.a)'s article Trass3r u...@known.com wrote in message news:op.vq5xlfto3ncmek@enigma... Compiling GDC on Windows is a PITA. I wish someone released prebuilt versions. Compiling GCC on Windows is a PITA. Windows is a PITA, period. I tried using it as an

Re: 64bit phobos on Windows?

2011-02-19 Thread Andrej Mitrovic
Disregard my TDM link, I didn't realize GCC has to be built from the ground up for GDC (that's the impression I get from the looks of things on the web). Are there no GDC binaries for D2/Win32?

Re: 64bit phobos on Windows?

2011-02-19 Thread Nick Sabalausky
Andrej Mitrovic andrej.mitrov...@gmail.com wrote in message news:mailman.1800.1298152676.4748.digitalmar...@puremagic.com... That's why we have TDM: http://tdm-gcc.tdragon.net/ At least for GCC. Ah cool. Kind of like a DJGPP: The Next Generation

Re: 64bit phobos on Windows?

2011-02-19 Thread Andrej Mitrovic
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).

Re: 64bit phobos on Windows?

2011-02-19 Thread Nick Sabalausky
Iain Buclaw ibuc...@ubuntu.com wrote in message news:ijpgap$1shk$1...@digitalmars.com... == Quote from Nick Sabalausky (a@a.a)'s article Trass3r u...@known.com wrote in message news:op.vq5xlfto3ncmek@enigma... Compiling GDC on Windows is a PITA. I wish someone released prebuilt versions.

Re: 64bit phobos on Windows?

2011-02-19 Thread Nick Sabalausky
Andrej Mitrovic andrej.mitrov...@gmail.com wrote in message news:mailman.1802.1298158001.4748.digitalmar...@puremagic.com... 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

Re: 64bit phobos on Windows?

2011-02-19 Thread Andrej Mitrovic
On 2/20/11, Nick Sabalausky a@a.a wrote: Eveything's probably out-of-date enough to useless by now, but FWIW I wrote a little bit about it here: http://www.semitwist.com/articles/article/view/d-on-gba-nds-progress-thanks-to-oopman Okay, I've collected a few links to get me started. Thanks

Re: 64bit phobos on Windows?

2011-02-19 Thread Nick Sabalausky
Nick Sabalausky a@a.a wrote in message news:ijpmbc$25vv$1...@digitalmars.com... Andrej Mitrovic andrej.mitrov...@gmail.com wrote in message news:mailman.1802.1298158001.4748.digitalmar...@puremagic.com... I'm very interested in trying out GDC with D2 on Win32. I fear compiling GDC is gonna

Re: 64bit phobos on Windows?

2011-02-19 Thread Trass3r
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

Re: 64bit phobos on Windows?

2011-02-19 Thread Trass3r
http://classicshell.sourceforge.net; might fix some of my Win7 complaints), Thanks for the link. The copy UI and status bar issues are indeed annoying.

Re: 64bit phobos on Windows?

2011-02-19 Thread Nick Sabalausky
Andrej Mitrovic andrej.mitrov...@gmail.com wrote in message news:mailman.1803.1298161166.4748.digitalmar...@puremagic.com... On 2/20/11, Nick Sabalausky a@a.a wrote: Eveything's probably out-of-date enough to useless by now, but FWIW I wrote a little bit about it here:

Re: 64bit phobos on Windows?

2011-02-19 Thread Nick Sabalausky
Trass3r u...@known.com wrote in message news:op.vq6d47mm3ncmek@enigma... http://classicshell.sourceforge.net; might fix some of my Win7 complaints), Thanks for the link. The copy UI and status bar issues are indeed annoying. I've never actually tried Classic Shell since my sister's computer

Re: 64bit phobos on Windows?

2011-02-19 Thread Andrej Mitrovic
On 2/20/11, Trass3r u...@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

64bit phobos on Windows?

2011-02-18 Thread Richard Webb
I know that 64bit support on Windows is behind Linux etc for various reasons, but i thought i'd tried building some things with -m64 just to test, and got a bunch of errors like std\file.d(223): Error: undefined identifier GetLastError std\file.d(2067): Error: undefined identifier WIN32_FIND_DATA