[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/5] gnu: Add avr-gcc.
From: |
Thompson, David |
Subject: |
Re: [PATCH 2/5] gnu: Add avr-gcc. |
Date: |
Mon, 15 Aug 2016 09:07:04 -0400 |
On Mon, Aug 15, 2016 at 7:59 AM, Danny Milosavljevic
<address@hidden> 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
- Re: [PATCH 2/5] gnu: Add avr-gcc., Danny Milosavljevic, 2016/08/09
- 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 <=
- Re: [PATCH 2/5] gnu: Add avr-gcc., Danny Milosavljevic, 2016/08/15
Re: [PATCH 2/5] gnu: Add avr-gcc., Vincent Legoll, 2016/08/10