Re: Is there a difference in (n)make between windows and unix.
| From: | Steph Fox | Date: | Tue, 29 Apr 2008 08:05:19 +0000 |
| Subject: | Re: Is there a difference in (n)make between windows and unix. | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37283@lists.php.net to get a copy of this message | ||
Hi Stas,
I spent some time looking into this yesterday (Richard and I had one of those off-list exchanges). Not sure if *nix compilers work in the same way, but under Windows nmake treats any headers included in source files as "implicit prerequisites". Only explicit header declarations are compiled in their own right. I'd *assume* that this is what knocked almost 15 minutes off the build time when moving from our .dsp files (which had explicit header declarations) to the config.w32 setup. Keeping in mind that headers are far less likely to be altered than C files once an API is stable, there doesn't seem much point in making the build slower or the task of writing config.w32 files more complex just so's those undertaking active development won't need to make clean and re-run configure now and again. - StephShould editing ANY source level file (.h, .c type files) result in a make?Theoretically, it should. But it's as good as makefile dependencies, of course. I'm not sure PHP configure script generates dependencies for all files...
-- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php