Bug 2068 – GDC does not use specs files

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
All
Creation time
2008-05-05T10:07:00Z
Last change time
2015-06-09T05:14:57Z
Assigned to
dvdfrdmn
Creator
e-t172

Comments

Comment #0 by e-t172 — 2008-05-05T10:07:55Z
When using specs files, GDC ignores the "cc1d" part. It should not. Steps to reproduce: Write a specs file with the following contents: *cc1d: -do -you -hear -me Then execute: gdc -specs specsfile -c test.d Expected result: $ gdc -specs specsfile -c test.d cc1d: error: unrecognized command line option "-you" cc1d: error: unrecognized command line option "-hear" cc1d: error: unrecognized command line option "-me" $ Actual result: $ gdc -specs specsfile -c test.d $ Tested with GDC r217, GCC 4.1.2, on a x86_64 Debian GNU/Linux system.
Comment #1 by dvdfrdmn — 2008-05-10T20:45:59Z
The g++ driver supports a "cc1plus" spec, so it makes sense to support something similar in gdc. Fixed in release 0.25 / rel 221