Abstract
One of the novel features of GNAT is its unusual approach to the compilation process and the handling of the Ada library. The words novel and unusual only apply from a traditional Ada compilation perspective. By contrast, a typical C or C++ programmer would find many aspects of the model quite familiar. In GNAT, sources are independently compiled to produce a set of objects, and the set of object files thus produced is submitted to the binder/linker to generate the resulting executable. This approach removes all order-of-compilation considerations, and eliminates the traditional monolithic library structure. Not only is the model very simple to understand, but it makes it easier to build hybrid systems in multiple languages, and is much more compatible with conventional configuration management tools (ranging from the simple Unix MAKE program to sophisticated compilation management environments) than the conventional library structure. Needless to say, the approach we present is fully compatible with the Ada rules of compilation.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.