On 06/28/11 05:45 PM, Benjamin Jones wrote:
On Tue, Jun 28, 2011 at 9:29 AM, Nicolas M. Thiery
<nicolas.thi...@u-psud.fr>  wrote:
        Dear Sage and Sage-Combinat developers,

With Mike and Anne we are about to finalize an interface with lrcalc:


I've used lrcalc extensively in the past and I am very impressed with
it. I vote:

[ X ] A standard spkg
[ ] An optional spkg

--
Benjamin Jones


I thought it had been agreed no package would be standard unless it is first optional.

I tried compiling this on OpenSolaris. It builds with a couple of warnings about variables set but never used. There's no test code in the source code, but I tried a few of the examples in the README file and they gave the same output.

The authors are using the compiler flag -O6, with an obvious intension of getting maximum optimisation. I'm not sure what happens in a case like that. It is not a gcc supported option

http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/Optimize-Options.html#Optimize-Options

so it might break on future release of gcc if the GCC developers tighten up on the compiler options, which they have done recently. Until gcc 4.6.0, the compiler option -KPIC was ignored by gcc, as it's an option used by the Sun compiler. But now gcc 4.6 actually exits with an error if that option is given.

It would certainly be worth discussing with the developers of the package why they use -O6, when it's not supported by gcc.

Dave

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to