On 29 Jun., 11:34, Nathann Cohen <nathann.co...@gmail.com> wrote:
> Hello everybody !!!
>
> I have been trying for ages to post a clean patch for Cliquer, a
> software used to solve the Max Clique problem in Sage. It has been
> refused a lot of times for reasons I understand, but I still do not
> know how to correct it. My problem is the following :
> I have a C program without a makefile which is meant to be used from
> the command line, and I would like to interface it with SAGE. I have
> been told this should be done through libraries, and I do not have the
> slightest idea of how it works in Cython. I just read those two
> pages :
>
> http://docs.sun.com/source/819-3690/Building.Libs.htmlhttp://www.faqs.org/docs/Linux-HOWTO/Program-Library-HOWTO.html
>
> They explain well enough how to build libraries with gcc, but I do not
> know how to access their functions with Cython. I tried to look for
> "dlopen" in the cython files without any luck, so I do not think it
> should be done this way. So : When you have a library file, how do you
> access its functions through Cython  ?
>
> Thank you for your help !! ;-)
>
> Nathann

Hello Nathann, William, Simon, Bjarke, Robert, and all who read this
thread,

I need some help, too!

For ages I have been trying to create some kind of tutorial "example C
library", answering exactly these questions of how to integrate some
functionality written originally in C into Sage via Cython. I already
put quite some work into this.
However, up to now, I don't seem to have found the right shape of how
to bundle this information together: as documented source code, extra
spkg, some helper script(s) from which you can read off certain
necessary steps, ...

Before I go into any details --- who of you would like to discuss with
me any next steps, and/or the general direction to go?

Cheers,
gsw
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to