cryptlib
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cryptlib [2023/01/24 10:56] – [Linux] g00r00 | cryptlib [2023/01/24 11:05] (current) – g00r00 | ||
---|---|---|---|
Line 37: | Line 37: | ||
In Linux, Mystic looks for Cryptlib in the " | In Linux, Mystic looks for Cryptlib in the " | ||
- | There are some pre-compiled versions available at the following link that may work if you copy it to your / | + | === Installing GCC === |
- | + | ||
- | Pre-compiled: | + | |
- | + | ||
- | If you choose to attempt to compile your own from source code, you can use these instructions as a guide: | + | |
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: | ||
- | | + | gcc -v |
- | + | ||
- | You should see several locations (like) | + | If GCC is installed you should see a bunch of stuff printed to the screen, including a version number such as |
- | gcc: / | + | "gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)" |
- | If you get no locations | + | If you get no output from gcc then you need to install it. Using a terminal do: |
sudo apt-get update | sudo apt-get update | ||
sudo apt-get install build-essential | sudo apt-get install build-essential | ||
- | Then check again with ' | + | === Compiling CryptLib v3.4.5 Notes === |
- | Once you have gcc installed execute "gcc -v" | + | CryptLib 3.4.5 requires GCC version 9.x or less because of changes |
- | ==== 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 74: | 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: 2023/01/24 11:05 by g00r00