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!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Building / Modifying the RTS for Cortex Date: Sat, 10 Dec 2016 16:17:32 +0000 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="f7ef6d3cd6665b8e349ba88bebb88fbc"; logging-data="1410"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19dUrPfoGKjIencug1u8DJvg7cMM4ExNAA=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) Cancel-Lock: sha1:Vni1JDbF+z4jmw5MzDoI+AvcFJ4= sha1:AnnsAcigiWKB5pUTv6YOyau5b2s= Xref: news.eternal-september.org comp.lang.ada:32713 Date: 2016-12-10T16:17:32+00:00 List-Id: "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