From c1435ace66f67fdff09ee79cc8d6428aa6cd427a Mon Sep 17 00:00:00 2001 From: Djordje Baljozovic <121813753+djb-rwth@users.noreply.github.com> Date: Thu, 16 Jan 2025 15:07:42 +0100 Subject: [PATCH] Update README.md --- README.md | 47 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 48dbf73..beea52a 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ The [Images](https://github.com/IUPAC-InChI/InChI/tree/main/Images) subfolder co - Files (given in compressed .gz format) + Files (given in compressed `.zip` format) Location(s) @@ -172,36 +172,52 @@ The [Images](https://github.com/IUPAC-InChI/InChI/tree/main/Images) subfolder co - + inchi-1 (ELF file) - 64-bit: INCHI-1-BIN/linux/64bit/
- 32-bit: INCHI-1-BIN/linux/32bit/ + 64-bit: INCHI-1-BIN/linux/64bit GCC - + + 32-bit: INCHI-1-BIN/linux/32bit + + + Clang/LLVM(2) + + + + libinchi.so.1.07
+ corresponding inchi_main (ELF file) - 64-bit: INCHI-1-BIN/linux/64bit/so/
- 32-bit: INCHI-1-BIN/linux/32bit/so/ + 64-bit: INCHI-1-BIN/linux/64bit/so GCC + + + 32-bit: INCHI-1-BIN/linux/32bit/so + + + Clang/LLVM(2) + +
(1) IMPORTANT NOTE: Since 32-bit binaries for Microsoft® Windows operating system have been compiled using MinGW-w64, it has been reported that in certain environments a dynamic link library libgcc_s_dw2-1.dll has to be included in the same folder with the executables. Therefore, libgcc_s_dw2-1.dll has been added to INCHI-1-BIN/windows/32bit and INCHI-1-BIN/windows/32bit/dll folders (we would like to thank nbehrnd for his assistance with this matter). +
+(2) In order to make makefile32s more consistent on all operating systems (see the note (1) above), and for easier change of the default compiler, the default compiler on 32-bit UNIX-based OSs has been set to Clang/LLVM. -

+
Precompiled binaries for MacOS® (i.e. .app executables and .dylib libraries) will be provided very soon. Until then, please note that InChI can now be compiled from source on MacOS® using native/default Clang or GCC (if installed).
@@ -223,15 +239,18 @@ For `GCC` and `Clang/LLVM` compilers, `InChI v.1.07` can be compiled from the so -`makefile/makefile32` files are configured to detect OSs automatically, so it is no longer needed to specify OS explicitly or run batch/bash script(s) before compiling. -`GCC` and `Clang/LLVM` compilers are also automatically detected by `makefile/makefile32` files, with `GCC` set as default compiler. -If both `GCC` and `Clang/LLVM` compilers are installed, setting `Clang/LLVM` as default compiler can be done simply by changing `CCN` parameter from value `1` to `2` in `makefile/makefile32`. +New features in `makefile/makefile32`: +- `makefile/makefile32` files are configured to detect OSs automatically, so it is no longer needed to specify OS explicitly or run batch/bash script(s) before compiling. +- `GCC` and `Clang/LLVM` compilers are also automatically detected by `makefile/makefile32` files with: + - `GCC` set as a default compiler on 64-bit platforms + - `Clang/LLVM` set as a default compiler on 32-bit platforms (please refer to these notes for more details). +- If both `GCC` and `Clang/LLVM` compilers are installed, setting a default compiler can be done simply by changing `CCN` parameter in `makefile/makefile32` where: + - `CCN = 1` corresponds to `GCC` + - `CCN = 2` corresponds to `Clang/LLVM`. Support for native/default MacOS® `Clang` compiler is now provided with 64-bit versions of `makefile` files (we would like to thank John Mayfield for his assistance with this matter). -If `makefile/makefile32` is used for compiling `libinchi` on Microsoft® Windows, `libinchi.dll` is now generated instead of `libinchi.so.1.07`. - -Please make sure to read the important note regarding the required libgcc_s_dw2-1.dll for running 32-bit executables on Microsoft® Windows operating system in certain environments. +If `makefile/makefile32` is used for compiling `libinchi` on Microsoft® Windows, `libinchi.dll` is now generated instead of `libinchi.so.1.07`. Also. please make sure to read the notes regarding the required libgcc_s_dw2-1.dll for running 32-bit executables on Microsoft® Windows operating system in certain environments. **Additional notes**: