On Jun 29, 2009, at 9:11 AM, William Stein wrote: > > On Mon, Jun 29, 2009 at 6:02 PM, Bjarke Hammersholt > Roune<bjarke.ro...@gmail.com> wrote: >> >> Hi Nathann, >> >> Library files contain information about what they contain. So Sage >> reads all the library files it has access to (presumably this only >> happens once at startup) and selects the right one. >> >> Cheers >> Bjarke >> >> On 29 Jun., 17:27, Nathann Cohen <nathann.co...@gmail.com> wrote: >>> Hello ! >>> >>> Thank you for you answer though I still have one disturbing >>> question : >>> >>> If I have one header file named XXXXXX.h and one library file named >>> FFFFFFF.so, how on earth can Cython know that the function >>> defined in >>> XXXXXXX.h is to be found in FFFFFFF.so > > Also, if you're working in the Sage library, you have to add > FFFFFFF to > the appropriate place in the file SAGE_ROOT/devel/sage/module_list.py
See http://docs.python.org/distutils/setupscript.html#library-option on this note. sage/module_list.py is just a list of Extension classes (read in by our setup.py). - Robert --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---