From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: [PATCH 2/5] gnu: Add avr-gcc. Date: Wed, 10 Aug 2016 09:15:11 +0200 Message-ID: <20160810091511.22120e53@scratchpost.org> References: <1460639824-9976-1-git-send-email-dthompson2@worcester.edu> <1460639824-9976-3-git-send-email-dthompson2@worcester.edu> <87y48gje6d.fsf@gnu.org> <87vb1sehb6.fsf@gnu.org> <20160809212257.404b88d9@scratchpost.org> <87a8glemzq.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXNjX-0004Wi-TV for guix-devel@gnu.org; Wed, 10 Aug 2016 03:15:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXNjT-0004oz-Kk for guix-devel@gnu.org; Wed, 10 Aug 2016 03:15:22 -0400 In-Reply-To: <87a8glemzq.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel > Did you install the =E2=80=9Cavr-toolchain=E2=80=9D package or just the = =E2=80=9Cavr-gcc=E2=80=9D?=20 I have installed the package "avr-toolchain". The program "avr-gcc" is in m= y 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/b= in/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/b= in/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 n= eed 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: ... 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.