Re: On upgrading elftoolchain in src/

David Holland <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
On Sat, Mar 27, 2021 at 07:16:02PM +0700, Robert Elz wrote:
 >   | That doesn't mean it can't _live_ in sys/; installing a symlink like
 >   | the one for stdbool.h is a reasonable proposition.
 > 
 > I'd suggest a separate <elfdefinitions.h> which #includes <sys/elfdefinitions.h>
 > to access the definitions shared with the kernel - that way it can also
 > (now, or perhaps in the future) get userland only definitions (lib* prototypes
 > etc) without needing ugly #ifndef _KERNEL stuff added.

As long as the proper user-facing name is there, changing it from a
symlink to a file later is easy.

 >   | (sometime when we finally move away from CVS the kernel/libc include
 >   | sharing will get rationalized...)
 > 
 > Unless you mean that that will provide the incentive for rationalisation,
 > just because lots will be changing anyway, I don't see the relationship
 > to the VCS used.

It involves a lot of massrenaming. CVS doesn't have rename.

 > Since this is (more or less) new, it should be done properly now, one
 > less thing to deal with later.

Right.

-- 
David A. Holland
[email protected]
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.