Skip to content

Commit

Permalink
Add not about GNAT 12 libraries
Browse files Browse the repository at this point in the history
See issue #5
  • Loading branch information
mgrojo authored May 15, 2024
1 parent 73198e7 commit f785936
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ chmod +x emacs_ada_mode-8.1.0-x86_64.AppImage
./emacs_ada_mode-8.1.0-x86_64.AppImage --appimage-extract
mv squashfs-root/usr/bin/* ~/.local/bin
```

Make sure that `~/.local/bin` is on the `PATH` or use any other directory already on it.

The executables are dynamically linked with GNAT 12. Thus, unless you have GNAT 12 libraries already installed, you have to move also the libraries to an appropriate place (e.g. present in `LD_LIBRARY_PATH`).
```
mv squashfs-root/usr/lib/* ~/.local/lib
```

Due to the version requirement on re2c, it was not possible to use the oldest supported Ubuntu LTS release, as recommended by the AppImage project. Consequently, older systems could have incompatiblities with the dynamically linked libc version.

You can take a look at how they are built in [.github/workflows/main.yml](.github/workflows/main.yml).

0 comments on commit f785936

Please sign in to comment.