www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.ide
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics



D.gnu - [Issue 2068] New: GDC does not use specs files

↑ ↓ ← d-bugmail puremagic.com writes:
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
↑ ↓ → d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2068


dvdfrdmn users.sf.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from dvdfrdmn users.sf.net  2008-05-10 20:45 -------
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