Compiling PHP on Windows as static lib produces a dynamic lib

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

SORRY - I do not know why the last mail was cut off. Here my mail again:


I am trying to compile PHP 5.2.5 on Windows (XP) with VC 6, Windows Server 2003 SDK. I have downloaded the winbuild zip file and the zip from http://files.edin.dk.

I am using this configure Flags:
###########
cscript /nologo configure.js --disable-all --with-mime-magic --enable-calendar --with-gmp --enable-com-dotnet --with-t1lib --enable-hash --enable-ftp --with-mysql --enable-json --enable-reflection --with-tidy --enable-tokenizer --with-pdo-mysql --enable-zlib --enable-zip --with-iconv --with-bz2 --enable-soap --with-xsl --enable-pdo --with-pdo-sqlite --with-sqlite --enable-zend-multibyte --enable-spl --with-mcrypt --with-mhash --enable-mbregex --enable-exif --with-xml --with-wddx --with-simplexml --with-openssl --enable-cli-win32 --enable-embed=static --with-dom --with-libxml --with-gd --with-curl --disable-cgi --disable-fastcgi --enable-bcmath --enable-mbstring --with-xmlrpc --enable-object-out-dir=..
###########

As you can see I am using --enable-embed=static so I am expecting a LIB file with the object code so I can link against it.

But instead I get only a small import library and a huge DLL file.

Detailed current result:
php5ts.lib (about 750KB)
php5ts.dll (about 8.5MB)
php5embed.lib (about 750KB)

What I expect:
1 or 2 LIBs and no DLL.

Is there any (hidden) configure/compiler flag?

Thank you,
Bernhard

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux