Skip to content

Fix to compilation issues on Windows, linux and Macos (dyn vs stat libs)#207

Merged
RetroAntho merged 2 commits intoalekmaul:developfrom
kobenairb:develop
May 1, 2023
Merged

Fix to compilation issues on Windows, linux and Macos (dyn vs stat libs)#207
RetroAntho merged 2 commits intoalekmaul:developfrom
kobenairb:develop

Conversation

@kobenairb
Copy link
Copy Markdown
Contributor

Hi all,

Here the fix to compile on Windows, linux and Macos without the need to install extra tools or lib.

Tested via the runners, locally. Docker should work as well, I'm testing it in the evening and fix it if needed.

Regards

kobenairb added 2 commits May 1, 2023 15:06
Fix wrong compilation with windows over mingw

Update tcc

Update comments

Remove the testing branch

Remove extra header path for windows

Switch POSIX toolchain to mingw toolchain

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Add pcre as static lib for 816-opt

Test

Test

Test

Test

Test

Test

Test

Test

Test

Test

Rollback to regex.h in place of pcre.h

Some fixes

Some fixes

Some fixes

Some fixes

Some fixes
@kobenairb kobenairb changed the title Develop Fix to compilation issues on Windows, linux and Macos (dyn vs stat libs) May 1, 2023
@RetroAntho
Copy link
Copy Markdown
Collaborator

Thanks a lot, we will test it soon. I saw you moved from pcre to regex, may i ask you why? :)

@RetroAntho RetroAntho merged commit 248299a into alekmaul:develop May 1, 2023
@kobenairb
Copy link
Copy Markdown
Contributor Author

No way to compile statically pcre with mingw, I tried many solutions but each time, the binary uses an external pcrexxx.dll stored in /mingw64/lib :/ Although, regex.h vs pcre.h is kifkif bourricot in terms of performance, it's even more compatible because no need to install any additional lib/header

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants