This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: (no subject)
- From: Alex Hornby <alex at anvil dot co dot uk>
- To: Akim Demaille <akim at epita dot fr>
- Cc: Werner LEMBERG <wl at gnu dot org>, autoconf at gnu dot org, Jeff Conrad <jeff_conrad at msn dot com>, Automake List <automake at gnu dot org>
- Date: 29 Aug 2002 11:00:47 +0100
- Subject: Re: (no subject)
- References: <20020823.175925.132935186.wl@gnu.org> <mv4elcij8ce.fsf@nostromo.lrde.epita.fr>
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.
Alex.