Compile GNAT/Pro
This page describes how to compile GNAT/Pro. First you will need to download the all GNAT/Pro sources available. Use your GNAT Tracker account and download in one go.
build-gnat-pro #
It is really all done by the attached script:
| Attach:build.bash | usefull functions shared between build scripts |
| Attach:build-gnat-pro | build script for GNAT/Pro |
Some notes about the script:
- The pathnames are more or less hardcoded and installation is done in §n§/opt/ada§§ so you should check if they fit your needs.
- The script compiles all and everything in one go - if you don’t need everything you should make a copy and cut out everyting you are not interested it
pathnames needed #
| §n§/work/gnat-pro§§ | |
| §n§/work/configure§§ | |
| §n§/work/gnat-pro/5.03/…§§ | |
| §n§/opt/gnat§§ |
current status #
The script works fine exept for GPS - GPS has it’s own GNAT sources and they clash with the sources installed.
(:include GNAT/Pitfalls:)