🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3684

Re: GNU cpp combined with HP C++ compiler ?

#3684
From: Shankar Unni
Date: Thu, 20 Jun 1996 00:00
17 lines
1425 bytes
Linde, Jon Olav (etojol@eto.ericsson.se) wrote:

> CCC.comp = CC -v -tp,/local/gnu/lib/gcc-lib/hppa1.1-hp-hpux9.03/2.7.2/cpp -Wp,-lang-c++,"-MD $*.d"

Make that -Wp,-lang-c++m,-MD,$*.d

(i.e. put a "," instead of an escaped space between -MD and the filename).

When GNU cpp sees -MD, it goes to the *next* argument to get the dependency
file name.

However, you have forced the CC driver to pass in "-MD $*.d" as one argv
token with an embedded space.  Passing it as above should work..
-- 
Shankar Unni                                  shankar@chromatic.com
Chromatic Research                            (408) 752-9488
Technical Details
Message-ID: <4qcb8o$dbp@news.zocalo.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <ETOJOL.96Jun19182015@eto-sharon.eto.ericsson.se>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,5c1219276b9a3d60
X-Google-Attributes: gid11318c,public
X-Google-Thread: fc89c,5c1219276b9a3d60
X-Google-Attributes: gidfc89c,public
X-Google-Thread: fcda7,5c1219276b9a3d60
X-Google-Attributes: gidfcda7,public
From: shankar@chromatic.com (Shankar Unni)
Subject: Re: GNU cpp combined with HP C++ compiler ?
Date: 1996/06/20
Message-ID: <4qcb8o$dbp@news.zocalo.net>
X-Deja-AN: 161250983
distribution: world
references: <ETOJOL.96Jun19182015@eto-sharon.eto.ericsson.se>
followup-to: comp.unix.programmer,comp.sys.hp.hpux,gnu.gcc.help
content-type: text/plain; charset=US-ASCII
organization: Chromatic Research, Sunnyvale, CA
mime-version: 1.0
newsgroups: comp.unix.programmer,comp.sys.hp.hpux,gnu.gcc.help