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:31 AM, Steph Fox <[email protected]> wrote:
>> 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.
>
> I only have VC 6, so I only have ICU 3.6. That's one of the easy ones :)
>
>> 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).
>
> Yes - but not when you only have one CRT.
>
>> the setvars only add bin to the path and set a couple of other things.
>> The VC environments are still done like before,

Sometimes it is easier to simply do it like other do (or the snaps,
etc.). It avoids confusions and having less troubleshooting sessions
is a good thing (tm).

> They were done before using vcvars32.

No, that's not what the phpsdk_setvars does. It adds the phpsdk to the
PATH as well as a couple of other environment variables used by
various scripts. It does nothing about the PSDK or the VC path. Those
are still done using one of the following solution:

- If you use the SDK 6.1 (at some point), then the setenv script is used.
- Development console for VC6+PSDK 2003/02 (be sure to have the SDK
first in your paths, include and lib)
- Using something like what we do for the snaps and the conf.bat
configuration script

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.