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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b0dc2afa3347597f X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.8.229 with SMTP id u5mr1918381pba.0.1316701819719; Thu, 22 Sep 2011 07:30:19 -0700 (PDT) Path: lh7ni2596pbb.0!nntp.google.com!news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: AdaTutor Compilation with GNAT Date: Thu, 22 Sep 2011 10:30:17 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <9dvmg1Fu13U1@mid.individual.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1316701817 16901 192.74.137.71 (22 Sep 2011 14:30:17 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 22 Sep 2011 14:30:17 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:EBunADTFOg2eSlxnE9eacJFlNCo= Xref: news1.google.com comp.lang.ada:18095 Content-Type: text/plain; charset=us-ascii Date: 2011-09-22T10:30:17-04:00 List-Id: Jeffrey Carter writes: > This is correct: GNAT requires one compilation unit per file. Try using > gnatchop to break the files into something that GNAT can handle. There are ways to make GNAT accept more than one comp unit per file. Consult the docs if you really want to do that. But gnatchop is really the simplest way to go. - Bob