[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/5] gnu: Add avr-gcc.
From: |
Ricardo Wurmus |
Subject: |
Re: [PATCH 2/5] gnu: Add avr-gcc. |
Date: |
Wed, 10 Aug 2016 09:52:11 +0200 |
User-agent: |
mu4e 0.9.16; emacs 25.1.1 |
Danny Milosavljevic <address@hidden> writes:
>> Did you install the “avr-toolchain” package or just the “avr-gcc”?
>
> I have installed the package "avr-toolchain". The program "avr-gcc" is in my
> profile but I think it was not from the package avr-gcc.
>
> $ ls -l /home/dannym/.guix-profile/bin/avr-gcc
> lrwxrwxrwx 143 root guixbuild 69 1. Jan 1970
> /home/dannym/.guix-profile/bin/avr-gcc ->
> /gnu/store/lhy6jlpwf92yknmfai3675lmr8bhc4jf-avr-gcc-5.3.0/bin/avr-gcc
> $ guix package -r avr-gcc
> nothing to be done
> $ ls -l /home/dannym/.guix-profile/bin/avr-gcc
> lrwxrwxrwx 143 root guixbuild 69 1. Jan 1970
> /home/dannym/.guix-profile/bin/avr-gcc ->
> /gnu/store/lhy6jlpwf92yknmfai3675lmr8bhc4jf-avr-gcc-5.3.0/bin/avr-gcc
>
> I've read through the mailing list but even the "-D__x86_64__" hack doesn't
> work anymore. Hmm...
>
>> Should application setup for individual applications also be added to the
>> manual?
>
> In general yes - but I think avr-gcc is special in that it really doesn't
> need host system stuff at all. There should be no configuration necessary.
> (It is necessary, but it shouldn't be)
>
> Also, I manually added avr/include and avr/lib as a workaround. This mostly
> works. However, when linking I get:
I’m pretty sure I didn’t have to do this. Instead it was sufficient to
set a couple of environment variables. The effect is the same, though.
> ...
> avr-ld: cannot find crtatmega32u4.o: No such file or directory
> avr-ld: cannot find -latmega32u4
>
> And indeed this crt doesn't exist at all.
I encountered the same issue last time I used avr-gcc. This hasn’t
always been like this. If I recall correctly the names of the crt files
changed after we enabled multilib support.
Maybe Dave knows more about this?
~~ Ricardo
- 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 <=
- 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
- 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