Home > Archive > PHP Documentation > December 2005 > Re: [PHP-DOC] cvs: phpdoc /en/install/windows building.xml
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [PHP-DOC] cvs: phpdoc /en/install/windows building.xml
|
|
| anatoly techtonik 2005-12-11, 7:02 pm |
| ||*()*|| Hi, Nuno.
Do not you mind if I ask you some dummy questions for PHP4?
Do you know in which cases resolv.lib is required to be recompiled?
What debug version helps to debug and when it is needed?
Can debug version be the same .lib for W2K and W98?
I've build it on Win98 and Win2K - release binaries are the same, so I
guess if we find a way to update win32build.zip the excess requirement
to download bindlib_w32.zip and compile resolv.lib can be removed
completely. Updated version of library is available at
http://php.rainDELMEforce.org with a patch to .dsp to make MSVC search
for this resolv.lib in proposed directory structure.
P.S. resolv.lib sources are unchanged for more than two years.
NL> nlopess Wed Nov 30 18:50:16 2005 EDT
NL> Modified files:
NL> /phpdoc/en/install/windows building.xml
NL> Log:
NL> a release build of libresolv can also link with php debug mode
NL> http://cvs.php.net/diff.php/phpdoc/...1.8&r2=1.9&ty=u
NL> Index: phpdoc/en/install/windows/building.xml
NL> diff -u phpdoc/en/install/windows/building.xml:1.8
NL> phpdoc/en/install/windows/building.xml:1.9
NL> --- phpdoc/en/install/windows/building.xml:1.8 Wed Nov 30 15:33:45 2005
NL> +++ phpdoc/en/install/windows/building.xml Wed Nov 30 18:50:13 2005
NL> @@ -1,5 +1,5 @@
NL> <?xml version="1.0" encoding="iso-8859-1"?>
NL> -<!-- $Revision: 1.8 $ -->
NL> +<!-- $Revision: 1.9 $ -->
NL> <sect1 id="install.windows.building">
NL> <title>Building from source</title>
NL> <para>
NL> @@ -154,7 +154,7 @@
NL> You must build the <filename>resolv.lib</filename> library. Decide whether
NL> you want to have debug symbols available (bindlib - Win32 Debug) or not
NL> (bindlib - Win32 Release), but please remember the choice you made, because
NL> - you'll have to build PHP in the same way, or you may get linking errors.
NL> + the debug build will only link with PHP when it is also built in debug mode.
NL> Build the appropriate configuration:
NL> <itemizedlist>
NL> <listitem>
t
--
| |
| Nuno Lopes 2005-12-12, 7:01 pm |
| > ||*()*|| Hi, Nuno.
>
> Do not you mind if I ask you some dummy questions for PHP4?
Nop! I'll try to answer them ;)
> Do you know in which cases resolv.lib is required to be recompiled?
Only when resolv.lib is in debug mode and you want to compile PHP in release
mode.
So, compiling bindlib in release mode should work in both cases.
> What debug version helps to debug and when it is needed?
I think you don't need to build resolv.lib in debug mode.. Usual PHP bugs
don't come from here.
Anyway, just open the dsw in Visual Studio and you'll have the option to
build it in wither release or debug mode.
> Can debug version be the same .lib for W2K and W98?
I can't see any reason why not.
> I've build it on Win98 and Win2K - release binaries are the same, so I
> guess if we find a way to update win32build.zip the excess requirement
> to download bindlib_w32.zip and compile resolv.lib can be removed
> completely. Updated version of library is available at
> http://php.rainDELMEforce.org with a patch to .dsp to make MSVC search
> for this resolv.lib in proposed directory structure.
Well, compiling the bindlib takes less than one minute..
> P.S. resolv.lib sources are unchanged for more than two years.
They are bug free :)
Nuno
|
|
|
|
|