Replies: 2 comments
|
Try to configure win environment how it was done here - |
0 replies
|
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 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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!
All reactions