comp.lang.ada
 help / color / mirror / Atom feed
* Easy Beginner Question
@ 1997-11-18  0:00 Nathan Dietsch
  1997-11-18  0:00 ` Robert Dewar
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Nathan Dietsch @ 1997-11-18  0:00 UTC (permalink / raw)



Hello,

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.

I have tried the WebAda compile but I want to do it on my own system at
my own time, ie not connected to the net.

Sorry to post such a simple question, but any help would be appreciated.

Regards

Nathan Dietsch

--
=======================================================
Nathan "Volsung" Dietsch
Charles Sturt University

ndiets01@postoffice.csu.edu.au
http://golum.riv.csu.edu.au/~ndiets01

02 6933 3605
=======================================================
- Member of the Alternative Operating System
  Users Group.
  http://golum.riv.csu.edu.au/~ndiets01/aos/

- Member of the Microsoft Boycott Campaign
  http://www.abctec.com/~msbc/

- Editor in Chief of Knights of the System Table
  http://www.linuxmall.com/knights/
=======================================================






^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Easy Beginner Question
@ 1997-11-19  0:00 Marin David Condic, 561.796.8997, M/S 731-96
       [not found] ` <651gq6$lbk$1@srv1.drenet.dnd.ca>
  0 siblings, 1 reply; 6+ messages in thread
From: Marin David Condic, 561.796.8997, M/S 731-96 @ 1997-11-19  0:00 UTC (permalink / 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
===============================================================================




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1997-11-20  0:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-18  0:00 Easy Beginner Question Nathan Dietsch
1997-11-18  0:00 ` Robert Dewar
1997-11-18  0:00 ` Tom Moran
1997-11-19  0:00 ` Richard Johnson
  -- strict thread matches above, loose matches on Subject: below --
1997-11-19  0:00 Marin David Condic, 561.796.8997, M/S 731-96
     [not found] ` <651gq6$lbk$1@srv1.drenet.dnd.ca>
1997-11-20  0:00   ` Stanley R. Allen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox