Hello All,
I want to install several variants of gcc, to be specific: the trunk,
the lto branch, the MELT branch (all in the same prefix ie /usr/local)
I thought that just configuring each variant with its own program suffix
would be enough, so I configured the trunk with --program-suffix=-trunk,
the LTO branch with --program-suffix=-lto, the MELT branch with
--program-suffix=-melt
However, this does not work, since all three installations have the same
libexecsubdir that is /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0
Is there a configure option I missed? I definitely want all three to be
in the same prefix, and the user programs all be under /usr/local/bin ie
/usr/local/bin/gcc-{trunk,lto,melt}
Or should we patch the gcc/Makefile.in and probably the gcc/configure.ac
so that libsubdir and libexecsubdir depends upon the program-suffix at
configure time?
How do you folks have several GCC installed at the same prefix?
Regards.
PS: I hope all gcc summit attendees have a nice summit.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***