Go Down

Topic: Arduino on Gentoo (amd64) (Read 434 times) previous topic - next topic

kevlar

When following this guide: http://www.arduino.cc/playground/Linux/Gentoo, I am unable to get past
Code: [Select]
crossdev -t avr -s4

It prints the following:
Code: [Select]
# crossdev -t avr -s4
------------------------------------------------------------------------------------------
* Host Portage ARCH:     amd64
* Target Portage ARCH:   *
* Target System:         avr
* Stage:                 4 (C/C++ compiler)

* binutils:              binutils-[latest]
* gcc:                   gcc-[latest]
* libc:                  avr-libc-[latest]

* PORTDIR_OVERLAY:       /usr/portage/local/layman/enlightenment
* PORT_LOGDIR:           /var/log/portage
* PKGDIR:                /usr/portage/packages/cross/avr
* PORTAGE_TMPDIR:        /var/tmp/cross/avr
 _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -
WARNING: repository at /usr/local/portage is missing a repo_name entry
* Forcing the latest versions of {binutils,gcc}-config/gnuconfig ...               [ ok ]
* Log: /var/log/portage/cross-avr-binutils.log
* Emerging cross-binutils ...                                                      [ ok ]
* Log: /var/log/portage/cross-avr-avr-libc-headers.log
* Emerging cross-avr-libc-headers ...

* avr-libc failed :(
* If you file a bug, please attach the following logfiles:
* /var/log/portage/cross-avr-info.log
* /var/log/portage/cross-avr-avr-libc-headers.log


The guide said to try other versions of gcc.  I'm currently using gcc-4.3.1-r1 (according to emerge -pv sys-devel/gcc), but gcc-config -L returns:
Code: [Select]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4:/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/32

I don't know whether I need to emerge cross-avr/gcc or downgrade sys-devel/gcc.

If there is any other information that would help, please ask.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy