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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8332ddd3efd0a65 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!m73g2000cwd.googlegroups.com!not-for-mail From: "Gerd" Newsgroups: comp.lang.ada Subject: Re: Enumeration type - GNAT 3.15p bug? Date: 28 Aug 2006 06:54:39 -0700 Organization: http://groups.google.com Message-ID: <1156773279.708849.196800@m73g2000cwd.googlegroups.com> References: <1155815395.237631.224930@m79g2000cwm.googlegroups.com> <44e4b74a$1_6@news.bluewin.ch> <1155889518.397485.193340@h48g2000cwc.googlegroups.com> <44e67d1a$1_2@news.bluewin.ch> <1156020655.440196.80620@i3g2000cwc.googlegroups.com> <44e82ae1$1_3@news.bluewin.ch> NNTP-Posting-Host: 62.159.113.204 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1156773286 19438 127.0.0.1 (28 Aug 2006 13:54:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 28 Aug 2006 13:54:46 +0000 (UTC) In-Reply-To: <44e82ae1$1_3@news.bluewin.ch> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: m73g2000cwd.googlegroups.com; posting-host=62.159.113.204; posting-account=_FaVAg0AAAAYUPoPAQYNRFF35JBHf9i7 Xref: g2news2.google.com comp.lang.ada:6419 Date: 2006-08-28T06:54:39-07:00 List-Id: Gautier schrieb: > > 3. Start AdaGIDE, select "Project settings", write -S (for assembly > > listing) into "Compiler options". > > OK, now I have the explanation... The "-S" option means STOP: > > -S > Stop after the stage of compilation proper; do not assemble. The > output is in the form of an assembler code file for each non-assembler > input file specified. > > -> http://gcc.gnu.org/onlinedocs/gcc/Overall-Options.html > > > 4. Press F3. The program will fail to link: "undefined reference to > > _ada_jenumxa". > > That's normal, jenumxa.s is produced, not jenumxa.o > > > If you remove the -S from the options it works. Add the -S again, and > > you will get many different misbehaviours from now on. OK, you're right. Removing the -S did it. Nevertheless I would expect that either AdaGIDE or gnatmake (or someone else) *stop* after compile instead of running the linker although GNAT didn't generate code. Otherwise it's confusing. Gerd