Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phpcpp compiled for windows #489

Open
subabrain opened this issue Dec 18, 2021 · 3 comments
Open

phpcpp compiled for windows #489

subabrain opened this issue Dec 18, 2021 · 3 comments

Comments

@subabrain
Copy link

subabrain commented Dec 18, 2021

Hello Everyone,

i compiled phpcpp with php 7.4 in .o files on ubuntu.
Now i want to get it as .lib file... for windows...

ive done the following:

sudo g++ -shared -o zend.dll zval.o zendcallable.o valueiterator.o value.o throwable.o super.o streams.o streambuf.o stream.o script.o sapi.o object.o namespace.o module.o members.o base.o callable.o eval.o classbase.o classimpl.o constant.o constantfuncs.o error.o exception.o exception_handler.o exists.o extension.o extensionimpl.o file.o function.o functor.o global.o globals.o hashmember.o ini.o inivalue.o iteratorimpl.o -Wl,--out-implib,zend.lib

and it works ... but if i try to compile the results "zend.lib" with visual studio i cant compile - could you tell me please - why?

thanks a lot!

Greets
Robert

@subabrain
Copy link
Author

Hi,

okay - i see i have to use the mingw compiler for it ;)

Greets
Robert

@subabrain
Copy link
Author

Hi,

here the lib/dll files of PHP-CPP for Windows!

https://github.com/subabrain/phpcpp_win

Regards
Robert

@mysecondnameis
Copy link

Hi,

here the lib/dll files of PHP-CPP for Windows!

https://github.com/subabrain/phpcpp_win

Regards Robert

how to use your dll to compile in windows? I use minGW

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

No branches or pull requests

2 participants