Bug 1939 – dmd fails to create x86_64 object files

Status
RESOLVED
Resolution
LATER
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
All
Creation time
2008-03-25T05:26:00Z
Last change time
2015-06-09T05:14:51Z
Assigned to
nobody
Creator
devurandom

Comments

Comment #0 by devurandom — 2008-03-25T05:26:12Z
dmd does not create x86_64 object files and there even seems to be no way to tell it for what architecture to compile.
Comment #1 by fvbommel — 2008-03-25T08:38:11Z
This isn't a bug; nowhere does it say DMD is supposed to be able to generate 64-bit code. It's just an x86 compiler. At best, this is an enhancement request. I'm leaving it open as such, since I couldn't find one for this yet. If you want to generate 64-bit code, I'd suggest GDC: get the debian/ubuntu package (if appropriate) or go to <http://dgcc.sourceforge.net/>. Note that the svn version currently has some bugfixes since the last released version (0.24), so if you're getting it from sourceforge you may want to try compiling from svn. (The packages in the debian & ubuntu repositories should already include those fixes)
Comment #2 by andrei — 2011-01-08T15:18:15Z
Coming soon to a compiler near you.