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,8332ddd3efd0a65 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Sun, 20 Aug 2006 11:27:17 +0200 From: Gautier User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Enumeration type - GNAT 3.15p bug? 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> In-Reply-To: <1156020655.440196.80620@i3g2000cwc.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 85.1.159.189 X-Original-NNTP-Posting-Host: 85.1.159.189 Message-ID: <44e82ae1$1_3@news.bluewin.ch> X-Trace: news.bluewin.ch 1156066017 85.1.159.189 (20 Aug 2006 11:26:57 +0200) Organization: Bluewin AG Complaints-To: abuse@bluewin.ch X-Original-NNTP-Posting-Host: 127.0.0.1 Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!164.128.36.58!news.ip-plus.net!newsfeed.ip-plus.net!news.bluewin.ch!not-for-mail Xref: g2news2.google.com comp.lang.ada:6276 Date: 2006-08-20T11:27:17+02:00 List-Id: Gerd: > I've found some more details. > > 1. Create a new directory. > 2. Copy the source into. > 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. Possible, given the above... HTH, Gautier _______________________________________________________________ Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!