On 8 Apr., 15:56, mabshoff <[EMAIL PROTECTED]> wrote:
> On Apr 8, 2:50 pm, Vinzent Steinberg
>
> <[EMAIL PROTECTED]> wrote:
> > On 3 Apr., 13:35, mabshoff <[EMAIL PROTECTED]> wrote:
>
> This is not about duplication of efforts in Sage. My point was to
> illustrate that the assumption "C compiler == gcc" does not hold. And
> even with gcc you might run into trouble on other platforms. One
> example: While the Sun Forte cc does define log2 in math.h the math.h
> provided by Solaris 9 and the system does not. Hence if you use log2
> with gcc on Solaris it will not work. This seems to be a minor issue
> in your case, but from experience porting software is hard. Not
> writing code hardwired for one toolchain is worth it from my
> experience.
I don't know much about porting/compiling, so I can't assess it. My
code does not really depend on gcc afaik. The generated C is not that
complex. What are the differences between gcc and other compilers I
should take care for? Command line syntax? Is cython's C gcc-
dependant?
We could include gcc (2.7 MB) and cython (1.2 MB) in sympy optionally
(kind of add-on). It's a smaller dependancy than Python. sympy can
easily fall back to Python lambda if necessary.
I care about POSIX and Windows (only due to its spread), other OSes
are nice to have, but not a must. After all, I don't have access to
any other so far. How many sympy users do not use either Windows or
Linux?
> And most people on Windows do not even have a compiler installed. It
> might be different for the people that Sympy appeals to, but I would
> assume that the ratio of developers to users on Windows probably much
> worst for Sympy to the ration on Linux.
>
As said before, we could include gcc at least for Windows. But Windows
support will wait until cython is fixed (afaik ':' and '\' are not
allowed in variable names).
After all, the feature is not critical. Users of exotic OSes can
dispend with it.
Psyco for example is even more platform-dependant and though popular.
>
> Cheers,
>
> Michael
Vinzent
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---