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