Re: different branches sharing an install-prefix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Franke wrote:

> Should it be possible to install different branches/versions of gcc
> sharing the same prefix?
> 
> Currently I have gcc-4_2-branch and trunk, that are both installed
> into the same prefix, but while this "worked" for months, I doesn't
> any more since the "_gfortran_string_repeat" function was removed (my
> code uses REPEAT). While there are two libraries, libgfortran.2.0.0
> and libgfortran.so.3.0.0, there is only one libgfortran.la, pointing
> to either one, depending on the order of installation. The workaround
> is obviously two use different prefixes, but I wonder whether it
> should still be possible to share the 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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux