From: "Marin David Condic, 561.796.8997, M/S 731-96" <condicma@PWFL.COM>
Subject: Re: Easy Beginner Question
Date: 1997/11/19
Date: 1997-11-19T00:00:00+00:00 [thread overview]
Message-ID: <97111910005320@psavax.pwfl.com> (raw)
Nathan Dietsch <ndiets01@POSTOFFICE.CSU.EDU.AU> 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
===============================================================================
next reply other threads:[~1997-11-19 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-11-19 0:00 Marin David Condic, 561.796.8997, M/S 731-96 [this message]
[not found] ` <651gq6$lbk$1@srv1.drenet.dnd.ca>
1997-11-20 0:00 ` Easy Beginner Question Stanley R. Allen
-- strict thread matches above, loose matches on Subject: below --
1997-11-18 0:00 Nathan Dietsch
1997-11-18 0:00 ` Robert Dewar
1997-11-18 0:00 ` Tom Moran
1997-11-19 0:00 ` Richard Johnson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox