From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: [PATCH 2/5] gnu: Add avr-gcc. Date: Mon, 15 Aug 2016 15:24:10 +0200 Message-ID: <20160815152410.470c42b0@scratchpost.org> References: <1460639824-9976-1-git-send-email-dthompson2@worcester.edu> <1460639824-9976-3-git-send-email-dthompson2@worcester.edu> <87y48gje6d.fsf@gnu.org> <87vb1sehb6.fsf@gnu.org> <20160809212257.404b88d9@scratchpost.org> <87a8glemzq.fsf@elephly.net> <20160810091511.22120e53@scratchpost.org> <874m6tdpsk.fsf@mdc-berlin.de> <20160815135936.1d9ef779@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZHsM-0002Pd-Fa for guix-devel@gnu.org; Mon, 15 Aug 2016 09:24:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZHsH-0005nq-Gi for guix-devel@gnu.org; Mon, 15 Aug 2016 09:24:22 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:47801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZHsH-0005nb-9O for guix-devel@gnu.org; Mon, 15 Aug 2016 09:24:17 -0400 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: "Thompson, David" Cc: guix-devel > I don't know what has changed since I got things working, but I can no > longer compile that firmware. I get errors like this: > > main.c:38:20: fatal error: avr/io.h: No such file or directory There was a change in cross-base. We don't use CROSS_CPATH anymore. However, avr-gcc does use it (and shouldn't). (define* (cross-gcc ... ... ;; Only search target inputs, not host inputs. ;; Note: See for why not 'CPATH'. (search-paths (list (search-path-specification (variable "CROSS_C_INCLUDE_PATH") (files '("include"))) (search-path-specification (variable "CROSS_CPLUS_INCLUDE_PATH") (files '("include"))) (search-path-specification (variable "CROSS_OBJC_INCLUDE_PATH") (files '("include"))) (search-path-specification (variable "CROSS_OBJCPLUS_INCLUDE_PATH") (files '("include"))) (search-path-specification (variable "CROSS_LIBRARY_PATH") (files '("lib" "lib64"))))) (native-search-paths '())))