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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.157.8.87 with SMTP id 81mr22205664oty.135.1481475529499; Sun, 11 Dec 2016 08:58:49 -0800 (PST) X-Received: by 10.157.8.134 with SMTP id 6mr5871960otf.17.1481475529454; Sun, 11 Dec 2016 08:58:49 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!n6no5413012qtd.0!news-out.google.com!m27ni6720qtf.1!nntp.google.com!p16no5409661qta.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 11 Dec 2016 08:58:49 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2003:7f:6f7d:f01:1016:f373:cc29:20e8; posting-account=FZSaEQoAAAAXdVQbBo8KLQ8RHCBHvDzm NNTP-Posting-Host: 2003:7f:6f7d:f01:1016:f373:cc29:20e8 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8da8b332-214a-4b48-bbbd-9f2ce98815e5@googlegroups.com> Subject: Re: Building / Modifying the RTS for Cortex From: "M. Enzmann" Injection-Date: Sun, 11 Dec 2016 16:58:49 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:32725 Date: 2016-12-11T08:58:49-08:00 List-Id: Am Samstag, 10. Dezember 2016 17:17:34 UTC+1 schrieb Simon Wright: > "M. Enzmann" writes: > > > I am having some trouble to understand how the RTS for my STM32F429 > > Discovery board is being built. > > > > While tinkering with some of the examples in the Ada Drivers Library > > from Ada Core, I thought it might be a nice idea to add some > > funtionality to the Ada.Real_Time package. > > The way to rebuild the runtime is to go to the embedded-runtimes/ > directory at the top level of the repo and say "make". > > This will rebuild all the runtimes as required (provided that all your > changes are in the appropriate place under embedded-runtimes/). > > I wouldn't bother too much about accidentally changing stuff, that's why > we use git! > > The -a flag is only available in gnatmake, which isn't the right tool to > build runtimes (or Cortex code): > > $ gprbuild -a > warning: switch -a is ignored and no additional source is compiled Simon, thanks for your help! At times programming in Ada is frustrating. The compiler is always right. So it would seem.