Re: Re: cvs: php-src(PHP_5_3) /win32/build config.w32
| From: | Marcus Boerger | Date: | Thu, 20 Mar 2008 10:10:33 +0000 |
| Subject: | Re: Re: cvs: php-src(PHP_5_3) /win32/build config.w32 | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36214@lists.php.net to get a copy of this message | ||
Hello Stanislav,
since when does building PHP on windows require anything of Cygwin?
In fact those are two completely different platforms. Not that PHP and re2c
wouldn't both support both. However I do not see a reason to require re2c
after all when finding a way around the -g switch. That is we would need to
make sure that on windows you get a .c that wasn't created with re2c's -g
switch in use. Also I am wondering now why cygwin doesn't ship re2c, some
time ago they did. Seems like I have to cook a new package fro them.
marcus
Monday, March 17, 2008, 6:18:15 PM, you wrote:
> Hi!
>> First of all, re2c is easily available for windows - easier to find then
>> flex - just visit the re2c homepage and download the pre-compiled
> Flex is installed by cygwin (which everybody that does anything with
> builds on windows knows about), re2c isn't. Granted, it can be located
> after googling for re2c, but why make the builder jump through the
> unnecessary hoops?
>> Secondly, my $0.02
>> 1. If re2c IS found, try to rebuild the .c versions
>> 2. If re2C is NOT found, use the .c versions in cvs
>> - this allows not making re2c required but letting people who do have
>> it get properly generated files every time
> I'd prefer it to not build .c unless needed (which means shouldn't build
> on fresh checkout) but that one would be acceptable too.
> --
> Stanislav Malyshev, Zend Software Architect
> stas@zend.com http://www.zend.com/
> (408)253-8829 MSN: stas@zend.com
Best regards,
Marcus