Re: Multiple GCC and multiple sets of shared libraries

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

 



Hi Joe,

"GCC 2.96" is not a GCC release.  It is a Red Hat release, and not supported
by GCC.

You may have better luck getting your question answered on a Red Hat forum
that supports 2.96.

That being said, your question does not strike me as particular to 2.96, but
rather a generic Linux linker & loader question.

You may want to investigate the linker -rpath switch (used via
-Wl,-rpath,/usr/local/gc/2.96 by the gcc toolchain driver), which can be
used to bake in the desired shared library path into your application.

Note for the paranoid:  there is potential for a security hole, especially
if using relative paths.

There may be other caveats, such as which path has precedence and such, that
you'll want to double-check.

HTH,
--Eljay


[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