[Top][All Lists]

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

Re: Weird behaviour about system types

From: Sébastien Hinderer
Subject: Re: Weird behaviour about system types
Date: Fri, 5 Feb 2021 08:55:28 +0100

Hello Nick, many thanks for your response!

Nick Bowler (2021/02/04 14:54 -0500):
> Hi Sébastien,
> The purpose of canonicalization is not to find the toolchain.  The user
> specifies the actual name of the toolchain via the command-line
> options.

Which options is it that you have in mind to specify a toolchain?

> Since your toolchain is installed with a non-canonical prefix if the
> canonicalized name was used configure would not find the toolchain!

In fact, it seems it's the _alias variants of variables which is used to
find the toolchain. See the line I mentionned yesterday:

test -n "$host_alias" && ac_tool_prefix=$host_alias-

and which has been generated.

> The reason to use the canonicalized names is for the scenario when you
> want to write conditional code based on $host_os, $host_cpu, etc.
> If you are not writing code based on these split-out variables, it is
> probably not needed to use AC_CANONICAL_xxx macros.

Yes okay, thanks. We do have such code.

Best wishes,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]