FeResPost Web Site                     FeResPost Online User Manual

X.A.2 Building from sources

All the sources are delivered in an archive containing an SRC directory and several levels of sub-directories. The sources of the program are delivered with different Makefiles and BASH or BAT scripts that can be used for the compilation of the different targets:

Examples of builds follow:

        build_linux32.bash ruby
        build_linux32.bash ruby_23
        build_linux32.bash outputs
        build_mingw64.bat com
        build_mingw64.bat ruby
        build_mingw64.bat outputs
        build_python_27.bat
        buildbuild_python_win32
        buildbuild_python_win64
        ...

Note: for 32-bit version 2.4.* of ruby, the “include/ruby/ruby.h” has been slightly modified: “DEPRECATE_BY” lines 1381 and 1390 have been commented. Otherwise, the compilation resulted in error messages. This has been done on Windows and on Linux.


Table X.A.1: Available compilation scripts, and associated “main” Makefiles and targets.

SCRIPT main Makefile targets
build_linux32.bash Makefile.LINUX_586ruby_31, ruby_30, ruby_27, ruby_26, ruby_25, ruby_24, ruby_23, ruby_22, ruby_21, ruby_20, ruby_19, ruby_18, python_26, python_27, python_30, python_31, python_32, python_33, python_34, python_35, python_36, python_37, python_38, python_39, python_310, python_311, python_312, python_313, develop
build_linux64.bash Makefile.LINUX_I64ruby_34, ruby_33, ruby_32, ruby_31, ruby_30, ruby_27, ruby_26, ruby_25, ruby_24, ruby_23, ruby_22, ruby_21, ruby_20, ruby_19, ruby_18, python_26, python_27, python_30, python_31, python_32, python_33, python_34, python_36, python_37, python_38, python_39, python_310, python_311, python_312, python_313, develop
build_mingw32.bat Makefile.WIN.32 com, ruby_27, ruby_26, ruby_25, ruby_24, ruby_22, ruby_21, ruby_20, ruby_19, ruby_18, develop, python_26, python_27, python_30, python_31, python_32, python_33, python_34, python_35, python_36, python_37, python_38, python_39
build_mingw32_345.bat Makefile.WIN.32 (345 targets)
HDF5 unsupported
com, ruby_23, ruby_22, ruby_21, ruby_20, ruby_19, ruby_18, develop, python_26, python_27, python_30, python_31, python_32, python_33, python_34, python_35, python_36, python_37, python_38, python_39
build_mingw64.bat Makefile.WIN.64 com, ruby_34, ruby_33, ruby_32, ruby_31, ruby_30, ruby_27, ruby_26, ruby_25, ruby_24, ruby_23, ruby_22, ruby_21, ruby_20, develop, python_30, python_31, python_32, python_33, python_34, python_35, python_36, python_37, python_38, python_39, python_310, python_311, python_312, python_313
build_net.bat Makefile.NET net
build_msvc_x86.bat Makefile.MSVC_X86com, ruby, python, develop (for debugging the sources)
build_msvc_x64.bat Makefile.MSVC_X64com, ruby, python, develop (for debugging the sources)
build_intel.bat Makefile.INTEL.X64com, python, develop (for debugging the sources)