newbie : For windows-target of PDO-driverr, CrossCompile or

newbie : For windows-target of PDO-driverr, CrossCompile or

am 28.08.2009 09:22:00 von Sanjeev Kumar

--001636d34a3e46b8ae04722e8ac2
Content-Type: text/plain; charset=ISO-8859-1

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.

--001636d34a3e46b8ae04722e8ac2--

Re: newbie : For windows-target of PDO-driverr,

am 28.08.2009 10:53:54 von Richard Quadling

2009/8/28 Sanjeev Kumar :
> 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 nativ=
ely
> the DLL for win.
>   Will the VisualStudio compile with all PHP-main src & the extensio=
n
> 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.



--=20
-----
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=3DZEND002498&r=3D213474=
731
ZOPA : http://uk.zopa.com/member/RQuadling

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