all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Thompson, David" <dthompson2@worcester.edu>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH 2/5] gnu: Add avr-gcc.
Date: Mon, 15 Aug 2016 09:07:04 -0400	[thread overview]
Message-ID: <CAJ=RwfY7a9wXxrLE5xYY=aGXg2bAT90XcVVpbNX+jUZjMJhFVA@mail.gmail.com> (raw)
In-Reply-To: <20160815135936.1d9ef779@scratchpost.org>

On Mon, Aug 15, 2016 at 7:59 AM, Danny Milosavljevic
<dannym@scratchpost.org> 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

  reply	other threads:[~2016-08-15 13:07 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-14 13:16 [PATCH 0/6] Fix AVR toolchain David Thompson
2016-04-14 13:17 ` [PATCH 1/5] gnu: Add avr-binutils David Thompson
2016-04-14 17:04   ` Ludovic Courtès
2016-04-14 18:32     ` Manolis Ragkousis
2016-04-19 14:55       ` Ludovic Courtès
2016-05-30 17:38         ` Thompson, David
2016-04-14 13:17 ` [PATCH 2/5] gnu: Add avr-gcc David Thompson
2016-04-14 13:53   ` Manolis Ragkousis
2016-04-14 13:55     ` Thompson, David
2016-04-14 17:06     ` Ludovic Courtès
2016-04-14 17:25   ` Ludovic Courtès
2016-05-30 17:44     ` Thompson, David
2016-06-01 21:21       ` Ludovic Courtès
2016-08-09 19:22         ` Danny Milosavljevic
2016-08-09 19:55           ` Ricardo Wurmus
2016-08-10  7:15             ` Danny Milosavljevic
2016-08-10  7:21               ` Danny Milosavljevic
2016-08-10  7:52               ` Ricardo Wurmus
2016-08-10 13:14                 ` Thompson, David
2016-08-15 10:45                   ` [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 11:34                     ` Thompson, David
2016-08-15 18:48                       ` Leo Famulari
2016-08-15 11:59                   ` [PATCH 2/5] gnu: Add avr-gcc Danny Milosavljevic
2016-08-15 13:07                     ` Thompson, David [this message]
2016-08-15 13:24                       ` Danny Milosavljevic
2016-08-10 11:57             ` Vincent Legoll
2016-08-10 12:56               ` Ricardo Wurmus
2016-04-14 13:17 ` [PATCH 3/5] gnu: avr-libc: Fix build David Thompson
2016-04-14 14:02   ` Manolis Ragkousis
2016-04-14 17:26   ` Ludovic Courtès
2016-04-14 17:57     ` Thompson, David
2016-04-15 21:12       ` Ludovic Courtès
2016-05-30 17:40         ` Thompson, David
2016-04-14 13:17 ` [PATCH 4/5] gnu: Add avr-toolchain David Thompson
2016-04-14 17:33   ` Ludovic Courtès
2016-05-30 17:36     ` Thompson, David
2016-04-14 13:17 ` [PATCH 5/5] gnu: Remove xgcc-avr David Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ=RwfY7a9wXxrLE5xYY=aGXg2bAT90XcVVpbNX+jUZjMJhFVA@mail.gmail.com' \
    --to=dthompson2@worcester.edu \
    --cc=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.