The native "cross compiler" part - how to use it


I am trying to get my head around how Clang is supposedly used as
Crosscompiler. I am using it for years with a custom gcc toolchain,
but its cumbersome as it involves adding all inlude and library paths
from gcc and adding them as options.
So I tested the arguments that should allow crosscompiling and
compared what they do.

(I am on Debian Strech AMD64, but same or similar issues persist on
older Debian Versions atleast)

cross_results.tar.gz (2.77 KB)