Ada Setup ↩
![]() |
This document gathers some notes about setting up our Ada development environment. |
We download the archive aunit-22.0.0.zip
(November 2021) and extract the source directory aunit-22.0.0
(which contains the project file Makefile
).
Path :
PATH variable updates |
Command line tool |
---|---|
export PATH=$PATH:/c/opt/Python-3.11.0/Scripts |
sphinx-build.exe |
export PATH=$PATH:/c/opt/GNAT/2021/bin |
gprbuild.exe |
export PATH=$PATH:/c/opt/texlive/bin/win32 |
pdflatex.exe |
> make all > make doc all > dir /b doc\build\aunit_cb\pdf\*.pdf aunit_cb.pdf > make install INSTALL=dist
MSYS2 environment ▴
$ make all $ make doc all $ find doc/build -name *.pdf doc/build/aunit_cb/pdf/aunit_cb.pdf > make install INSTALL=dist
[1] doc/share/conf.py
↩
-
The source patch consists of replacing
AdaLexer()
byAdaLexer
(idem forGNATProjectLexer()
). -
98: def setup(app): 99: app.add_lexer('ada', ada_pygments.AdaLexer()) 100: app.add_lexer('gpr', ada_pygments.GNATProjectLexer())