Building Automake 1.14.1 on mac os x 10.6.8

2014-11-03 Thread Arno Bootsmann
I am trying to compile Automake on mac os x 10.6.8, but get the following error message: forge:automake-1.14.1 boomaxx$ make cd . && "/opt/src/automake-1.14.1/t/wrap/automake-1.14" --gnu --ignore-deps Makefile Can't locate /opt/src/automake-1.14.1/bin/automake in @INC (@INC contains: /Library/P

Macro to select c++ as default compiler for c files.

2014-11-03 Thread Lakshmi M
Hi All, I am working with autotools and i wish to use c++ compiler by default for compiling my c files. USUAL behaviour : ex : myexecutable_SOURCES = file.cpp -> uses c++ compiler myexecutable_SOURCES = file.c -> uses c compiler (myexecutable_SOURCES is defined in my Makefi

Re: Macro to select c++ as default compiler for c files.

2014-11-03 Thread Václav Zeman
On 3 November 2014 11:28, Lakshmi M wrote: > Hi All, > > I am working with autotools and i wish to use c++ compiler by default for > compiling my c files. > > USUAL behaviour : > ex : myexecutable_SOURCES = file.cpp -> uses c++ compiler > myexecutable_SOURCES = file.c -> uses

Re: Macro to select c++ as default compiler for c files.

2014-11-03 Thread Pippijn van Steenhoven
On Mon, Nov 03, 2014 at 03:58:14PM +0530, Lakshmi M wrote: > Can anyone please let me know how to use c++ compiler as default for > compiling my c files. One way would be to have, anywhere in your makefiles: CC = $(CXX) That would compile *all* C as C++. signature.asc Description: Digital si