From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: Re: [PATCH 2/5] gnu: Add avr-gcc. Date: Mon, 15 Aug 2016 09:07:04 -0400 Message-ID: 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=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZHbj-0007eX-8K for guix-devel@gnu.org; Mon, 15 Aug 2016 09:07:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZHbd-0000WL-Vm for guix-devel@gnu.org; Mon, 15 Aug 2016 09:07:10 -0400 Received: from mail-ua0-x242.google.com ([2607:f8b0:400c:c08::242]:34969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZHbd-0000WG-QQ for guix-devel@gnu.org; Mon, 15 Aug 2016 09:07:05 -0400 Received: by mail-ua0-x242.google.com with SMTP id 109so4137124uat.2 for ; Mon, 15 Aug 2016 06:07:05 -0700 (PDT) In-Reply-To: <20160815135936.1d9ef779@scratchpost.org> 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: Danny Milosavljevic Cc: guix-devel On Mon, Aug 15, 2016 at 7:59 AM, Danny Milosavljevic wrote: > What does the search-paths form do? Does it set environment variables in the profile as well? Search path information is used in build environments (guix build), user-defined environments (guix environment), and profiles (guix package). For example, when you run 'guix package --search-paths', the environment variables printed are determined by the native-search-paths field for each package in your profile. I found that without CROSS_CPATH and CROSS_LIBRARY_PATH the compiler doesn't work because it can't find all of its headers and libraries since they aren't in /usr. Some background: avr-gcc was broken for a very long time, until Manolis, Ricardo, and I worked out the problems several months ago. I tested avr-gcc by successfully compiling the various KADE miniArcade firmwares using the 'make-all.sh' script found here: https://github.com/kadevice/KADE/tree/master/open%20software/firmwares/KADE%20miniArcade/sources 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 - Dave