Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340114 - crossdev needs to install a symlink for ldscripts so that arduino can work
Summary: crossdev needs to install a symlink for ldscripts so that arduino can work
Status: RESOLVED DUPLICATE of bug 147155
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.arduino.cc/playground/Linu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-07 22:42 UTC by Shawn Rutledge
Modified: 2010-10-08 09:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Rutledge 2010-10-07 22:42:53 UTC
As explained here http://www.arduino.cc/playground/Linux/Gentoo , after using crossdev to build avr-g++, it's necessary to do this before you can do builds in arduino:

ln -sv /usr/lib/binutils/avr/2.20.1/ldscripts/ /usr/avr/lib/ldscripts

Maybe crossdev could save us the trouble?  Or maybe there is a better fix than that.

Reproducible: Always

Steps to Reproduce:

Actual Results:  
If you have not created that symlink, arduino will complain like this:

/usr/libexec/gcc/avr/ld: cannot open linker script file ldscripts/avr5.x: No such file or directory
Comment 1 SpanKY gentoo-dev 2010-10-08 09:48:21 UTC

*** This bug has been marked as a duplicate of bug 147155 ***