[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/5] gnu: Add avr-gcc.
From: |
Danny Milosavljevic |
Subject: |
Re: [PATCH 2/5] gnu: Add avr-gcc. |
Date: |
Tue, 9 Aug 2016 21:22:57 +0200 |
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 <command-line>: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.
- Re: [PATCH 2/5] gnu: Add avr-gcc.,
Danny Milosavljevic <=
- Re: [PATCH 2/5] gnu: Add avr-gcc., Ricardo Wurmus, 2016/08/09
- Re: [PATCH 2/5] gnu: Add avr-gcc., Danny Milosavljevic, 2016/08/10
- Re: [PATCH 2/5] gnu: Add avr-gcc., Danny Milosavljevic, 2016/08/10
- Re: [PATCH 2/5] gnu: Add avr-gcc., Ricardo Wurmus, 2016/08/10
- Re: [PATCH 2/5] gnu: Add avr-gcc., Thompson, David, 2016/08/10
- [PATCH] gnu: avr: Use the correct gcc version as native-input. This makes crtatmega32u4.o etc appear in the output., Danny Milosavljevic, 2016/08/15
- Re: [PATCH] gnu: avr: Use the correct gcc version as native-input. This makes crtatmega32u4.o etc appear in the output., Thompson, David, 2016/08/15
- Re: [PATCH] gnu: avr: Use the correct gcc version as native-input. This makes crtatmega32u4.o etc appear in the output., Leo Famulari, 2016/08/15
- Re: [PATCH 2/5] gnu: Add avr-gcc., Danny Milosavljevic, 2016/08/15
- Re: [PATCH 2/5] gnu: Add avr-gcc., Thompson, David, 2016/08/15