does the x64 compiler for linux make x64 executables?
Jonathan M Davis
jmdavisProg at gmx.com
Thu Jul 21 22:18:17 PDT 2011
On Friday 22 July 2011 04:45:59 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.
Both. If you compile with -m32, it will generate 32-bit programs, and if you
compile with -m64, it will generate 64-bit programs. It generates 64-bit
programs by default.
http://www.digitalmars.com/d/2.0/dmd-linux.html
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list