migrating to 64 bit

Jordi Sayol g.sayol at yahoo.es
Mon Dec 16 21:19:54 PST 2013


El 16/12/13 22:13, Stephen Jones ha escrit:
> Thanks for your answers but I wasn't quite clear about what I asking. Basically I am on a 64 bit os but I want to continue compiling for a 32 bit os. I don't want to reconfigure Derelict because I already have all the functionality I need from Derelict. Until dmd on Windows 64 bit is sorted out, including a clear procedure for setting up the linker I have no need or wish to compile for 64 bit. Especially since any d program that compiles on 32 bit will compile under 64 bit.
> 
> Is there a flag on dmd that forces it to assume it is creating 32 bit object files? Or is this not possible?
> 

AFAIK, 32-bit dmd will always compile to 32-bit by default, so "-m32" flag is not needed even if compiling on 64-bit windows. To compile to 64-bit use "-m64".

-- 
Jordi Sayol


More information about the Digitalmars-d-learn mailing list