https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879
--- Comment #26 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- On Thu, 3 Oct 2019, stsp at users dot sourceforge.net wrote: > Ah, I am starting to understand. > So basically you mean something like this: > --with-sysroot=$prefix/$target --with-build-sysroot=$DESTDIR$prefix/$target > --with-prefix=/ It's --with-native-system-header-dir=/include not --with-prefix=/, but that's the idea.