Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Testing latest pari + WASM + node.js... and it works?! Wow.

28495 views
License: GPL3
ubuntu2004
_dl_list="DLCFLAGS"
if test -n "$__gnuc__"; then
  case $osname in
    cygwin|mingw) DLCFLAGS=;;
    darwin) DLCFLAGS=-fPIC
      case $arch in
        ppc|ppc64) DLCFLAGS="$DLCFLAGS -fno-common"
      esac;;
    *) DLCFLAGS=-fPIC;;
  esac
else #assume native compiler
  case "$osname" in
    hpux) DLCFLAGS=+z;;
    solaris) DLCFLAGS=-KPIC;;
  esac
fi

echo "C compiler is          $CC $CFLAGS $DLCFLAGS"