Bug creation and email sending has been disabled, file new bugs at gcc.gnu.org/bugzilla
Bug 232 - 'gdmd -c -of<file> …' writes <file>.o
Summary: 'gdmd -c -of<file> …' writes <file>.o
Status: RESOLVED WORKSFORME
Alias: None
Product: GDC
Classification: Unclassified
Component: gdc (show other bugs)
Version: development
Hardware: All Linux
: --- normal
Assignee: Iain Buclaw
URL:
Depends on:
Blocks:
 
Reported: 2016-06-26 20:14 CEST by David Nadlinger
Modified: 2020-05-17 16:15 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Nadlinger 2016-06-26 20:14:51 CEST
As per the title – 'gdmd -c -of<file> …' writes to <file>.o, not <file> like DMD.

In particular, 'gdmd -c -oftest.o test.d' produces test.o.o, whereas DMD writes to test.o.

This is with GDMD from Git master (2422b48), as shipped with the Arch Linux gdc package.
Comment 1 Johannes Pfau 2016-06-27 07:21:56 CEST
Works with the new D GDMD:
https://github.com/D-Programming-GDC/GDMD/tree/dport

I'm not sure if we should fix the old GDMD script or just switch to the new GDMD everywhere...
Comment 2 David Nadlinger 2016-06-27 13:57:15 CEST
That sounds sensible enough, but is ultimately something you guys will need to figure out internally – as a user, I only care that there is a GDMD that works correctly. :)
Comment 3 Iain Buclaw 2020-05-17 16:15:36 CEST
As stated, it's already been fixed.