This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: several installed gcc, or libdir should depend upon -program-suffix...


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


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