This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: (no subject)


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.





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]