does the x64 compiler for linux make x64 executables?

Jesse Phillips jessekphillips+D at gmail.com
Fri Jul 22 10:36:28 PDT 2011


McAnany, Charles E Wrote:

> Hi, all.
> So I see that there is an Ubuntu dmd that has "x86_64" as the "CPU" column. Before I install Ubuntu to great disappointment, does this mean that I get a 64 bit executable, or does it just mean that the compiler itself is a 64 bit application?
> Thanks,
> Charles.

Pass the compiler -m64 to generate 64bit code, I do not believe it defaults to 64 file format even on the 64bit executable, but maybe that changed and someone can update me on it.


More information about the Digitalmars-d-learn mailing list