does the x64 compiler for linux make x64 executables?
Jonathan M Davis
jmdavisProg at gmx.com
Fri Jul 22 13:14:52 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.
The documentation page for the compiler says that it does default to -m64 on
x86_64:
http://www.digitalmars.com/d/2.0/dmd-linux.html
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list