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,23a17bbd96d53327 X-Google-Attributes: gid103376,public From: dewar@gnat.com Subject: Re: Assembler in Ada? Date: 1999/01/24 Message-ID: <78fv79$7mj$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 436389501 References: <369C5E08.69727537@mbox5.swipnet.se> <78a32f$dbr$1@remarQ.com> X-Http-Proxy: 1.0 x3.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Sun Jan 24 20:18:56 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-01-24T00:00:00+00:00 List-Id: In article <78a32f$dbr$1@remarQ.com>, "news.oxy.com" wrote: > If you open GNAT ref. Manual at the Machine Code > Insertion you will find that just from the second > paragraph ACT suggest you to go far away - to the > "Using and Porting GNU CC" which is not included in the > documentation that > comes with GNAT. "Happy" GNAT users! (especially new > ones). They want to > know how to use Assembler with GNAT but they are > suggested to learn how to > use and port GCC. Moreover they are even directed where > to find this manual. We definitely try NOT to duplicate documentation of this type that is available in the gcc manual. There are for example dozens of switches described in the gcc manual that are of course relevant for GNAT, but we do not duplicate the description in the GNAT manual. The only time we duplicate information in the GCC manual (which serious GNAT users should have a copy of) is for commonly used features. We do not consider assembly language insertions to be in this category. In addition, this feature in GNAT is powerful but you really need to understand quite a bit about it to use it on a given machine, and the understanding comes from the gcc manual. And yes, to use GNAT at this level, you definitely need to learn how to use gcc (though not necessarily to port it!) It would be possible to give more examples, but they would probably not be as illuminating as you think, because they would give a very limited view of what is in fact a very powerful facility. Robert Dewar Ada Core Technologies -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own