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=0.6 required=5.0 tests=BAYES_20,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: rjohnson@magi.com (Richard Johnson) Subject: Re: Easy Beginner Question Date: 1997/11/19 Message-ID: <64vfq9$oj3$1@srv1.drenet.dnd.ca>#1/1 X-Deja-AN: 290821793 References: <3471626E.3F426877@postoffice.csu.edu.au> X-Complaints-To: usenet@srv1.drenet.dnd.ca X-Trace: srv1.drenet.dnd.ca 879968905 25187 (None) 131.136.202.172 Organization: Secret Newsgroups: comp.lang.ada Date: 1997-11-19T00:00:00+00:00 List-Id: In article <3471626E.3F426877@postoffice.csu.edu.au>, ndiets01@postoffice.csu.edu.au says... > >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/ >======================================================= > > If you are using gnat 3.x, try "gcc -c myfile.adb" to compile to an object file myfile.o or "gnatmake myfile" (if it is a top level procedure for an exectuteable, myfile.exe) or "gcc -c -gnatbl myfile.adb > myfile.lsb" for a listing file saved in myfile.lsb Cheers Rick Johnson