Port-RISCV archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cross compiling for riscv64



Martin Husemann <martin%duskware.de@localhost> writes:

> On Sat, Nov 07, 2026 at 01:09:29PM -0500, Jesse Rhodes wrote:
>> mk.conf is the example from https://wiki.netbsd.org/pkgsrc/mk.conf/,
>> unchanged.
>
> Oh my, that one is totaly broken, please just remove it if you don't
> need it!
>
> The WARNS=4 in there is a very, very bad idea (or: a very bad example
> for changing something when compiling the base system only).

Indeed.  The only reason to set WARNS=4 is if you are doing a test build
to find something that is objected to, in order to fix it, to be able to
increase WARNS for that subtree.

> Martin
> P.S.: somone please update the wiki and make the example harmless

I have just about totally rewritten that page, including emphasizing
that it's an explanation of how the file might be written, not a default
to be copied, and removed WARNS entirely.

https://wiki.netbsd.org/pkgsrc/mk.conf/


Home | Main Index | Thread Index | Old Index