|
Message-ID: <20200304132256.GR11469@brightrain.aerifal.cx> Date: Wed, 4 Mar 2020 08:22:56 -0500 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: No .h dependency in Makeifle On Wed, Mar 04, 2020 at 12:06:50PM +0000, khvluu+8f5rqrzfwl55o@...rrillamail.com wrote: > Makefile is efficient and short. > > But maybe a comment is necessary, that no .h dependency was (auto) generated. > > Thus, modifying stdio.h for example will not trigger any build. This was largely set aside because, for the most part, dependency on the public (as opposed to internal) headers is not desirable. They are defining a stable ABI boundary, so changes to them should just be additions that don't affect existing code, and the code generated "should not" change as a result of changes to the headers. In reality, of course, there are some minor ways changes do affect codegen in ways we want to test (and benefit from) -- for example, changes to better macro versions of some functions, or bug fixes for wrong macro definitions (happened for ioctls, fcntl numbers, etc. on some archs). So I've somewhat wanted to add dependency generation. I'm just not very familiar with the tooling to do it. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.