{"id":405,"date":"2019-09-05T11:50:15","date_gmt":"2019-09-05T09:50:15","guid":{"rendered":"https:\/\/tomdus.de\/wp\/?p=405"},"modified":"2019-09-05T11:50:19","modified_gmt":"2019-09-05T09:50:19","slug":"create-toolchain-with-ptxdist","status":"publish","type":"post","link":"https:\/\/tomdus.de\/wp\/create-toolchain-with-ptxdist\/","title":{"rendered":"Create Toolchain with ptxdist"},"content":{"rendered":"\n<p>This is a small introduction to create a toolchain with <a href=\"https:\/\/www.ptxdist.org\">ptxdist<\/a> (Version <a href=\"http:\/\/public.pengutronix.de\/software\/ptxdist\/ptxdist-2019.08.0.tar.bz2\">ptxdist-2019.08.0.tar.bz2<\/a>)<\/p>\n<p>&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install libncurses5-dev python-dev\n\ncd\nmkdir ptxdist\ncd ptxdist\nwget http:\/\/public.pengutronix.de\/software\/ptxdist\/ptxdist-2019.08.0.tar.bz2\ntar -xjf ptxdist-2019.08.0.tar.bz2\ncd ptxdist-2019.08.0\n.\/configure --prefix \/home\/tomas\/ptxdist\/install\nmake\nmake install\ncd \/home\/tomas\/ptxdist\/install\/bin\/\n.\/ptxdist setup<\/code><\/pre>\n\n\n\n<p>Create your own toolchain<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install python3-dev\ncd \/home\/tomas\/ptxdist\nwget https:\/\/public.pengutronix.de\/oselas\/toolchain\/OSELAS.Toolchain-2018.12.0.tar.bz2\ntar -xjf OSELAS.Toolchain-2018.12.0.tar.bz2\ncd OSELAS.Toolchain-2018.12.0\/\n\/home\/tomas\/ptxdist\/install\/bin\/ptxdist-2019.08.0 select ptxconfigs\/i686-atom-linux-gnu_gcc-8.2.1_glibc-2.28_binutils-2.31.1_kernel-4.19-sanitized.ptxconfig\n\/home\/tomas\/ptxdist\/install\/bin\/ptxdist-2019.08.0 migrate\n\/home\/tomas\/ptxdist\/install\/bin\/ptxdist-2019.08.0 go<\/code><\/pre>\n\n\n\n<p>change in selected_ptxconfig from PTXCONF_PREFIX=&#8220;\/opt&#8220; to PTXCONF_PREFIX=&#8220;\/home\/tomas\/ptxdist\/toolchain&#8220;<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,5],"tags":[],"class_list":["post-405","post","type-post","status-publish","format-standard","hentry","category-embedded","category-linux"],"_links":{"self":[{"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/posts\/405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/comments?post=405"}],"version-history":[{"count":4,"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/posts\/405\/revisions"}],"predecessor-version":[{"id":409,"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/posts\/405\/revisions\/409"}],"wp:attachment":[{"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/media?parent=405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/categories?post=405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/tags?post=405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}