http://gforge.inria.fr/projects/synaps/ at the url http://gforge.inria.fr/frs/?group_id=93.synaps-xxx.tar.gz by ftp, type tar zxvf synaps-xxx.tar.gz
synaps-xxx and type ./configue; make && make install
./configure
--with-blas= [where is the libblas.a]
--with-lapack= [where is the liblapack.a]
--with-gmp= [where is the directory gmp]
--with-mpsolve= [where is the directory mpsolve]
--infodir= [where to install the documentation, with make install]
--bindir= [where to install s++, with make install]
--prefix= [where to install the rest of the library]
s++ script has been generated, it can be used as a compiler command, as follows: s++ <file>.cc
file.ex, that can be run by typing ./file.ex. The options of the command s++ are optained by typing s++ -h
-c as follows: s++ -c file.cc
file.o, which you will be able to link to another application. The file that you compile can be executed by s++ file.cc -run # Compile and run the file.ex s++ file.cc -exe # Execute the file.ex
C++ compiler. s++ file.cc -Wall -O6
-Wall and -O6 to the C++ compiler.s++ -v, which produces: VERSION = <time when you produce the s++ command> SOURCES = <source dir> INCDIR = -I<includedir> ... LIBDIR = -L<libdir> LIB = -llib1 OPTION = <options of the compilation> OBJ = <list of object files> CXX = <compiler used>
![]() |