Following the setting of SAGE_CRTI_DIR in 
"build/pkgs/gcc/spkg-configure.m4" seems to work:

(sage-sh) stumpcl2@dlp762:sage$ echo $CC
gcc
(sage-sh) stumpcl2@dlp762:sage$ echo $CRTI

(sage-sh) stumpcl2@dlp762:sage$ CRTI=`$CC -print-file-name=crti.o 
2>/dev/null || true`
(sage-sh) stumpcl2@dlp762:sage$ echo $CRTI
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crti.o
(sage-sh) stumpcl2@dlp762:sage$ SAGE_CRTI_DIR=$(dirname -- "$CRTI")
(sage-sh) stumpcl2@dlp762:sage$ echo $SAGE_CRTI_DIR
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/53116387-0bac-4f54-8c3e-3c41987172f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to