Re: newbie : For windows-target of PDO-driverr, CrossCompile or native-compile?
| From: | Richard Quadling | Date: | Fri, 28 Aug 2009 08:53:54 +0000 |
| Subject: | Re: newbie : For windows-target of PDO-driverr, CrossCompile or native-compile? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-29559@lists.php.net to get a copy of this message | ||
2009/8/28 Sanjeev Kumar <replyskumar@gmail.com>:
> Hello,
> I need to write PHP-PDO database-driver for a new database.
>
> The clarification I need:
> 1) Should I take the PHP-source on Windows-vista platform and build natively
> the DLL for win.
> Will the VisualStudio compile with all PHP-main src & the extension
> driver to generate the target windows DLL (PDO extension).
>
> or
>
> 2) should I take PHP-src on Linux platform and use GNU Cross-compiler to
> generate DLL. Then transfer the DLL to the target windows PHP env.
>
You can quite successfully build PHP for windows using MS VC++ 9 -
Even the Express Edition.
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling