From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: [PATCH 2/5] gnu: Add avr-gcc. Date: Tue, 9 Aug 2016 21:22:57 +0200 Message-ID: <20160809212257.404b88d9@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> 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]:41465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXCcH-00079j-T9 for guix-devel@gnu.org; Tue, 09 Aug 2016 15:23:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXCcB-0007Uw-Qc for guix-devel@gnu.org; Tue, 09 Aug 2016 15:23:08 -0400 In-Reply-To: <87vb1sehb6.fsf@gnu.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: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Cc: guix-devel Hi, hmm, does avr-gcc work for anyone on Guix? I tried to compile a simple Arduino project and I get: /home/dannym/.guix-profile/bin/avr-g++ -x c++ -include Arduino.h -MMD -c -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=100 -DARDUINO_ARCH_AVR -D__PROG_TYPES_COMPAT__ -Iarduino-1.6.10/hardware/arduino/avr/cores/arduino -Iarduino-1.6.10/hardware/arduino/avr/variants/leonardo -Iarduino-1.6.10/hardware/arduino/avr/libraries/SPI/src -Wall -ffunction-sections -fdata-sections -Os -DUSB_VID=0x2341 -DUSB_PID=0x8036 -fno-exceptions main.ino -o build-leonardo/main.ino.o In file included from /home/dannym/.guix-profile/include/features.h:389:0, from /home/dannym/.guix-profile/include/stdlib.h:24, from arduino-1.6.10/hardware/arduino/avr/cores/arduino/Arduino.h:23, from :0: /home/dannym/.guix-profile/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory compilation terminated. As you can see it tries to include the host system headers - which will not work. I have the newest Git Guix.