[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)

From: Alex Hornby
Subject: Re: (no subject)
Date: 29 Aug 2002 11:00:47 +0100

On Thu, 2002-08-29 at 10:57, Akim Demaille wrote:
> | There are compilers which don't accept `.cc' but need `.cpp' for C++
> | files.  Among them are z/OS (by default) and various compilers for
> | MS-DOS and Windows.  What about support for a CXXEXT variable?  It is
> | quite easy to add a rule
> | 
> |   .cc.cpp:
> |     $(CP) $< $@
> Well, this is a problem, indeed.  The first time this kind of question
> was asked, people suggested working around these broken compilers
> using a wrapper.  Other people suggested a means to find the right
> options.

A successful solution is to call your files *.cpp in the first place.
That's what most portable C++ projects do AFAICT.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]