tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: unbreak some builds with USETOOLS=no
On 29 May 2018 at 08:33, Christos Zoulas <christos%astron.com@localhost> wrote:
> In article <20180528051017.GE18127%SDF.ORG@localhost>, <coypu%sdf.org@localhost> wrote:
>>-=-=-=-=-=-
>>
>>since bsd.hostinit.mk is not installed, building stuff using
>>bsd.hostprog.mk without netbsd tools isn't possible.
>>
>>Also, EXTERNAL_TOOLCHAIN is not defined e.g. if using
>>cd src/external/bsd/nvi; make USETOOLS=no.
Why are all these alternatives even being treated differently?
Instead start with the assumption that the tool chain is external
(which it is anyway) and try to isolate the compiler details? The
only difference, when using bundled tools, is that the the details are
also conveniently bundled somehow.
The sources seem to contain all these little bits of embedded trivia
where the last compiler et.al. used is assumed. For instance:
Makefile.compiler-rt adding extra -W* flags; or
usr.bin/xlint/arch/*/targparam.h which 'MUST be kept in sync with the
the compiler!';
>>attached patch fixes it.
>>thoughts?
>>
> I committed something similar yesterday.
>
> christos
>
Home |
Main Index |
Thread Index |
Old Index