Pages: [1]   Go Down
Author Topic: Arduino on Gentoo (amd64)  (Read 403 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

It prints the following:
Code:
# 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:
/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.
Logged

Pages: [1]   Go Up
Jump to: