ffi.dlopen does not require a C compiler, ffi.verify does (which we strongly encourage to use). Note that since cffi 1.0 you only require C compiler to create extensions, you can distribute them without a compiler. See documentation for details
On Tue, Sep 15, 2015 at 5:39 AM, Roshan Cherian <cherian.r...@gmail.com> wrote: > Hi Team, > > I am not sure if I should be asking the question here, however hoping > someone could help. > > we use ffi.cdef for definitions and ffi.dlopen to open shared library. To my > understanding ffi.dlopen only works in the presence of a c compiler to > dynamically link the shared lib. We have a linux box without gcc in which we > are supposed to run this setup. We do have dlopen on the box as man dlopen > returns. Could I know if it is at all possible to use ffi.dlopen without a C > compiler? > > Apologies if I am totally off. > > Thanks, > -Roshan > > _______________________________________________ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev