On Tuesday, 13 May 2014 at 13:53:36 UTC, Manu via Digitalmars-d
wrote:
On 13 May 2014 23:24, steven kladitis via Digitalmars-d
<[email protected]> wrote:
On Tuesday, 13 May 2014 at 13:16:50 UTC, steven kladitis wrote:
On Monday, 12 May 2014 at 23:21:28 UTC, Nick Sabalausky wrote:
On 5/12/2014 5:01 PM, Andrej Mitrovic via Digitalmars-d
wrote:
On 5/12/14, Nick Sabalausky via Digitalmars-d
<[email protected]> wrote:
You don't need a 64-bit version: Compiling 64-bit programs
doesn't
require a 64-bit compiler. Just install VC++, use the DMD
2.065 Win
installer, and then toss in the -m64 flag when compiling.
Works fine.
Doesn't matter if DMD itself is 32-bit.
As Vladimir in IRC reminded me, there is one use-case: You
may need it
for some intensive CTFE stuff (excessive memory allocations
and no
freeing by the compiler). That is, if you need more than
3/4 gigs.
Right, there's certainly that. But that has nothing to do
with whether
you're trying to build a 64-bit or 32-bit program, and (at
least for
Windows) it isn't even an issue at all unless you actually
are hitting that
limit (unlikely for a newcomer to D). It sounded like steven
kladitis was
worried about just being able to create 64-bit programs. For
that, it makes
no difference if the compiler itself is a 32- or 64-bit
build.
dmd -m64 ( windows ) says \bin\link not found :)
if the -m64 lets the compiled code use 64 bit registers and
ints are now 64
bit then great! What is VC++, is it free?
Pointers are 64bits.
int is 32 bits, long is 64 bits.
size_t is 64 bits.
VC++ is Microsoft's compiler, DMD-x64 uses the de-facto standard
Microsoft linker, since OPTLINK doesn't support 64bit.
It is available for free.
I have installed it and am still unable to compile a 64 bit D
program.
C:\d\dmd2\samples\d>dmd wc.d
C:\d\dmd2\samples\d>dmd -m64 wc.d
--- errorlevel -1073741515