different branches sharing an install-prefix

Daniel Franke franke.daniel@gmail.com
Fri May 4 12:50:00 GMT 2007


2007/5/3, Brian Dessent <brian@dessent.net>:
> Daniel Franke wrote:
>
> > Should it be possible to install different branches/versions of gcc
> > sharing the same prefix?
>
> You probably want --enable-version-specific-runtime-libs when
> configuring if you're going to use the same prefix.  That will cause it
> to put libs in $prefix/lib/gcc/$target/x.y.z/ and
> $prefix/libexec/gcc/$target/x.y.z/ where x.y.z is the version.

Brian, thanks!
That was exactly what I was looking for.

One note: I assume, $prefix/lib should be empty besides the
gcc-directory if installed into an empty $prefix? After rebuilding and
installing, I also have $prefix/lib/libiberty.a in that directory?!

Thanks again.
    Daniel



More information about the Gcc-help mailing list