20-Dec-99 18:11 you wrote:
Hello again.
Khimenko Victor wrote:
to a global one (such as /usr/local/lib/). After my humble experience, this doesn't harm. (But don't blame me if it does for you.;-)
It will work for simple programs like "Hello, World!" (where libgcc is not needed anyway) just fine. But for more complex programs it'll create problems. libgcc.a is INTERNAL gcc library - [...]
So you mean that different versions of `libgcc.a' are not compatible enough even between egcs-1.1.1 and egcs-1.1.2 to make this work in a stable way?
It CAN be compatible but it's NOT tested (and since it's not used this way and not used much overral probability is VERY high to get silent damage and not notice it for very long time).
Well, then the creator of the GPC binary distribution _must_ supply a matching `libgcc.a'.
He just must add -- cut -- Require: gcc = 2.8.1 -- cut -- line in .spec file. Then rpm will just refuse to install gpc without corresponding gcc.