Re: Host requirements to build the Tools binaries

Robert Elz <[email protected]> Fri, 30 Aug 2024 01:32:22 +0700
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
    Date:        Thu, 29 Aug 2024 16:53:35 +0200
    From:        Jan-Benedict Glaw <[email protected]>
    Message-ID:  <[email protected]>

  | Update the stuff that needs further updates and go for -D_GNU_SOURCE?

That's not any kind of general solution for tool building, I'd only expect
that to make a difference on GNU based systems, the tools need to build on
hpux, aix, ... (probably even cgywin as well).

I think we need to make sure that the tools use only POSIX standard functions
(excluding any that are optional) and probably only those from a fairly old
version of POSIX (2008 just perhaps).

Anything we (really) need that's not included needs to be in the compat library
and compat headers that are included in tools builds.

kre