Re: [INTERNALS-WIN] Build environment notes (single CRT)

[email protected] ("Pierre Joye")
Newsgroups php.internals.win
Message-ID <[email protected]>
hi,

On Sun, Dec 21, 2008 at 7:09 PM, Steph Fox <[email protected]> wrote:

>> Ah ok, so there is no naming conflict. There is a new feature not
>> available in 5.2 (debug mode).
>>
>> themselves using CVS. We may add a note in the howto about the _debug
>> postfix and 5.2.
>
> The _debug postfix doesn't work with 5_2 because you haven't implemented
> support for it there (and probably shouldn't, since it will break existing
> setups).

It is exactly what I meant. The debug postfix detection is not
implemented in 5.2 (<somelib>_debug will not be detected and not
used).


> It's not a case of documentation,

It is, see below.

>  and I'm not sure how you think
> that would help matters given that the release version is explicitly being
> loaded during configure.

It is detected at configure time and linked at build time (if
correctly detected), this little note for the other readers, not
necessary you as you surely know that already.

> Or did you intende for everyone building PHP_5_2 to
> manually alter the configure script? :)

If they want to use the debug version of a library for 5.2? Yes, they
can manually edit configure.js or rebuild the libraries they need in
debug mode.

However, if one needs the debug version of a library, that means he is
looking for a bug in the library itself (or to confirm that this lib
has a bug). In this case I would first try with 5.3 to be sure that's
the bug is actually in the library and not in PHP.

That's why I suggest to simply add a note about why the
<somelib>_debug does not work with 5.2 and why we do not provide debug
builds of the libraries for 5.2 but for 5.3+ only.

Cheers,
-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.