;;;; "mathh.egg -*- Scheme -*- ;;;; Kon Lovett, Jul '20 ;;;; Kon Lovett, Jul '18 ((synopsis "ISO C math functions and constants") (version "4.2.1") (category math) (author "[[kon lovett]] and [[john cowan]]") (license "Public Domain") (test-dependencies test) ;* still needed? * ;linux ;_GNU_SOURCE instead? ;CSC_OPTIONS='-C -D_ISOC99_SOURCE' chicken-install -test mathh (components (extension mathh-consts (types-file) (scheme-include mathh-constants) (csc-options ;,@(cond-expand (linux '("-C" "-D_ISOC99_SOURCE")) (else '())) ;sigh "-O3" "-d1" "-strict-types") ) (extension mathh (types-file) ;-strict-types saves ~2k off macos .o (csc-options "-O3" "-d1" "-strict-types" "-no-procedure-checks") ) ) )