Project

General

Profile

Actions

Bug #18504

closed

configure prints a warning when cross-compiling

Added by mame (Yusuke Endoh) over 2 years ago. Updated about 2 years ago.


Description

$ sudo apt-get install gcc-aarch64-linux-gnu
$ ./configure --host=aarch64-linux-gnu
downloading config.guess ... done
downloading config.sub ... done
checking build system type... x86_64-pc-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking target system type... aarch64-unknown-linux-gnu
checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc
checking for aarch64-linux-gnu-aarch64-linux-gnu-ld... no
checking for aarch64-linux-gnu-ld... aarch64-linux-gnu-ld
configure: WARNING: using cross tools not prefixed with host triplet

It attempts to find aarch64-linux-gnu-aarch64-linux-gnu-ld, which fails. Then it finds aarch64-linux-gnu-ld, but also it prints "WARNING: using cross tools not prefixed with host triplet".

I guess this was triggered by 2c96e04868477eaa1420945d57bf5b3adb521e84. @shyouhei (Shyouhei Urabe) Could you take a look?

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0