Oppen
FIXT n°1 fan
I'll decide if I'll do it later, but thanks for the directions.
Anyway, just for the sake of sharing the trick I found online while looking into the subject, a simple workaround to the assembly issue is to actually compile it as pure assembly on GCC and including the file when using MSC. This solution has the drawback of making it mandatory to write yourself the calling procedure, of course, but makes it simple to maintain in my opinion.
EDIT: Forgot to ask a few things. The first and more obvious is if you'd like to merge it upstream after I do it (if I do it), if so I promise I will do it in the cleanest way I can. All the conditional compiling will be handled by CMake, to avoid the possibility of that making the code harder to read. Plus, I will provide a CMakeLists, which will probably not change things a lot for you, though.
The other thing is, I don't know what I should modify on the exe to match the dll, where should I look for info about this?
Anyway, just for the sake of sharing the trick I found online while looking into the subject, a simple workaround to the assembly issue is to actually compile it as pure assembly on GCC and including the file when using MSC. This solution has the drawback of making it mandatory to write yourself the calling procedure, of course, but makes it simple to maintain in my opinion.
EDIT: Forgot to ask a few things. The first and more obvious is if you'd like to merge it upstream after I do it (if I do it), if so I promise I will do it in the cleanest way I can. All the conditional compiling will be handled by CMake, to avoid the possibility of that making the code harder to read. Plus, I will provide a CMakeLists, which will probably not change things a lot for you, though.
The other thing is, I don't know what I should modify on the exe to match the dll, where should I look for info about this?