Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96671 > unrolled thread

Re: python how to load multiple C libraries

Started by"chenchao@inhand.com.cn" <chenchao@inhand.com.cn>
First post2015-09-16 18:25 +0800
Last post2015-09-16 18:25 +0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: python how to load multiple C libraries "chenchao@inhand.com.cn" <chenchao@inhand.com.cn> - 2015-09-16 18:25 +0800

#96671 — Re: python how to load multiple C libraries

From"chenchao@inhand.com.cn" <chenchao@inhand.com.cn>
Date2015-09-16 18:25 +0800
SubjectRe: python how to load multiple C libraries
Message-ID<mailman.630.1442399184.8327.python-list@python.org>
hi:
    Most current compilers and linkers will search all object files, 
regard-less of order, but since not all compilers do this it is best to 
follow the
convention of ordering object files from left to right . Python do that. 
So, is there anybody know how to solve the follow problem?

On 09/16/2015 05:41 PM, Chris Angelico wrote:
> On Wed, Sep 16, 2015 at 7:35 PM, chenchao@inhand.com.cn
> <chenchao@inhand.com.cn> wrote:
>> I encountered a problem. I use ctypes load multiple C  libraries, but the
>> libraries have dependence each other.So, how can i load these libraries. For
>> example, I have two libraries:A、B, but A depends on B, B depends on A. So
>> how do I load them? Is there anybody know how to do it?
> How are the libraries built? A circular dependency is always a
> problem. How would a C program handle this?
>
> ChrisA


[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web