cryptlib
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
cryptlib [2023/01/24 11:02] – [Linux] g00r00 | cryptlib [2023/01/24 11:05] (current) – g00r00 | ||
---|---|---|---|
Line 36: | Line 36: | ||
In Linux, Mystic looks for Cryptlib in the " | In Linux, Mystic looks for Cryptlib in the " | ||
+ | |||
+ | === Installing GCC === | ||
For many installs of Linux the compiler setup is not included by default, check by typing in a terminal: | For many installs of Linux the compiler setup is not included by default, check by typing in a terminal: | ||
Line 48: | Line 50: | ||
sudo apt-get install build-essential | sudo apt-get install build-essential | ||
- | ==== Compiling CryptLib v3.4.5 Notes ==== | + | === Compiling CryptLib v3.4.5 Notes === |
CryptLib 3.4.5 requires GCC version 9.x or less because of changes to the Makefile system in newer versions which caused the compilation to fail. Use the following sections to compile CryptLib based on the version you see when typing "gcc -v". | CryptLib 3.4.5 requires GCC version 9.x or less because of changes to the Makefile system in newer versions which caused the compilation to fail. Use the following sections to compile CryptLib based on the version you see when typing "gcc -v". | ||
- | ==== Compiling for Linux using GCC 9.x and lower ==== | + | === Compiling for Linux using GCC 9.x and lower === |
The source is contained in the above download section. | The source is contained in the above download section. | ||
Line 68: | Line 70: | ||
You can now delete the /cryptlib directory if you wish. The library is installed and read to be used by Mystic! | You can now delete the /cryptlib directory if you wish. The library is installed and read to be used by Mystic! | ||
- | === Compiling for Linux using GCC 10.x and higher | + | === Compiling for Linux using GCC 10.x and higher === |
Newer Linux distributions are now shipping with GCC 11 which has depreciated some functions used in the Makefile for Cryptlib 3.4.5 causing the compile to fail. To work around this, either the source code needs to be updated, or a copy of GCC 9 must be installed in order to compile Cryptlib. | Newer Linux distributions are now shipping with GCC 11 which has depreciated some functions used in the Makefile for Cryptlib 3.4.5 causing the compile to fail. To work around this, either the source code needs to be updated, or a copy of GCC 9 must be installed in order to compile Cryptlib. |
cryptlib.txt · Last modified: by g00r00