From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6116e862f283e98c X-Google-Attributes: gid103376,public From: "Marin David Condic, 561.796.8997, M/S 731-96" Subject: Re: Easy Beginner Question Date: 1997/11/19 Message-ID: <97111910005320@psavax.pwfl.com>#1/1 X-Deja-AN: 290857495 Sender: Ada programming language Comments: To: ndiets01@postoffice.csu.edu.au X-VMS-To: SMTP%"INFO-ADA@VM1.NODAK.EDU" X-VMS-Cc: SMTP%"ndiets01@POSTOFFICE.CSU.EDU.AU",CONDIC Newsgroups: comp.lang.ada Date: 1997-11-19T00:00:00+00:00 List-Id: Nathan Dietsch writes: >I just got the Ada compiler for Linux yesterday. I have a very simple >wuestion, please don't flame. I have looked through the Web to find info >for this question. What is the comand to compile and Ada program. > One of the things that will help when posting questions about compiler specifics is to indicate which compiler you are using, the version number, host machine, OS, etc., since things can vary considerably from one implementation to another. There is not just one Ada compiler in the world and all compilers have some variances from each other in how they are invoked, user specifiable options and so on. Working on the possibly unwarranted assumption that you are using the GNAT Ada compiler, the customary way of compiling a program is with the command: gnatmake program_name For example, if you have a main program in a file called "main.adb" the way to compile it is: gnatmake main If the compiler you are using is GNAT, you should be able to find the GNAT Users Guide with the distribution or downloadable from the same place you got the compiler. It's worth the effort to go through this guide because there are lots of useful switches you will find in there. MDC Marin David Condic, Senior Computer Engineer Voice: 561.796.8997 Pratt & Whitney GESP, M/S 731-96, P.O.B. 109600 Fax: 561.796.4669 West Palm Beach, FL, 33410-9600 Internet: CONDICMA@PWFL.COM =============================================================================== "Some people say a front-engine car handles best. Some people say a rear-engine car handles best. I say a rented car handles best." -- P. J. O'Rourke ===============================================================================