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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6e10dbd84b94a267 X-Google-Attributes: gid103376,public From: Gandalf Subject: Re: GNAT Compilation Problems Date: 1996/10/08 Message-ID: <325AE88C.BC7@empire.net>#1/1 X-Deja-AN: 188162320 references: <51u63c$80c@netty.york.ac.uk> <52skmb$j8@cronkite.seas.gwu.edu> content-type: text/plain; charset=us-ascii organization: Middle Earth mime-version: 1.0 reply-to: Gandalf@empire.net newsgroups: comp.lang.ada x-mailer: Mozilla 3.0 (Win95; I) Date: 1996-10-08T00:00:00+00:00 List-Id: Robert Dewar wrote: > > Kevin asked > > "What's the command to compile Ada programs from dos prompt with the gnat?" > > Kevin, if you are using gnat, you must read gnatinfo.txt, which answers > this and many other relevant questions. While Robert is correct that gnatinfo.txt has some great information, the command lines for compilation using gnat for DO$ is gcc -c 'your_file_name_goes_here' There are a miriad of other switches with which you can compile, best to read the referenced readin material to get a grasp onn them all. To link your Ada program, you'll need to type gnatbl 'filename' where 'filename' should be substituted with the name of your main program. Again there are some switches you can use which are outlined in the reference reading material. Good luck, read the group often for more useful information!