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!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Emacs Ada mode with RTS Date: Fri, 19 Jun 2015 20:19:23 +0100 Organization: A noiseless patient Spider Message-ID: References: <888a3bd7-6ce8-4458-8725-8330680f48de@googlegroups.com> <86egl9do8p.fsf@stephe-leake.org> <8a492b13-7f08-4597-aa14-5aa8715850f5@googlegroups.com> <86egl7aitq.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="c762050aff3a30866fa7e79999b14776"; logging-data="28250"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19vBuUMMDhWyCJgCwvjpkjzX4yMXzJSRrY=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:n1Kme/0EKpjjTDK6/luLuF59hKM= sha1:LxgPO21QteGgM21da0hXZDydFmU= Xref: news.eternal-september.org comp.lang.ada:26386 Date: 2015-06-19T20:19:23+01:00 List-Id: Stephen Leake writes: > Simon Wright writes: > >> Patrick Noffke writes: >> >>> Perhaps you can use gprbuild instead of gnatmake? Would that take >>> care of it for you? >> >> This is pretty-much a must, since gnatmake doesn't understand all the >> options you can put in a GPR file. >> >> Also gnatmake will lose the ability to deal with project files at all, >> spit spit >> >> It used to be that gprbuild understood relative paths for --RTS=, but >> the GPL 2015 one needs absolute paths. >> >> This GPR works perfectly in ada-mode 5.1.8 .. > > Just to be clear, are you saying you can run: > > gprbuild testbed.gpr > > that is, you _don't_ need --RTS on the gprbuild command line? Yes; I don't need --RTS on the gprbuild command line. Turns out that with Gprbuild GPL 2015 I can say for Runtime ("ada") use Project'Project_Dir & "../stm32f429i-disco-rtos"; instead of the equivalent --RTS line in package Builder.