Re: dmd, x64 and Windows

2011-03-07 Thread Andrej Mitrovic
No problem. Make sure you follow the latest one because there's another patch you have to use to make stdio work (I've posted this on SO already). I've also added some info on where to get GDB and its manuals. Using GDB works great, the symbols get loaded from the executable when compiled with

Re: dmd, x64 and Windows

2011-03-06 Thread Andrej Mitrovic
On 3/6/11, Caligo iteronve...@gmail.com wrote: Kind of off-topic, but does anyone know if GDC is still scheduled to be included in GCC 4.7? Dunno. But this raises an interesting observation. If GDC gets included in the GCC mainline, I wonder if the MinGW and TDM-MinGW teams will start getting

Re: dmd, x64 and Windows

2011-03-06 Thread Mehrdad
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 having hijacked this thread. :)

Re: dmd, x64 and Windows

2011-03-05 Thread Andrej Mitrovic
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 having hijacked this thread. :)

Re: dmd, x64 and Windows

2011-03-05 Thread Caligo
Kind of off-topic, but does anyone know if GDC is still scheduled to be included in GCC 4.7?

Re: dmd, x64 and Windows

2011-02-28 Thread Andrej Mitrovic
On 2/28/11, Iain Buclaw ibuc...@ubuntu.com wrote: It's not much, but should be enough to start some work on getting MinGW working. After installing on a fresh Ubuntu 10.10 32bit I get: Breaks existing package 'mingw32-binutils' that conflict: 'mingw32'. But the

Re: dmd, x64 and Windows

2011-02-27 Thread Iain Buclaw
== Quote from Jérôme M. Berger (jeber...@free.fr)'s article This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --enigBAD628AE9E72F8111315C90D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Andrej Mitrovic wrote: Well now I've tried

Re: dmd, x64 and Windows

2011-02-27 Thread Andrej Mitrovic
On 2/27/11, Iain Buclaw ibuc...@ubuntu.com wrote: PPA here: https://launchpad.net/~ibuclaw/+archive/ppa/+sourcepub/1528149/+listing-archive-extra Wohoo, binaries!! :] I'm a bit sick right now so I won't have much time to test it these days. I'll get better soon I hope. P.S. now that I've

Re: dmd, x64 and Windows

2011-02-27 Thread Iain Buclaw
== Quote from Andrej Mitrovic (andrej.mitrov...@gmail.com)'s article On 2/27/11, Iain Buclaw ibuc...@ubuntu.com wrote: PPA here: https://launchpad.net/~ibuclaw/+archive/ppa/+sourcepub/1528149/+listing-archive-extra Wohoo, binaries!! :] I'm a bit sick right now so I won't have much time to

Re: dmd, x64 and Windows

2011-02-23 Thread Trass3r
Walter Bright Wrote: To do 64 bits on Windows requires: 1. 64 bit OMF 2. 64 bit librarian 3. 64 bit generating dmd 4. 64 bit C compiler 5. 64 bit symbolic debug info 6. 64 bit debugger 7. 64 bit C runtime Just one of those won't do it. All are necessary. The reason I did 64 bit

Re: dmd, x64 and Windows

2011-02-23 Thread Andrej Mitrovic
On 2/23/11, Iain Buclaw ibuc...@ubuntu.com wrote: == Quote from Andrej Mitrovic (andrej.mitrov...@gmail.com)'s article I've been trying to compile GDC the last couple of days. I've ran into some issues, but I've put them in GDC tickets and it seems from the last comments that Iain Buclaw has

Re: dmd, x64 and Windows

2011-02-23 Thread Andrej Mitrovic
Well now I've tried executing it from the build folder but then I get an error: andrej@andrej-VirtualBox:~/Desktop/gdcbuild/buildgw/buildgw/gcc$ ./gdc test.d gdc: error trying to exec 'cc1d': execvp: No such file or directory (disregard the double buildgw folder, I've accidentally made two).

Re: dmd, x64 and Windows

2011-02-23 Thread Robert Clipsham
On 23/02/11 21:15, Andrej Mitrovic wrote: which apparently installed it in /build/Mingw32, but I can't seem to invoke it: $ gdc The program 'gdc' is currently not installed. You can install it by typing: sudo apt-get install gdc What do I have to do to be able to run gdc from within any

Re: dmd, x64 and Windows

2011-02-23 Thread Andrej Mitrovic
Ooh I'm probably missing runtime libs like binutils. Sorry! I still want to know how to install gdc on the system though.

Re: dmd, x64 and Windows

2011-02-23 Thread Andrej Mitrovic
On 2/23/11, Robert Clipsham rob...@octarineparrot.com wrote: snip Thanks. The opt/Mingw32/usr/bin folder has 586-mingw32msvc-gdc as the executable name for gdc. Is there a way to link 'gdc' calls to '586-mingw32msvc-gdc' ?

Re: dmd, x64 and Windows

2011-02-23 Thread Andrej Mitrovic
Right, installing gdc fixed the missing cc1d issue. But now I have other issues: andrej@andrej-VirtualBox:~/Desktop/test$ i586-mingw32msvc-gdc test.d object.d: Error: module object is in file 'object.d' which cannot be read import path[0] =

Re: dmd, x64 and Windows

2011-02-23 Thread Walter Bright
Trass3r wrote: Hence I wonder even more, wouldn't it make sense to use MinGW's tools which are a direct port of all those unix ones? Perhaps. I have to do more investigation.

Re: dmd, x64 and Windows

2011-02-23 Thread Robert Clipsham
On 23/02/11 21:40, Andrej Mitrovic wrote: Right, installing gdc fixed the missing cc1d issue. But now I have other issues: andrej@andrej-VirtualBox:~/Desktop/test$ i586-mingw32msvc-gdc test.d object.d: Error: module object is in file 'object.d' which cannot be read import path[0] =

Re: dmd, x64 and Windows

2011-02-23 Thread Robert Clipsham
On 23/02/11 21:36, Andrej Mitrovic wrote: On 2/23/11, Robert Clipshamrob...@octarineparrot.com wrote: snip Thanks. The opt/Mingw32/usr/bin folder has 586-mingw32msvc-gdc as the executable name for gdc. Is there a way to link 'gdc' calls to '586-mingw32msvc-gdc' ? ls -s

Re: dmd, x64 and Windows

2011-02-23 Thread Andrej Mitrovic
On 2/23/11, Robert Clipsham rob...@octarineparrot.com wrote: Try: gdc -I/opt/Mingw32/usr/local/include/d/4.5.2 test.d There is no opt/Mingw32/usr/local folder, there's a opt/Mingw32/usr/include folder but it's empty. Alternatively: find /opt/Mingw32 -name object.d Doesn't show anything.

Re: dmd, x64 and Windows

2011-02-23 Thread Jérôme M. Berger
Andrej Mitrovic wrote: On 2/23/11, Robert Clipsham rob...@octarineparrot.com wrote: ls -s /opt/Mingw32/usr/bin/i586-mingw32msvc-gdc /opt/Mingw32/usr/bin/gdc andrej@andrej-VirtualBox:/$ ls -s /opt/Mingw32/usr/bin/i586-mingw32msvc-gdc /opt/Mingw32/usr/bin/gdc ls: cannot access

Re: dmd, x64 and Windows

2011-02-23 Thread Jérôme M. Berger
Andrej Mitrovic wrote: Well now I've tried executing it from the build folder but then I get an error: andrej@andrej-VirtualBox:~/Desktop/gdcbuild/buildgw/buildgw/gcc$ ./gdc test.d gdc: error trying to exec 'cc1d': execvp: No such file or directory Do you have a folder named gcc in

dmd, x64 and Windows

2011-02-22 Thread Trass3r
While I'm delighted that we finally have a basic D2 x64 compiler I can't stop wondering how long it will take till I finally get my hands on it on Windows. God knows I'd have switched to gdc long ago if gcc wasn't such a PITA to compile on Windows! Several attempts over the past year failed.

Re: dmd, x64 and Windows

2011-02-22 Thread Trass3r
antiquated object format, linker and C runtime (that have caused enough despair and rage since the beginning of time.. er, D) Just count the occurrences of OPTLINK preceding the post Bye, D!: http://h3.gd/devlog/

Re: dmd, x64 and Windows

2011-02-22 Thread Andrej Mitrovic
I've been trying to compile GDC the last couple of days. I've ran into some issues, but I've put them in GDC tickets and it seems from the last comments that Iain Buclaw has managed to create a cross-compiler setup and working. This is all last-minute info so I don't know if we'll have GDC working

Re: dmd, x64 and Windows

2011-02-22 Thread Walter Bright
Trass3r wrote: While I'm delighted that we finally have a basic D2 x64 compiler I can't stop wondering how long it will take till I finally get my hands on it on Windows. God knows I'd have switched to gdc long ago if gcc wasn't such a PITA to compile on Windows! Several attempts over the past

Re: dmd, x64 and Windows

2011-02-22 Thread Iain Buclaw
== Quote from Andrej Mitrovic (andrej.mitrov...@gmail.com)'s article I've been trying to compile GDC the last couple of days. I've ran into some issues, but I've put them in GDC tickets and it seems from the last comments that Iain Buclaw has managed to create a cross-compiler setup and

Re: dmd, x64 and Windows

2011-02-22 Thread Andrej Mitrovic
I've tried to build it on native windows. It seems to build fine, and after I've issued make install it got installed to build/mingw32. But I'm missing libstdc++.dll. I couldn't figure out where to download the dll from, the MinGW sourceforge website is horrible to browse through. I copied the