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]

Adding --tag=CXX


In a build environment I am creating using Automake 1.7.9 & CVS
libtool, GCC (gcc & g++) are used as the normal compiler.  However,
sometimes developers want to substitute 'insure' as the compiler in
order to do memory leak checking.  My understanding is that 'insure'
runs the tested gcc or g++ under the covers so from libtool's
perspective, there should be no change.

Unfortunately, it is not possible to simply substitute one compiler
name for another since libtool uses the compiler name to determine the
tag.  It turns out that adding --tag=CC for C, and --tag=CXX for C++,
is sufficient to cause libtool to accept the new compiler name using
an existing tagged configuration.

Does anyone have some experience they can share with accomplishing
this in an Automake-based environment?  It would be useful if Automake
would detect libtool 1.5 or greater and automatically supply the
correct --tag option at the correct points.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen




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