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

Reply via email to