Commit Graph
3 Commits
Author SHA1 Message Date
Mike Owen cd928374b0 The cross module inheritance example is now working. Aside from my figuring out waf, there
are two key things that were necessary:

1.  We have to turn off the -fvisibility=hidden flag, since this hides the symbols in our
    shared libraries from others.  There's probably a better way to handle this, but this
    is expedient for now.

2.  Since I'm testing with GNU compilers & linkers, I have to use the magic lines in python
    before importing the inter-dependent modules (see test_cross_module_inheritance.py):

    import sys, ctypes
    sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL)

    This shouldn't be necessary on all platforms.
2012-12-11 16:01:44 -08:00
Mike Owen 8b334800da Working on getting the darn cross module thing to compile with waf. We're almost there, but I think we
need to figure how to tell it to link to A.
2012-12-11 10:58:01 -08:00
Mike Owen 37dcfcb514 Adding the beginnings of an example for cross module inheritance. Not
building yet 'cause I don't  understand waf.  Why does every project I
look at use a different build system!
2012-12-10 23:26:25 -08:00