64bit linking on Windows without Visual Studio

2015-04-19 Thread Jeremiah DeHaan via Digitalmars-d
Hey all, While browsing the other day I stumbled across a linker called polink (part of the Pelles C suite). After only a few tries I got a working 64bit Hello World executable to be produced using it. The terms of service is incredibly permissive, and it looks like we can use it how ever we

Re: 64bit linking on Windows without Visual Studio

2015-04-19 Thread ketmar via Digitalmars-d
On Mon, 20 Apr 2015 04:05:19 +, Jeremiah DeHaan wrote: > Hey all, > > While browsing the other day I stumbled across a linker called polink > (part of the Pelles C suite). After only a few tries I got a working > 64bit Hello World executable to be produced using it. The terms of > service is

Re: 64bit linking on Windows without Visual Studio

2015-04-19 Thread Joakim via Digitalmars-d
On Monday, 20 April 2015 at 04:05:21 UTC, Jeremiah DeHaan wrote: Hey all, While browsing the other day I stumbled across a linker called polink (part of the Pelles C suite). After only a few tries I got a working 64bit Hello World executable to be produced using it. The terms of service is in

Re: 64bit linking on Windows without Visual Studio

2015-04-20 Thread Jeremy DeHaan via Digitalmars-d
On Monday, 20 April 2015 at 04:32:32 UTC, Joakim wrote: There are three aspects of Visual Studio used for D's Win64 support: the Microsoft C compiler to compile a few C files in COFF64 format, the Microsoft COFF64 linker, and the Microsoft C library in COFF64 format. Replacing only one will no

Re: 64bit linking on Windows without Visual Studio

2015-04-20 Thread Joakim via Digitalmars-d
On Monday, 20 April 2015 at 16:39:38 UTC, Jeremy DeHaan wrote: As ifor the C compiler, wth DDMD around the corner that seems like it well be a non issue very soon. Really, all we would need are the linker and the libraries, right? I could still do more fiddling, but when I used this linker I us

Re: 64bit linking on Windows without Visual Studio

2015-04-20 Thread Jeremiah DeHaan via Digitalmars-d
On Monday, 20 April 2015 at 16:47:53 UTC, Joakim wrote: The C compiler isn't to compile dmd, but some C files that are necessary for druntime and phobos. btw, DDMD only translates the frontend to D, the dmd backend is still C++. Not that it matters, as we're only talking about what's necessar

Re: 64bit linking on Windows without Visual Studio

2015-04-20 Thread ketmar via Digitalmars-d
On Mon, 20 Apr 2015 18:26:15 +, Jeremiah DeHaan wrote: > Oh, huh. For some reason I thought that DMD was doing its own code > generation it does. but to compile DMD itself, even in DDMD form, you still need C++ compiler, as codegen part is still in C++ and will not be translated to D. so DD

Re: 64bit linking on Windows without Visual Studio

2015-04-20 Thread Joakim via Digitalmars-d
On Monday, 20 April 2015 at 18:26:16 UTC, Jeremiah DeHaan wrote: Oh, huh. For some reason I thought that DMD was doing its own code generation and only needed a linker for putting it all together. I didn't know that it needed another compiler to work. It looks like I have more to learn about the