Installing GNAT in Linux and Unix

Total Page:16

File Type:pdf, Size:1020Kb

Installing GNAT in Linux and Unix APPENDIX A Installing GNAT in Linux and Unix When it comes to installing the Ada compiler on a Linux (or Unix) machine, first check to see if you can install it via your package manager. Do the following in the command line; you might need root privileges: 1) Debian/Ubuntu/LinuxMint: $ sudo apt install gnat $ sudo apt install gprbuild 2) Gentoo: $ emerge dev-lang/gnat 3) Fedora/CentOS: $ yum install fedora-gnat-project-common gprbuild 4) For FreeBSD, do the following in the command line (you might need root privileges): $ pkg install gps-ide Once the install finishes successfully, open a terminal with non-privileged user permissions and run the “gnatmake –version” command, like so: > gnatmake --version GNATMAKE 6.2.1 20160830 Copyright (C) 1995-2016, Free Software Foundation, Inc. 319 © Andrew T. Shvets 2020 A. T. Shvets, Beginning Ada Programming, https://doi.org/10.1007/978-1-4842-5428-8 APPENDIX A INSTaLLING GNAT IN Linux and UNIX This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. And run the gprbuild utility as well: > gprbuild --version GPRBUILD GPL 2016 (20160515) (x86_64-pc-linux-gnu) Copyright (C) 2004-2016, AdaCore This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you see output similar to what is shown, then you are finished and can go on with the rest of the book. If you do not see the version of either gnatmake or gprbuild, check to make sure that your install was successful. Connectivity issues as well as installation conflicts can stop this process. However, if you did all of the above and still do not see the version of the utility printed out (or your OS does not have the above package to install), then do the following: 1) Go to the AdaCore web site from where you will get the correct binaries: www.adacore.com/community 2) Click the picture with the words “GNAT Community Download.” 3) Locate the link that is just below the title “GNAT GPL Ada,” click it, and download the executable. The link will look similar to this: gnat-gpl-2017-x86_64-linux-bin.tar.gz. 4) Create an install location. In our case it will be located in the home directory: $ mkdir ~/ada_install 5) After the download is complete, move the file to a location where you can open it up, if you have not done this already; you can create a temporary directory where the download is residing. 320 APPENDIX A INSTaLLING GNAT IN Linux and UNIX 6) In that directory run the binary that you downloaded: $ ./gnat-community-2019-20190517-x86_64-linux-bin Now follow these steps to complete the install: a) When you run the script, on the first printout of text, simply press Enter. b) On the second printout, specify the directory where you want to have your Ada compiler installed. If the directory is not created, then go create one now. Once this directory is made, enter the direct path to it, meaning DO NOT type this: ~/ada_install But type this: /home/adadeveloper/ada_compiler Take care to enter the path correctly, since there is no auto-­ complete for filenames when you hit the Tab key. c) Hit the Enter key when ready to proceed. d) On the next text printout, you will be asked if you want to proceed with the install; enter “Y” and hit the Enter key. If prompted again to verify that you are certain that you want to proceed, enter “Y” and hit the Enter key again. The install can take some time to complete; feel free to grab more tea or coffee. e) In your ~/.bashrc file (or whichever configuration file corresponds to the shell that you use), insert the following text at the bottom: $PATH=/home/adadeveloper/ada_compiler:$PATH; export $PATH In a new terminal, reload the file in question: $ source ~/.bashrc 321 APPENDIX A INSTaLLING GNAT IN Linux and UNIX f) Once the install finishes successfully, open a non-privileged terminal and run the “gnatmake –version” command: > gnatmake --version GNATMAKE 6.2.1 20160830 Copyright (C) 1995-2016, Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You should see output similar to what is displayed above. And run the gprbuild utility as well: > gprbuild --version GPRBUILD GPL 2016 (20160515) (x86_64-pc-linux-gnu) Copyright (C) 2004-2016, AdaCore This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You should see similar output. 7) gprbuild is necessary for Chapters 16 and 17. The lack of this toolset will not hinder you for the preceding chapters. 322 APPENDIX B Installing GNAT in Windows To install on Windows, follow these steps: 1) Go to the AdaCore web site where you will get the correct binaries: www.adacore.com/community 2) Click the picture with the words “GNAT Community Download.” 3) Locate the link that is just below the title “GNAT GPL Ada,” click it, and download the executable. The link will look similar to this: gnat-gpl-2017-x86-windows-bin.exe. 4) When prompted, save the executable at the place of your choosing. 5) In Windows Explorer, navigate to the location where the download is saved. 6) Double-click the file to begin the install. 7) In the window “GNAT GPL 2017,” click “Next”. 8) Click “Next” in order to accept the default destination folder. 9) Click “Next” in order to accept the default Menu Folder location. 10) Click “Install” in order to start the install. This might take some time to finish. 11) Click “Finish” when the install is done. 323 © Andrew T. Shvets 2020 A. T. Shvets, Beginning Ada Programming, https://doi.org/10.1007/978-1-4842-5428-8 APPENDIX B INSTaLLING GNAT in WindowS 12) Now, it is time to run a test. Open the command prompt. How you get to it depends on the version of Windows that you are running. If you do not know how to open this window, please consult Microsoft’s web site or search for it online. 13) Now execute the “gnatmake --version” command, and you should see the following: C:\Users\ada>gnatmake --version GNATMAKE GPL 2017 (20170515-49) Copyright (C) 1995-2017, Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you do not see the preceding data, please re-trace the install procedure and ensure that all steps were executed successfully. 14) Also, do the same for the gprbuild utility and you should see the following: C:\Users\ada>gprbuild --version GPRBUILD GPL 2017 (20170515) (i686-pc-mingw32) Copyright (C) 2004-2017, AdaCore This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you do not see the output, please re-trace the install procedure and ensure that all steps were executed successfully. gprbuild is necessary for Chapters 16 and 17. The lack of this toolset will not hinder you for the preceding chapters. 324 APPENDIX C Reserved Keywords Here is a list of words that you cannot use as a name for a package, procedure, function, or variable. These words are reserved by the compiler for its own purposes. Avoid them standalone, but feel free to use them as parts of variables, packages, and so on. abort else null select abs elsif of separate abstract end or some accept entry others subtype access exception out synchronized aliased exit overriding tagged all for package task and function pragma terminate array generic private then at goto∗ procedure type begin if protected until body in raise use case interface range when constant is record while declare limited rem with delay loop renames xor (continued) 325 © Andrew T. Shvets 2020 A. T. Shvets, Beginning Ada Programming, https://doi.org/10.1007/978-1-4842-5428-8 APPENDIX C RESErVED KEYWOrDS delta mod requeue digits new return do not reverse ∗The only “bad” keyword that is in the entire bunch. It is here because of legacy code reasons. It’s easy to start using this keyword and it easily creates some very confusing spaghetti code. Also, when you do use them as part of other names, do so where they stand out from the original keywords. This would be a poor example of a name using a keyword: arrayb However, this is a much better way of doing things: InventoryArray 326 APPENDIX D Debugging Ada Applications Many problems that you encounter in your software development adventures will be easy to figure out by simply printing out the variable name in the command line. This way, it will be immediately obvious if something is wrong and why. However, this is not always the case, and for those particular issues, a debugger is a must. The goal of this appendix is to walk you through a very simple program and view its execution in a debugger. When you are finished, you will be equipped with basic knowledge of how to use the gdb debugger and how to delve inside of your applications. All of the following commands that are shown can be executed in Windows (in a command prompt) and in a Linux or Unix operating system.
Recommended publications
  • GNAT for Cross-Platforms
    GNAT User’s Guide Supplement for Cross Platforms GNAT, The GNU Ada Compiler GNAT GPL Edition, Version 2012 Document revision level 247113 Date: 2012/03/28 AdaCore Copyright c 1995-2011, Free Software Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with the Invariant Sections being “GNU Free Documentation License”, with the Front-Cover Texts being “GNAT User’s Guide Supplement for Cross Platforms”, and with no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”. About This Guide This guide describes the use of GNAT, a compiler and software development toolset for the full Ada programming language, in a cross compilation environ- ment. It supplements the information presented in the GNAT User’s Guide. It describes the features of the compiler and tools, and details how to use them to build Ada applications that run on a target processor. GNAT implements Ada 95 and Ada 2005, and it may also be invoked in Ada 83 compatibility mode. By default, GNAT assumes Ada 2005, but you can override with a compiler switch to explicitly specify the language version. (Please refer to the section “Compiling Different Versions of Ada”, in GNAT User’s Guide, for details on these switches.) Throughout this manual, references to “Ada” without a year suffix apply to both the Ada 95 and Ada 2005 versions of the language. This guide contains some basic information about using GNAT in any cross environment, but the main body of the document is a set of Appendices on topics specific to the various target platforms.
    [Show full text]
  • SETL for Internet Data Processing
    SETL for Internet Data Processing by David Bacon A dissertation submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy Computer Science New York University January, 2000 Jacob T. Schwartz (Dissertation Advisor) c David Bacon, 1999 Permission to reproduce this work in whole or in part for non-commercial purposes is hereby granted, provided that this notice and the reference http://www.cs.nyu.edu/bacon/phd-thesis/ remain prominently attached to the copied text. Excerpts less than one PostScript page long may be quoted without the requirement to include this notice, but must attach a bibliographic citation that mentions the author’s name, the title and year of this disser- tation, and New York University. For my children ii Acknowledgments First of all, I would like to thank my advisor, Jack Schwartz, for his support and encour- agement. I am also grateful to Ed Schonberg and Robert Dewar for many interesting and helpful discussions, particularly during my early days at NYU. Terry Boult (of Lehigh University) and Richard Wallace have contributed materially to my later work on SETL through grants from the NSF and from ARPA. Finally, I am indebted to my parents, who gave me the strength and will to bring this labor of love to what I hope will be a propitious beginning. iii Preface Colin Broughton, a colleague in Edmonton, Canada, first made me aware of SETL in 1980, when he saw the heavy use I was making of associative tables in SPITBOL for data processing in a protein X-ray crystallography laboratory.
    [Show full text]
  • Automated Testing of Debian Packages
    Introduction Lintian and Linda Rebuilding packages Piuparts Structuring QA Conclusion Automated Testing of Debian Packages Holger Levsen – [email protected] Lucas Nussbaum – [email protected] Holger Levsen and Lucas Nussbaum Automated Testing of Debian Packages 1 / 31 Introduction Lintian and Linda Rebuilding packages Piuparts Structuring QA Conclusion Summary 1 Introduction 2 Lintian and Linda 3 Rebuilding packages 4 Piuparts 5 Structuring QA 6 Conclusion Holger Levsen and Lucas Nussbaum Automated Testing of Debian Packages 2 / 31 Introduction Lintian and Linda Rebuilding packages Piuparts Structuring QA Conclusion Debian’s Quality Popcon data Automated Testing Summary 1 Introduction Debian’s Quality Popcon data Automated Testing 2 Lintian and Linda 3 Rebuilding packages 4 Piuparts 5 Structuring QA 6 ConclusionHolger Levsen and Lucas Nussbaum Automated Testing of Debian Packages 3 / 31 Introduction Lintian and Linda Rebuilding packages Piuparts Structuring QA Conclusion Debian’s Quality Popcon data Automated Testing Debian’s Quality Ask around : considered quite good compared to other distros A lot of packages, all supported in the same way : 10316 source packages in etch/main 18167 binary packages in etch/main Holger Levsen and Lucas Nussbaum Automated Testing of Debian Packages 4 / 31 Introduction Lintian and Linda Rebuilding packages Piuparts Structuring QA Conclusion Debian’s Quality Popcon data Automated Testing Packages installations according to popcon 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 percentage of packages 0.2 0.1 0 0 5000 10000
    [Show full text]
  • January–June 2018 New GNAT Pro Product Lines GNAT Pro Assurance
    tech corner newsflash calendar highlights / January –June 2018 MHI Aerospace Systems Corporation For up-to-date information on conferences where AdaCore is New Product Release participating, please visit www.adacore.com/events/. AdaCore’s annual Q1 release cycle brings across-the-board enhance- new rules, with supporting qualification material available for DO-178C; Selects QGen 2 ments, many of which stem from customer suggestions. Below is a sam- GNATcoverage’s tool qualification material has been adapted to DO-178C MHI Aerospace Systems Corporation (MASC), a member of the Mitsubishi ERTS 2018 pling of new features in the V18 products; details may be found on-line and Ada 2012, and support has been introduced for Lauterbach probes; Heavy Industries Group, has selected the QGen toolset to develop the (Embedded Real Time Software and Systems) in AdaCore’s “New Features” pages: and the GNATtest unit testing framework has added several new options. software for the Throttle Quadrant Assembly (TQA) system. This avionics January 31–February 2, 2018 Inside The GNAT Programming Studio (GPS) IDE has incorporated performance Toulouse, France GNAT Pro base technology: docs.adacore.com/R/relnotes/features-18 research project is being conducted to meet the Level C objectives in the and user interface improvements, for example in the C/C++ navigation DO-178C safety standard for airborne software and its DO-331 supplement AdaCore is exhibiting at this conference, and AdaCore personnel are presenting papers on docs.adacore.com/R/relnotes/features-gps-18 software safety, avionics certification, drone autopilot software, and lightweight semantic GPS and GNATbench IDEs: engine, and GNATbench supports Eclipse 4.8 Oxygen as well as Wind on Model-Based Development and Verification.
    [Show full text]
  • GNAT User's Guide
    GNAT User's Guide GNAT, The GNU Ada Compiler For gcc version 4.7.4 (GCC) AdaCore Copyright c 1995-2009 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts and with no Back-Cover Texts. A copy of the license is included in the section entitled \GNU Free Documentation License". About This Guide 1 About This Guide This guide describes the use of GNAT, a compiler and software development toolset for the full Ada programming language. It documents the features of the compiler and tools, and explains how to use them to build Ada applications. GNAT implements Ada 95 and Ada 2005, and it may also be invoked in Ada 83 compat- ibility mode. By default, GNAT assumes Ada 2005, but you can override with a compiler switch (see Section 3.2.9 [Compiling Different Versions of Ada], page 78) to explicitly specify the language version. Throughout this manual, references to \Ada" without a year suffix apply to both the Ada 95 and Ada 2005 versions of the language. What This Guide Contains This guide contains the following chapters: • Chapter 1 [Getting Started with GNAT], page 5, describes how to get started compiling and running Ada programs with the GNAT Ada programming environment. • Chapter 2 [The GNAT Compilation Model], page 13, describes the compilation model used by GNAT. • Chapter 3 [Compiling Using gcc], page 41, describes how to compile Ada programs with gcc, the Ada compiler.
    [Show full text]
  • Alire Ada Library Repository Manager
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Repositorio Universidad de Zaragoza 189 Alire: a Library Repository Manager for the Open Source Ada Ecosystem Alejandro R. Mosteo Instituto de Investigación en Ingeniería de Aragón, Mariano Esquillor s/n, 50018, Zaragoza, Spain Centro Universitario de la Defensa de Zaragoza, 50090, Zaragoza, Spain; email: [email protected] Abstract unmaintained (a form of bit rot [3]) and incompatibilities be- tween versions of a same library, or among different libraries Open source movements are main players in today’s being used simultaneously. software landscape. Communities spring around pro- To address those problems, one of the most notable efforts in gramming languages, providing compilers, tooling and, the open source world are the different Linux distributions. chiefly, libraries built with these languages. Once a Either based on distribution of source code, like Gentoo [4], community reaches a certain critical mass, management or of binaries, like Debian [5], these communities have since of available libraries becomes a point of contention. Op- long dealt with the problem of packaging consistent systems erating system providers and distributions often support for different architectures. The difficulty of such a task is but the most significant or mature libraries so, usually, captured in the dependency or DLL hell expressions [6], and language communities develop their own cross-platform one of the most dreaded experiences is ending in a broken software management tools. Examples abound with configuration during an upgrade. languages such as Python, OCaml, Rust, Haskell and others. Programmers, however, do not all use the same distribution, nor even the same operating system, since today they can The Ada community has been an exception to date, per- resort to about half a dozen generalist operating systems.
    [Show full text]
  • Tiny Runtime to Run Model-Based Software on Cubesats
    Tiny Runtime to Run Model-Based Software on CubeSats Model Based Space Systems and Software Engineering - MBSE2020 2020 Agenda • Project background and objectives • Implementation • Kazoo code patterns • PolyORB removal • Optimizations and fixes • Validation (DemoSat) • Ada support 2020 2 BACKGROUND AND OBJECTIVES 2020 TASTE by ESA • "A tool-chain targeting heterogeneous embedded systems, using a model- based development approach" • System architecture – AADL • Data – ASN.1 (with ACN) • Behaviour – SDL (but can also be C, Ada...) • Can generate executables targeting: • x86 • SPARC (e.g. Leon3) • ARM (e.g. STM32F407) • and now MSP430 (MSP430FR5969)! • https://taste.tools and https://taste.tuxfamily.org/wiki/ 2020 4 MSP430 by Texas Instruments • General purpose, ultra-low-power, affordable, mixed-signal MCUs • Radiation hardened versions available (50krad for MSP430FR5969-SP) • Good choice for certain subsystems and CubeSats • But also challenging: • 16-bit ISA • low memory (e.g. 64 kB) • low speed (e.g. 16 MHz) • https://www.ti.com/microcontrollers/msp430-ultra-low-power-mcus/overview.html 2020 5 N7 Space • N7 Space develops both ground support and flight software • TASTE is used extensively: • PROBA3 • ASN.1/ACN Modelling IDE • PUS C deployment • ARM BSP • CoreSight • MBSE Implement • N7 Space is a member of the TASTE Steering Commitee • http://n7space.com/ 2020 6 Goal • Provide support for MSP430 in TASTE • Validate it using a realistic (CubeSat class) use-case • An (intended) by-product: various optimizations which enable targeting
    [Show full text]
  • Final Minutes of the 3. ARG Meeting Bennington, VT, USA, 7-9 October 1996
    Final Minutes of the 3. ARG Meeting Bennington, VT, USA, 7-9 October 1996 Attendance: Barnes, Cohen, Dewar, Dismukes, Duff, Eachus, Ishihata, Kamrad, Leroy, Michell, Ploedereder, Schonberg (for days 1 & 2). Host facilities were graciously supplied by Robert Dewar and ACT. The ARG expressed its appreciation. These minutes first summarize the voting results on the AIs that were discussed, then present all procedural issues that came up during the meeting and the action items assigned. The record of the detailed discussions on AIs is appended in AI order for easier reference. This order does not correspond to the chronological order in which the AIs were discussed. Summary of the action taken on the AIs: Approved in final form (some with minor editorial changes): AI95-00004/02 -- Conversions to types derived from remote access types Approved (12-0-0) AI95-00031/00 -- Unpacking a record type with primitive subprograms Approved (11-0-0) AI95-00035/01 -- Type descriptors can be laid out at compile time Approved (12-0-0) AI95-00037/04 -- In Interfaces.C, nul and wide_nul represent zero Approved (12-0-0) AI95-00040/02 -- Does <> for a formal subprogram default freeze the actual ? Approved (11-0-1) with change to title AI95-00041/04 -- Program unit pragmas in generic units Approved (12-0-0) AI95-00044/01 -- Overriding of Declarations Approved (11-1-0) with change to title AI95-00048/04 -- Can an RCI unit be a library subprogram? Approved (12-0-0) with change to title AI95-00071/01 -- Correction to the Valid function in COBOL Interface Approved
    [Show full text]
  • GNAT User's Guide for Native Platforms
    GNAT User’s Guide for Native Platforms Release 23.0w AdaCore Sep 29, 2021 GNAT User’s Guide for Native Platforms 23.0w This page is intentionally left blank. 2 of 332 GNAT User’s Guide for Native Platforms GNAT User’s Guide for Native Platforms 23.0w GNAT, The GNU Ada Development Environment GNAT Pro Edition Version 23.0w Date: Sep 29, 2021 AdaCore Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with the Front-Cover Texts being “GNAT Reference Manual”, and with no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License. GNAT User’s Guide for Native Platforms 3 of 332 GNAT User’s Guide for Native Platforms 23.0w This page is intentionally left blank. 4 of 332 GNAT User’s Guide for Native Platforms GNAT User’s Guide for Native Platforms 23.0w CONTENTS 1 About This Guide 13 1.1 What This Guide Contains........................................ 13 1.2 What You Should Know before Reading This Guide........................... 14 1.3 Related Information............................................ 14 1.4 Conventions................................................ 14 2 Getting Started with GNAT 15 2.1 System Requirements........................................... 15 2.2 Running GNAT.............................................. 15 2.3 Running a Simple Ada Program..................................... 16 2.4 Running a Program with Multiple Units................................. 17 3 The GNAT Compilation Model 19 3.1 Source Representation.......................................... 19 3.2 Foreign Language Representation.................................... 20 3.2.1 Latin-1.............................................
    [Show full text]
  • Ada User Journal 66 Editorial 67 Quarterly News Digest 69 Conference Calendar 97 Forthcoming Events 103 Articles from the Industrial Track of Ada-Europe 2011 R
    ADA Volume 32 USER Number 2 June 2011 JOURNAL Contents Page Editorial Policy for Ada User Journal 66 Editorial 67 Quarterly News Digest 69 Conference Calendar 97 Forthcoming Events 103 Articles from the Industrial Track of Ada-Europe 2011 R. Bridges, F. Dordowsky, H. Tschöpe “Implementing a Software Product Line for a complex Avionics System in Ada 83” 107 Ada Gems 116 Ada-Europe Associate Members (National Ada Organizations) 128 Ada-Europe 2011 Sponsors Inside Back Cover Ada User Journal Volume 32, Number 2, June 2011 66 Editorial Policy for Ada User Journal Publication Original Papers Commentaries Ada User Journal — The Journal for Manuscripts should be submitted in We publish commentaries on Ada and the international Ada Community — is accordance with the submission software engineering topics. These published by Ada-Europe. It appears guidelines (below). may represent the views either of four times a year, on the last days of individuals or of organisations. Such March, June, September and All original technical contributions are articles can be of any length – December. Copy date is the last day of submitted to refereeing by at least two inclusion is at the discretion of the the month of publication. people. Names of referees will be kept Editor. confidential, but their comments will Opinions expressed within the Ada Aims be relayed to the authors at the discretion of the Editor. User Journal do not necessarily Ada User Journal aims to inform represent the views of the Editor, Ada- readers of developments in the Ada The first named author will receive a Europe or its directors.
    [Show full text]
  • GNAT User's Guide for Native Platforms
    GNAT User's Guide for Native Platforms GNAT User's Guide for Native Platforms , Dec 05, 2018 AdaCore Copyright c 2008-2019, Free Software Foundation i Table of Contents 1 About This Guide :::::::::::::::::::::::::::::: 2 1.1 What This Guide Contains ::::::::::::::::::::::::::::::::::::: 2 1.2 What You Should Know before Reading This Guide :::::::::::: 2 1.3 Related Information :::::::::::::::::::::::::::::::::::::::::::: 3 1.4 A Note to Readers of Previous Versions of the Manual :::::::::: 3 1.5 Conventions:::::::::::::::::::::::::::::::::::::::::::::::::::: 4 2 Getting Started with GNAT ::::::::::::::::::: 5 2.1 Running GNAT :::::::::::::::::::::::::::::::::::::::::::::::: 5 2.2 Running a Simple Ada Program :::::::::::::::::::::::::::::::: 5 2.3 Running a Program with Multiple Units :::::::::::::::::::::::: 6 2.4 Using the gnatmake Utility ::::::::::::::::::::::::::::::::::::: 7 3 The GNAT Compilation Model ::::::::::::::: 9 3.1 Source Representation:::::::::::::::::::::::::::::::::::::::::: 9 3.2 Foreign Language Representation:::::::::::::::::::::::::::::: 10 3.2.1 Latin-1::::::::::::::::::::::::::::::::::::::::::::::::::: 10 3.2.2 Other 8-Bit Codes:::::::::::::::::::::::::::::::::::::::: 10 3.2.3 Wide Character Encodings ::::::::::::::::::::::::::::::: 11 3.2.4 Wide Wide Character Encodings ::::::::::::::::::::::::: 12 3.3 File Naming Topics and Utilities :::::::::::::::::::::::::::::: 13 3.3.1 File Naming Rules ::::::::::::::::::::::::::::::::::::::: 13 3.3.2 Using Other File Names :::::::::::::::::::::::::::::::::: 14 3.3.3 Alternative
    [Show full text]
  • Stevesn Indicator Spring-Summer 2021
    34 MILE SQUARE CITY YESTERDAY AND TODAY DEPARTMENTS A walk through Hoboken in photos 36-46 COMMUNITY FRONTIERS 2 PRESIDENT’S LETTER 37 DUCK DATA: STEVENS ALUMNI IN BRIEF 3 LETTER FROM THE EDITORS Vital statistics and interesting facts about 74 CAMPAIGN STORY our graduates 76 ALUMNI NEWS/CLASS LOGS 38 ACES HELPS LEVEL THE PLAYING FIELD 77 SAA PRESIDENT’S LETTER Underrepresented minorities with STEM talent find support at Stevens 95 VITALS 40 SATURDAYS AT STEVENS Art Harper Saturday Academy introduces high school students to a world of possibilities in STEM FEATURES 42 A STEP CONVERSATION 4 150 YEARS OF EXPLORING NEW FRONTIERS Two generations share memories from the In this special anniversary issue, we celebrate esteemed, long-standing program frontiers explored by the Stevens community 44 FIRST-CLASS WOMEN 6 STEVENS THROUGH THE YEARS Stevens’ first female undergraduates reflect Highlights from the first 150 years of Stevens history on arriving at Castle Point 50 years ago 12-23 PERSONAL FRONTIERS 47-60 INNOVATION FRONTIERS 13 JAMES BRAXTON ’37 HON. D.ENG. ’87 48 12 STEVENS INNOVATORS AND GAME CHANGERS Building a more equitable world through Alumni who have made a lasting impact through affordable housing systems extraordinary careers 16 SHARING THEIR WORDS OF WISDOM 50 STALKING THE ‘GHOST PARTICLE’ Advice and insights from beloved Stevens The revolutionary work of Nobel Prize winner faculty and staff Frederick Reines ’39 M.S. ’41 Hon. D.Eng. ’84 18 CLOSE UP WITH AIMI SELA ’04 52 THE SCIENCE OF FINANCE Her journey from foster child to
    [Show full text]