Since we're setting LIBRARY_PATH in sage-env (which is the compile-time equivalent of LD_LIBRARY_PATH, corresponding to the compiler flag -L), we should analogously set CPATH to SAGE_LOCAL/include (corresponding to the compiler flag -I). This is already done in the spkg-install file for sagenb-0.10.2.
Within Sage, SAGE_LOCAL effectively acts as installation prefix, so this is the logical thing to do. A GCC compiled within Sage will already look at SAGE_LOCAL/include by default. This doesn't immediately change anything, but it will allow simplifying many spkg-install files by not having to care about -I$SAGE_LOCAL/include anymore. Please review: http://trac.sagemath.org/sage_trac/ticket/13348 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
