Replies: 2 comments
-
Try to configure win environment how it was done here - |
Beta Was this translation helpful? Give feedback.
-
Thanks for your kind reply! It turns out that PHP is built using MSVC and it doesn't support MingGW as a compiler. That means that extensions need to adhere to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89485 (This appears in the compiler errors as "undefined reference to |
Beta Was this translation helpful? Give feedback.
-
Hello!
I'm interested in generating an extension .DLL from a Linux box. (Why? Because it is good to be able to support Windows users without having to install windows altogether.)
Using MingW64 and running
On a Debian box works and produces a Makefile that attempts to compile code. But of course the extension code is targeting Linux so it doesn't work.
I would like to hear your ideas of how Zephir can be run under Linux to generate the Windows stub.
( Assuming the machine has the Windows php dev package from https://windows.php.net/download/ )
Any help will be most welcomed!
Beta Was this translation helpful? Give feedback.
All reactions