[PLUG] Multiple C library versions OK?
Aaron Burt
aaron at speakeasy.org
Tue Mar 23 17:25:03 UTC 2004
On Tue, Mar 23, 2004 at 02:17:49PM -0800, Rich Shepard wrote:
> I know that I can have different versions of various libraries on the
> system at the same time (e.g., gtk+, python). Can I also have multiple
> copies of gcc on my system?
>
> Red Hat 7.3 comes with gcc-2.96. An application I want to build and
> install requires the 3.x series, preferable 3.2.x. Could I do an install and
> have the compiler versions coexist -- happily?
I've done it, on RedHat I think. What happens is that the gcc binary is
installed as gcc-[version] and 'gcc' is a symlink to the version you're
using. Change the symlink to change the version of GCC.
I think some makefiles can be told which version to use, too.
Good luck,
Aaron
More information about the PLUG
mailing list