Hello all, I want to create a shared object that my extension modules can dynamically load with intact symbols across modules. Searching the documentation lead me to distutils.ccompiler. Quite frankly comprehending this has been difficult for the newbie in me. I did google (..and krugle) for setup scripts that use this but they seem to be designed for medium to large projects. Mine is quite small to modify the ccompiler class.
o (foo.so) / \ / \ / \ / \ bar.c baz.c So in my setup script i would like to have 'foo' under the libraries list in setup(). Is there a dummy' guide for this, or atleast a pretty basic example which I might pick upon given the simplicity. I did try this libraries=[("foo", {'sources'=src_dir, 'include_dirs'=dir, 'libraries' = some_external_thingy})] And it seems to build fine but I find that symbols in the object file are not visible to the others.. Am I in a state of confusion or what...=(, Anyone please guide me out of this by pointing me to a trivial example.. Thanks, Sudharshan S -- http://mail.python.org/mailman/listinfo/python-list