In gmane.comp.mathematics.sage.support, you wrote: > --14dae93405bdb9625104ba797b5e > Content-Type: text/plain; charset=ISO-8859-1 > > I've learned that I can easily build and use a cython file by just typing > "load filename.pyx" at the Sage command prompt (and this is wonderful). I'm > guessing that when I do this, Sage automatically adds some include files or > compilation flags or something, because it works and I don't have to define > malloc or any other basic stuff. However, I can't just compile the same > file now with cython; I get lots of errors when I type "sage -cython > filename.pyx" because whatever magic happens when I use the load command > isn't happening. > > So what I'm wondering is: what does Sage do when I type "load filename.pyx" > and how can I do the same thing myself? (For some reason, I always seem to > have lots of trouble figuring out how to compile cython code. Maybe I don't > do it frequently enough.) In this case, what I really want to do right now > it look at annotated cython output to see if some things are compiling the > way that I think they should be compiling, but this is a slightly more > general question than that.
I don't know how to compile and link nontrivial Cython stuff without distutils. Dima -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org