This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
-Bgroup?
- From: Henry <dimensiondude dot oss at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 30 Jul 2007 15:12:24 -0400
- Subject: -Bgroup?
I am trying to use -Bgroup, but it doesn't seem to be working. For
example, I have libA and libB and they both have function theFunc().
What is happening is that a function in either library will theFunc()
from whichever library was loaded first. The behavior I would like is
for if a function in libA calls theFunc(), it calls libA's theFunc(),
and if a function in libB calls theFunc(), it calls libB's theFunc().
As I understand it, -Bgroup is supposed to do this, but it doesn't
seem to do anything. Does it not work with C++?