unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Thompson, David" <dthompson2@worcester.edu>
To: 24416@debbugs.gnu.org
Subject: bug#24416: avr-gcc@5 is broken
Date: Sun, 11 Sep 2016 19:23:05 -0400	[thread overview]
Message-ID: <CAJ=RwfbF+75d=E+mZ-_nNoHnRYL7Uy8m=CsQRGTwLi6jDQ-b4w@mail.gmail.com> (raw)

avr-gcc cannot find device-specific libraries when compiling, which
from my reading is due to a problem with multilib.  However, avr-gcc@4
works fine!

avr-gcc -O2 -DF_CPU=16000000UL -mmcu=atmega32u4 test.c -o test
avr-ld: cannot find -lm
avr-ld: cannot find -lc
avr-ld: cannot find -latmega32u4
collect2: error: ld returned 1 exit status

The libraries in question here are located within
/gnu/store/...-avr-libc-2.0.0/avr/lib/avr5 but avr-gcc is only
searching within /avr/lib.

For now, I'm just using avr-gcc@4 and moving on with life.

- Dave

             reply	other threads:[~2016-09-11 23:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-11 23:23 Thompson, David [this message]
2016-09-12  6:49 ` bug#24416: avr-gcc@5 is broken Danny Milosavljevic
2016-09-12 15:29   ` Thompson, David
2016-09-13  9:18     ` Danny Milosavljevic
2017-12-22 14:45 ` bug#24416: [PATCH] gnu: avr-gcc: Fix compiler lookup paths Danny Milosavljevic
2020-03-01  6:42   ` Arun Isaac
2020-03-01 12:25     ` Danny Milosavljevic
2020-05-13 19:28       ` Efraim Flashner

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to='CAJ=RwfbF+75d=E+mZ-_nNoHnRYL7Uy8m=CsQRGTwLi6jDQ-b4w@mail.gmail.com' \
    --to=dthompson2@worcester.edu \
    --cc=24416@debbugs.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).