On Mon, May 12, 2008 at 10:42 AM, Nathan Dunfield <[EMAIL PROTECTED]> wrote: > > > When you run the build command *precisely* what Cython and GCC > > commands are executed? I.e., touch the .pyx file, rebuild it > > and paste the build log into an email. > > William, > > It's below > > System: MacPro 8 core (Jan 2008) with OS 10.5 > gcc: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465) > sage: 2.11 > > Also tested on OS 10.4 with Sage 3.0; same problem. > > Thanks, > > Nathan > > MacPro ~/intro (7) sage -python setup.py install > running install > running build > running build_ext > cythoning introtest.pyx to introtest.c
Oh, that's annoying, it doesn't display the Cython command line. Anyway, if you don't give the -p or --embed-positions option to Cython, then source introspection should *not* work: teragon-2:Zeros was$ sage -cython ... Options: ... -p, --embed-positions If specified, the positions in Cython files of each function definition is embedded in its docstring. > building 'introtest' extension > creating build > creating build/temp.macosx-10.3-i386-2.5 > gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused- > madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/pkgs/sage-2.11/local/ > include/python2.5 -c introtest.c -o build/temp.macosx-10.3-i386-2.5/ > introtest.o > creating build/lib.macosx-10.3-i386-2.5 > gcc -bundle -undefined dynamic_lookup build/temp.macosx-10.3-i386-2.5/ > introtest.o -o build/lib.macosx-10.3-i386-2.5/introtest.so > running install_lib > copying build/lib.macosx-10.3-i386-2.5/introtest.so -> /pkgs/sage-2.11/ > local/lib/python2.5/site-packages > running install_egg_info > Removing /pkgs/sage-2.11/local/lib/python2.5/site-packages/ > introtest-0.0.0-py2.5.egg-info > Writing /pkgs/sage-2.11/local/lib/python2.5/site-packages/ > introtest-0.0.0-py2.5.egg-info > > > > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---