www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Compiling dmd on Windows

reply Paulo Pinto <pjmlp progtools.org> writes:
Hi,

is there any page on how to compile the whole dmd, druntime and phobos 
on Windows?

I am facing a few issues with me hacking around win32.mak files, related 
to tools location, missing tools(detab) and expected UNIX tools (e.g. cp 
instead of copy).

--
Paulo
Feb 01 2014
next sibling parent reply Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 2/1/14, Paulo Pinto <pjmlp progtools.org> wrote:
 Hi,

 is there any page on how to compile the whole dmd, druntime and phobos
 on Windows?
This is the guide that I wrote a while ago: http://wiki.dlang.org/Using_Git_on_Windows If you get ASM errors while building: http://wiki.dlang.org/Building_DMD#Common_Windows_issues
Feb 01 2014
parent reply Paulo Pinto <pjmlp progtools.org> writes:
Am 01.02.2014 09:33, schrieb Andrej Mitrovic:
 On 2/1/14, Paulo Pinto <pjmlp progtools.org> wrote:
 Hi,

 is there any page on how to compile the whole dmd, druntime and phobos
 on Windows?
This is the guide that I wrote a while ago: http://wiki.dlang.org/Using_Git_on_Windows If you get ASM errors while building: http://wiki.dlang.org/Building_DMD#Common_Windows_issues
Thanks for point it out, going though it now. Shouldn't those makefiles use Windows only tools? -- Paulo
Feb 01 2014
parent reply Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 2/1/14, Paulo Pinto <pjmlp progtools.org> wrote:
 Shouldn't those makefiles use Windows only tools?
Those makefiles should be just one makefile that works across platforms by using GNU Make, but some people love the idea of maintaining 10 different makefiles that are already awfully out of sync, all because DM Make exists.
Feb 01 2014
parent "Trass3r" <un known.com> writes:
On Saturday, 1 February 2014 at 19:28:54 UTC, Andrej Mitrovic 
wrote:
 On 2/1/14, Paulo Pinto <pjmlp progtools.org> wrote:
 Shouldn't those makefiles use Windows only tools?
Those makefiles should be just one makefile that works across platforms by using GNU Make, but some people love the idea of maintaining 10 different makefiles that are already awfully out of sync, all because DM Make exists.
Actually there should something along the lines of a CMakeLists.txt so you are free to use whatever you want, including IDEs.
Feb 02 2014
prev sibling next sibling parent "Kapps" <opantm2+spam gmail.com> writes:
On Saturday, 1 February 2014 at 08:13:17 UTC, Paulo Pinto wrote:
 Hi,

 is there any page on how to compile the whole dmd, druntime and 
 phobos on Windows?

 I am facing a few issues with me hacking around win32.mak 
 files, related to tools location, missing tools(detab) and 
 expected UNIX tools (e.g. cp instead of copy).

 --
 Paulo
Last I tried, all that was needed was to download dmc and run make -f win32.mak.
Feb 01 2014
prev sibling parent reply luka8088 <luka8088 owave.net> writes:
On 1.2.2014. 9:13, Paulo Pinto wrote:
 Hi,
 
 is there any page on how to compile the whole dmd, druntime and phobos
 on Windows?
 
 I am facing a few issues with me hacking around win32.mak files, related
 to tools location, missing tools(detab) and expected UNIX tools (e.g. cp
 instead of copy).
 
 -- 
 Paulo
https://dl.dropboxusercontent.com/u/18386187/contribute.html
Feb 01 2014
parent luka8088 <luka8088 owave.net> writes:
On 1.2.2014. 10:40, luka8088 wrote:
 On 1.2.2014. 9:13, Paulo Pinto wrote:
 Hi,

 is there any page on how to compile the whole dmd, druntime and phobos
 on Windows?

 I am facing a few issues with me hacking around win32.mak files, related
 to tools location, missing tools(detab) and expected UNIX tools (e.g. cp
 instead of copy).

 -- 
 Paulo
https://dl.dropboxusercontent.com/u/18386187/contribute.html
Just a disclaimer (as I see that author is not pointer out). This was not written by me, and I found this link somewhere on the newsgroup some time ago.
Feb 01 2014