[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Adding --tag=CXX
From: |
Bob Friesenhahn |
Subject: |
Adding --tag=CXX |
Date: |
Tue, 25 Nov 2003 12:12:05 -0600 (CST) |
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
address@hidden
http://www.simplesystems.org/users/bfriesen
- Adding --tag=CXX,
Bob Friesenhahn <=