From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED.3d73Ybk3C5U4I2t8lv+lAQ.user.gioia.aioe.org!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: gnat for yocto Date: Thu, 5 Sep 2019 13:43:02 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <3a8fbb73-ee45-4833-adf5-0bc933ecb4d3@googlegroups.com> NNTP-Posting-Host: 3d73Ybk3C5U4I2t8lv+lAQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:57107 Date: 2019-09-05T13:43:02+02:00 List-Id: On 2019-09-05 11:53, Lucretia wrote: > On Thursday, 5 September 2019 09:42:36 UTC+1, Dmitry A. Kazakov wrote: > >>> I would like to compare notes on this versus building using a cross compiler system and running it on the target generated by yocto. >>> >>> thanks for any pointers, srini >> >> We use a GNAT Pro cross-compiler for ARM with Yocto. >> >> If you don't have GNAT Pro, the easiest way is to use native Debian or >> Ubuntu GNAT FSF tool-chain for ARM. The result will run on Yocto if all >> libraries match. > > You're missing the point. Yocto requires that there be some sort of recipe to build GNAT in the first place. You've obviously built a recipe for gnat-pro that works for you. We simply build for ARM target. The binaries are then pushed to Yocto, manually. [ We never considered possibility to build anything under Yocto itself. It was clear that this would not work.] >> P.P.S. What people find in Yocto? It reminds me first releases of >> Slackware, back in the future ... > > It's just a build framework for creating a full Linux distro on an embedded board, just makes things easier. Did it? (:-)) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de