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


Groups > comp.lang.python > #96671

Re: python how to load multiple C libraries

Subject Re: python how to load multiple C libraries
References <55F937D6.6040104@inhand.com.cn> <CAPTjJmre4zggo1=H42uYtoxeN=RCV+VcGqg8wN7a31fx4NC4nA@mail.gmail.com>
From "chenchao@inhand.com.cn" <chenchao@inhand.com.cn>
Date 2015-09-16 18:25 +0800
Newsgroups comp.lang.python
Message-ID <mailman.630.1442399184.8327.python-list@python.org> (permalink)

Show all headers | View raw


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


Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web