Re: Weird behaviour about system types

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

 



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,

Sébastien.




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux