Package Details: avr-libc-git r1962.b9deb4e8-1

Git Clone URL: https://aur.archlinux.org/avr-libc-git.git (read-only, click to copy)
Package Base: avr-libc-git
Description: The C runtime library for the AVR family of microcontrollers
Upstream URL: https://github.com/avrdudes/avr-libc
Licenses: BSD
Conflicts: avr-libc
Provides: avr-libc
Submitter: SammysHP
Maintainer: SammysHP
Last Packager: SammysHP
Votes: 0
Popularity: 0.000000
First Submitted: 2022-04-09 14:12 (UTC)
Last Updated: 2022-04-09 14:13 (UTC)

Dependencies (2)

Required by (19)

Sources (1)

Latest Comments

shuyuan-liu commented on 2022-10-07 12:59 (UTC)

Oh sorry! I just remembered I had CC=gcc and CXX=g++ set in my /etc/environment. Removed them and it works now.

SammysHP commented on 2022-10-06 18:52 (UTC)

Hmm… all I can say is: works for me. Not sure about your environment, but I get this:

...
checking for avr-gcc... avr-gcc
...

shuyuan-liu commented on 2022-10-05 21:54 (UTC) (edited on 2022-10-05 21:54 (UTC) by shuyuan-liu)

I'm getting a "Wrong compiler found, check PATH" error when ./configure is run. The error goes away if I manually specify CC=avr-gcc on the command line. Logs:

   ...
   Writing avr/devices/avr64dd20/Makefile.am...
   Writing avr/devices/avr64dd28/Makefile.am...
   Writing avr/devices/avr64dd32/Makefile.am...
   Wrote 429 Makefile.am's.
   Writing devices.m4...
   Writing devlist.m4...
   Writing multilib.m4...
   Writing files.m4...
   Done.
+ rm -rf autom4te.cache
+ aclocal
+ autoheader
+ autoconf
configure.ac:60: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:60: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:60: the top level
+ automake --foreign --add-missing --copy
checking build system type... x86_64-pc-linux-gnu
checking host system type... avr-unknown-none
checking if configuring for cross compile... yes
checking if target host is avr... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for avr-strip... avr-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for avr-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for avr-as... avr-as
checking dependency style of gcc... gcc3
checking for avr-ranlib... avr-ranlib
checking for avr-ar... avr-ar
configure: error: Wrong C compiler found; check the PATH!
==> ERROR: A failure occurred in build().

I do have avr-gcc in my PATH at /usr/bin/avr-gcc so I'm not sure what's wrong. Could you investigate? If there's anything else I should provide please let me know.