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,6e10dbd84b94a267 X-Google-Attributes: gid103376,public From: mfeldman@seas.gwu.edu (Michael Feldman) Subject: Re: GNAT Compilation Problems Date: 1996/10/11 Message-ID: <53mbh0$17f@felix.seas.gwu.edu>#1/1 X-Deja-AN: 188888067 references: <51u63c$80c@netty.york.ac.uk> <325AE88C.BC7@empire.net> organization: George Washington University newsgroups: comp.lang.ada Date: 1996-10-11T00:00:00+00:00 List-Id: In article , Robert Dewar wrote: >This is very bad advice, as you will find out from reading gnatinfo.txt, >the proper way to compile programs using GNAT from the DOS prompt or >anywhere else is to use gnatmake. There is very seldom a reason for typing >in a gcc command. I agree with Robert here in general. OTOH, for beginners who have started out with GNAT-DOS using the ez2load package, we provide some simplified commands (gcompile/glink/gexecute) that behave consistenly with the AdaCAPS editor. For example, gcompile produces a listing file but, more important, they compile and link so that our special backtrace stuff works. In this case, the answer for the student is gcompile foo.adb glink foo.ali gexecute foo.exe This is documented in the ez2load documentation. Our Solaris scripts work the same way. Robert, I think you may even be using those scripts in your course at NYU.:-) Mike Feldman