Re: PHP 4 win build system questions
| From: | Wez Furlong | Date: | Sat, 22 Oct 2005 15:04:24 +0000 |
| Subject: | Re: PHP 4 win build system questions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19686@lists.php.net to get a copy of this message | ||
If you have cygwin flex and bison, you don't need to copy anything.
You also don't *have* to recompile resolv.lib; just build a release
build and use that, even when you're building a debug version of PHP.
--Wez.
On 10/22/05, techtonik <techtonik@tut.by> wrote:
> ||*()*|| Greetings, phpinnards.. =)
>
> I tried to automate build system for PHP 4 a bit and after that
> can't get some stupid questions out of my head. Install instructions
> located as usual
> http://www.php.net/manual/en/install.windows.building.php
>
> There are at least two inconveniences:
> 1. Need to copy bison.sample from win32build\bin to c:\usr\local\lib
> 2. Need to recompile resolv.lib every time target changes
>
> So the questions are the following
> 1.1 Why not to get rid of this bison.sample copy operation either by
> 1.1.1 upgrade bison.exe in win32build.zip from 1.27 to at
> least 1.34, which adds -S options to specify bison.sample
> explicitly and also includes some memory leak fixes
>
> http://sourceforge.net/project/shownotes.php?release_id=274058
> or
> 1.1.2 set up environment variable BISON_SIMPLE somewhere in
> build files/scripts?
>
> 2.1 Why resolv.lib needs to be recompiled every time when target
> changes from "debug" to "release" and vice versa
> 2.1.1 Why it is not possible to supply a separate resolv_debug.lib
> and resolv_release.lib files in win32build.zip and rewrite
> dependencies for them in windows build files?
>
> Thanks.
>
> .techtonik
> --
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>