Re: [INTERNALS-WIN] Lib queries - cclient

[email protected] ("Pierre Joye")
Newsgroups php.internals.win
Message-ID <[email protected]>
On Fri, Dec 19, 2008 at 2:07 AM, Steph Fox <[email protected]> wrote:
> Hi Pierre,
>
>>> Used to be the same across the board... hence the setup, y'know,
>>> /include,
>>> /lib, /bin. Do I now have to have an /include_52 directory as well as
>>> /include?
>>
>> Yes, see below for the details, but typically, we have:
>>
>> php-sdk
>>  |_ bin
>>     all tools and scripts bintools in pecl2
>>  |_ php_5_2
>>     |_ x86
>>        |_ deps
>>           |_include
>>           |_lib
>>     |_ x64
>>  |_ php_5_3
>>  |_ php_6
>
> There's a lot of tripled lib and header usage there.

Given that you should not mix different runtimes or architecture
builds, there is no double usages. The header may differ as well,
depending on the architecture/platform you are running on.  PHP
branches will have different libraries versions, for example we use
ICU 4.0 in head, 5.3 uses 3.8.x.

All in all, it is easier to simply duplicate the tree even for the
libraries where the headers are the same (like bz2). The *.lib have to
be duplicated most of the times as well (per CRT).

> That's new, I've always
> had /bin, /bindlib_w32, /include, /lib, /pecl and all the /phpxx on the same
> level 'til now, relying on vcvars32.bat to set up the VC and SDK stuff

the setvars only add bin to the path and set a couple of other things.
The VC environments are still done like before, or using the conf.bat
configuration file (see cvs/php-internals-win). The snapshots script
use it for example.

> What on earth is 'phpsdk'? Oh it'll be in that tools thing I didn't look at
> yet I guess... no thanks, I like to know what's happening on my box :)

A prefix used for all the public scripts. Real tools will be added too soon.


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.