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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,8378f2fce54feff4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-10 03:15:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!news-lei1.dfn.de!news-fra1.dfn.de!newsfeed.hanau.net!fr.clara.net!heighliner.fr.clara.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Problem with GNAT option "-gnatt" (adt tree) Date: Mon, 10 Jun 2002 12:14:02 +0200 Organization: Adalog Message-ID: References: NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1023704004 13683 195.25.228.57 (10 Jun 2002 10:13:24 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 10 Jun 2002 10:13:24 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Xref: archiver1.google.com comp.lang.ada:25656 Date: 2002-06-10T12:14:02+02:00 List-Id: "Alain FONTAINE" a �crit dans le message news: > Example: > D:\dev\ada\adabrowse_2.01\de>gcc -c -gnatc -gnatt -gnatQ -gnatq -I.. f1.ads > > D:\dev\ada\adabrowse_2.01\de>gcc -c -gnatc -gnatt -gnatQ -gnatq -I.. f2.ADS > gcc: f2.ADS: linker input file unused since linking not done > gcc recognizes which language to use according to the extension. However, anything not recognized as a language is passed to the linker. ".ads" is an extension for Ada, but not ".ADS". Therefore it should be passed to the linker, but since there is a -c option, linking is not done and gcc has nothing do to with f2.ADS. QED (french version: CQFD :-). -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr