Mingw compilation #24
Replies: 1 comment 5 replies
-
Thanks for your feedback.
It is true that the project is mainly developed under Windows using VC++. However, the project provides also build files for MinGW under Windows and for the autoconf toolchain under Linux and macOS. The latter is tested via CI on each push to the GitHub repository. The build files coming with the project use the GCC compiler option -march=native on Windows and -msse4.2 -maes on Linux/macOS. Option -march=native worked for me when compiling with MinGW, but using options -msse4.2 -maes should work just as well or may even be preferrable. Probably I should add a short note to the amalgamation archive that these compiler flags are required for GCC resp MinGW. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm SQLiteStudio developer. I'd like to express my appreciation for a great work done with this project!
Another thing I wanted to mention is when I tried to compile the amalgamation under Windows using Mingw (64 bit) I received error
error: inlining failed in call to always_inline '_mm_aesimc_si128': target specific option mismatch _mm_aesimc_si128 (__m128i __X)
. After a while I figured out the solution - I need to add-maes
flag to the compiler.I know the project is prepared for compilation with VS code, but perhaps this could be useful to you or anyone else seeking for the answer on this error, so I'm just leaving it here, so the Google can index it for them :)
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions