https://github.com/Singular/Sources
Tip revision: be77cf1dd000fb79a2c712ff01d5455661826482 authored by Hans Schoenemann on 19 November 2014, 13:06:05 UTC
chg: changes from spielwiese
chg: changes from spielwiese
Tip revision: be77cf1
HOWTO-libsingular
export CC="gcc -fpic -DPIC -DLIBSINGULAR"
export CXX="g++ -fpic -DPIC -DLIBSINGULAR"
./configure
or
./configure --without-dynamic-kernel
make install-libsingular
---------------------------------------
how to compile and run the the example:
g++ -I......include -o tt tt.cc -L..../Singular -lsingular
export SINGULAR="..../Singular-3-1-4/"
export SINGULAR_SYSTEM_TYPE="ix86Mac-darwin/lib"
if [ "${SINGULAR_SYSTEM_TYPE}" = "ix86Mac-darwin/lib" ]; then
export
DYLD_LIBRARY_PATH="${SINGULAR}/${SINGULAR_SYSTEM_TYPE}:${DYLD_LIBRARY_PATH}"
else
export
LD_LIBRARY_PATH="${SINGULAR}/${SINGULAR_SYSTEM_TYPE}:${LD_LIBRARY_PATH}"
fi
unset SINGULAR_SYSTEM_TYPE
find commented examples in libsing-test1.cc and libsing-test2.cc