ada-mode-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnu Emacs Ada mode 7.0.1 released.


From: Simon Wright
Subject: Re: Gnu Emacs Ada mode 7.0.1 released.
Date: Sat, 1 Feb 2020 16:00:23 +0000

On 31 Jan 2020, at 14:00, Stephen Leake <address@hidden> wrote:

Gnu Emacs Ada mode 7.0.1 is now available in GNU ELPA.

Problem with building with sources in multiple directories.

common/common.gpr
common/a-reatim.adb
microbit/build_runtime.gpr ... with "../common/common"
microbit/adainclude/startup.adb

In ~/.emacs-custom.el,

 '(ada-build-check-cmd "gprbuild -p -P${gpr_file} -c -u -f ${full_current}")
 '(ada-build-make-cmd "gprbuild -p -P${gpr_file}")

If the current buffer holds startup.adb, C-c C-v (for check) executes

-*- mode: compilation; default-directory: "~/cortex-gnat-rts/microbit/adainclude/" -*-
Compilation started at Sat Feb  1 15:55:20

gprbuild -p -Pbuild_runtime.gpr -c -u -f /Users/simon/cortex-gnat-rts/microbit/adainclude/startup.adb
Compile
   [Ada]          startup.adb

but if the current buffer holds a-reatim.adb it executes

-*- mode: compilation; default-directory: "~/cortex-gnat-rts/common/" -*-
Compilation started at Sat Feb  1 15:56:33

gprbuild -p  -c -u -f /Users/simon/cortex-gnat-rts/common/a-reatim.adb
using project file common.gpr
gprbuild: "/users/simon/cortex-gnat-rts/common/a-reatim.adb" was not found in the sources of any project

==========

Similar behaviour for C-c C-c (for make).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]