{"id":438,"date":"2016-01-08T14:54:53","date_gmt":"2016-01-08T12:54:53","guid":{"rendered":"https:\/\/blog.ramses-pyramidenbau.de\/?p=438"},"modified":"2016-08-01T15:33:33","modified_gmt":"2016-08-01T13:33:33","slug":"avr-toolchain-for-gentoo-linux-using-crossdev","status":"publish","type":"post","link":"https:\/\/blog.vmexit.de\/?p=438","title":{"rendered":"AVR-Toolchain for Gentoo Linux using crossdev"},"content":{"rendered":"<p>Since quite a long time, Gentoo Linux has problems building a GCC Toolchain for the AVR microcontroller architecture. This is just a short summary, how to get your toolchain running under Gentoo:<\/p>\n<p>1. Emerge Toolchain<br \/>\n<code><br \/>\nUSE=\"-openmp -sanitize -vtv\" crossdev -t avr -s4 -S --without-headers<br \/>\n<\/code><\/p>\n<p>2. Somehow, ldscripts go to \/usr\/x86_64-pc-linux-gnu\/avr\/lib\/ldscripts but are actually expected to be located at \/usr\/avr\/lib\/ldscripts. A symlink quick fixes this issue<br \/>\n<code><br \/>\nln -s \/usr\/x86_64-pc-linux-gnu\/avr\/lib\/ldscripts \/usr\/avr\/lib\/ldscripts<br \/>\n<\/code><\/p>\n<p>3. Have fun with your working toolchain<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since quite a long time, Gentoo Linux has problems building a GCC Toolchain for the AVR microcontroller architecture. This is just a short summary, how to get your toolchain running under Gentoo: 1. Emerge Toolchain USE=&#8221;-openmp -sanitize -vtv&#8221; crossdev -t avr -s4 -S &#8211;without-headers 2. Somehow, ldscripts go to \/usr\/x86_64-pc-linux-gnu\/avr\/lib\/ldscripts but are actually expected to &hellip; <a href=\"https:\/\/blog.vmexit.de\/?p=438\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">AVR-Toolchain for Gentoo Linux using crossdev<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,10,6],"tags":[],"class_list":["post-438","post","type-post","status-publish","format-standard","hentry","category-embedded","category-gentoo","category-linux"],"_links":{"self":[{"href":"https:\/\/blog.vmexit.de\/index.php?rest_route=\/wp\/v2\/posts\/438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.vmexit.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.vmexit.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.vmexit.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.vmexit.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=438"}],"version-history":[{"count":6,"href":"https:\/\/blog.vmexit.de\/index.php?rest_route=\/wp\/v2\/posts\/438\/revisions"}],"predecessor-version":[{"id":500,"href":"https:\/\/blog.vmexit.de\/index.php?rest_route=\/wp\/v2\/posts\/438\/revisions\/500"}],"wp:attachment":[{"href":"https:\/\/blog.vmexit.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.vmexit.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.vmexit.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}