This is a math compute library and accompanying application that provides a console interface.
- Solve basic mathematical expressions
- Define custom variables
- Define custom functions
To generate the configure script the autoconf package will be needed, run the below command to install the package.
sudo apt install autoconfThese commands are applicable for Debian based systems
To install the g++ utilities required to build this project run the below command.
sudo apt install build-essentialThese commands are applicable for Debian based systems
To install the x86_64-w64-mingw32-g++-win32 utilities required to build this project run the below command.
sudo apt install mingw-w64These commands are applicable for Debian based systems
The library and console application in this project can be built for Linux (x64) using default GNU complier by running the below command in the top project directory.
make TARGETOS=LINUX allThe library and console application in this project can be built for Windows (x64) using MINGW64's win32 complier by running the below command in the top project directory.
make TARGETOS=WIN64 allThe library and console application in this project can be built for Windows (x86) using MINGW64's win32 complier by running the below command in the top project directory.
make TARGETOS=WIN32 allTo run the selftest modules the library and console application will first need to be built for a Linux target, refer For a Linux target. Once the application is built the self test can be executed by running the below command.
make selftestTo build and execute selftests in one line, run the below command.
make TARGETOS=LINUX all && make selftestThe project can be cleaned by running make clean in the top project directory to clean all build files.
To clean files specifically from the Linux (x64) build run the below command.
make TARGETOS=LINUX cleanTo clean files specifically from the Windows (x64) build run the below command.
make TARGETOS=WIN64 cleanTo clean files specifically from the Windows (x86) build run the below command.
make TARGETOS=WIN32 clean