This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: several installed gcc, or libdir should depend upon -program-suffix...
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Basile STARYNKEVITCH <basile at starynkevitch dot net>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Tue, 9 Jun 2009 12:52:49 +0200 (CEST)
- Subject: Re: several installed gcc, or libdir should depend upon -program-suffix...
- References: <4A2DFF40.1050004@starynkevitch.net>
On Tue, 9 Jun 2009, Basile STARYNKEVITCH wrote:
> How do you folks have several GCC installed at the same prefix?
Yes, I have been doing this for the FreeBSD ports for years, and what
I am using there is the following
--program-suffix=${SUFFIX} \
--libdir=${TARGLIB} \
--libexecdir=${LIBEXEC} \
--with-gxx-include-dir=${TARGLIB}/include/c++/
with
TARGLIB= ${PREFIX}/lib/gcc${SUFFIX}
LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
Gerald