Re: problem linking kernel

From: David Chisnall <theraven_at_FreeBSD.org>
Date: Mon, 30 Oct 2023 09:31:26 UTC
On 29 Oct 2023, at 19:05, Wojciech Puchar <wojtek@puchar.net> wrote:
> 
> right but anyway it was my fault i for some reason some time ago changed $PATH so /usr/local had precedence.

That is a common setting and I don’t think it should break the build.  Both Clang and GCC support a -B flag that specifies the directory for the tools to use.  We should probably be passing that from the build system, since the FreeBSD built system has a notion of tool sets and where they come from.

David