guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 01/10] gnu: cross: Use CROSS_*_INCLUDE_PATH for system header


From: Andy Wingo
Subject: Re: [PATCH 01/10] gnu: cross: Use CROSS_*_INCLUDE_PATH for system headers.
Date: Mon, 02 May 2016 10:04:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

On Fri 29 Apr 2016 17:12, Jan Nieuwenhuizen <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]