471,607 Members | 2,520 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,607 software developers and data experts.

python extension dynamic linking

Hi,

I am writing Python extension in C++, in this extension I am using
methods from another Python extension. On Linux I am currently linking
my extension with used Python extension -- what is quite ugly.

gcc ... -lgdi

where gdi is a link to C++ extension imported by 'module'

I would like to avoid direct linking here.

import module # export some symbol used in my_module

import my_module

I realized that on Mac it is possible to dynamically link C++
extension using

-bundle -undefined dynamic_lookup

I wonder how to solve this problem on Linux or MS Window.

Thanks for any pointers... Martin
Sep 1 '08 #1
0 879

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Anand K Rayudu | last post: by
reply views Thread by Helmut Zeisel | last post: by
1 post views Thread by zpinhead | last post: by
reply views Thread by Kurt B. Kaiser | last post: by
1 post views Thread by Daniel Nogradi | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.