D.gnu - [Issue 2068] New: GDC does not use specs files
- d-bugmail puremagic.com (30/30) May 05 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2068
 - d-bugmail puremagic.com (11/11) May 10 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2068
 
http://d.puremagic.com/issues/show_bug.cgi?id=2068
           Summary: GDC does not use specs files
           Product: DGCC aka GDC
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn users.sf.net
        ReportedBy: e-t172 akegroup.org
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.
-- 
 May 05 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2068
dvdfrdmn users.sf.net changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
The g++ driver supports a "cc1plus" spec, so it makes sense to support
something similar in gdc.
Fixed in release 0.25 / rel 221
-- 
 May 10 2008








 
 
 
 d-bugmail puremagic.com