Re: c++ error when trying to build releng/14.2 on 'main' host

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Thu, 10 Apr 2025 05:52:11 UTC
On 10/04/2025 1:30 am, Mark Millard wrote:
> On Apr 9, 2025, at 13:18, Andriy Gapon <avg@FreeBSD.org> wrote:
> 
>> On 09/04/2025 10:32 pm, Mark Millard wrote:
>>> An old note about avoiding building toolchains is:
>>
>> Just to be clear, I do not want to avoid building toolchain.
>> I want to avoid building clang that would be installed on the target.
> 
> Part of what I quoted said: "If you don't need a toolchain in the target
> just set WITHOUT_TOOLCHAIN" and then gave more detail.
> 
> clang is part of the tool chain that is being referenced as not being
> needed on the target. So the details may be relevant if other parts
> of the toolchain should be installed on the target. WITHOUT_TOOLCHAIN
> might eliminate too much for your goal.
> 
> If nothing else, I thought that the notes might help you investigate.

Thank you for clarifying.

I misunderstood the meaning of "TOOLCHAIN" in WITHOUT_TOOLCHAIN.
I thought that it was about the build toolchain (i.e., the toolchain used by the 
build), but it's about build tools that are to be installed (or not) on target.

-- 
Andriy Gapon