Hi,

thanks to Vinzent Steinberg we can now use tcc to automatically
convert a mathematical formula in SymPy (sympy.org) to C, compile it
and run it, so it's very fast. Here is the module:

http://hg.sympy.org/sympy/file/8af2d333319c/sympy/utilities/compilef.py

however, we would like to be able to create libtcc.so without root
privileges. Is there a way to do it? I.e. currently we know this works
(see the above file):

$ ./configure
$ make
$ sudo make install
$ gcc -shared -Wl,-soname,libtcc.so -o libtcc.so libtcc.o
$ cp libtcc.so dir/to/compilef.py   # or change libtccpath in compilef.py

But we haven't yet figure out how to get rid of the "sudo" part.

Thanks for this nice, lite and fast compiler!

Ondrej

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to