unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24416: avr-gcc@5 is broken
@ 2016-09-11 23:23 Thompson, David
  2016-09-12  6:49 ` Danny Milosavljevic
  2017-12-22 14:45 ` bug#24416: [PATCH] gnu: avr-gcc: Fix compiler lookup paths Danny Milosavljevic
  0 siblings, 2 replies; 8+ messages in thread
From: Thompson, David @ 2016-09-11 23:23 UTC (permalink / raw)
  To: 24416

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-05-13 19:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-11 23:23 bug#24416: avr-gcc@5 is broken Thompson, David
2016-09-12  6:49 ` 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

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).