On Fri 29 Apr 2016 17:12, Jan Nieuwenhuizen <jann...@gnu.org> writes:
> * gnu/packages/patches/gcc-cross-environment-variables.patch: Also use CROSS_ > variants: CROSS_C_INCLUDE_PATH, CROSS_CPLUS_INCLUDE_PATH, > CROSS_OBJC_INCLUDE_PATH, CROSS_OBJCPLUS_INCLUDE_PATH to be used for system > libraries, see > https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00620.html. > * gnu/packages/cross-base.scm (cross-gcc, cross-gcc-arguments, cross-libc): > Use CROSS_*_INCLUDE_PATH (WAS: CPATH). > --- LGTM, for what it's worth. I get lost in the patches-to-patches part of the mail but it does not seem to be incorrect. One final ignorant question: there really is no way to do this without patching GCC? And why just one CROSS_C_INCLUDE_PATH -- would it not be necessary in theory to have such a CROSS_ARCH_... for each ARCH that we might be interested in? I am not suggesting that you make the change now but I want to know what the right thing is :) Andy