comp.lang.ada
 help / color / mirror / Atom feed
From: "Gerd" <GerdM.O@t-online.de>
Subject: Re: Enumeration type - GNAT 3.15p bug?
Date: 28 Aug 2006 06:54:39 -0700
Date: 2006-08-28T06:54:39-07:00	[thread overview]
Message-ID: <1156773279.708849.196800@m73g2000cwd.googlegroups.com> (raw)
In-Reply-To: <44e82ae1$1_3@news.bluewin.ch>


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




  reply	other threads:[~2006-08-28 13:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-17 11:49 Enumeration type - GNAT 3.15p bug? Gerd
2006-08-17 12:03 ` Georg Bauhaus
2006-08-17 13:19   ` Gerd
2006-08-17 18:15     ` Jeffrey R. Carter
2006-08-17 12:46 ` Dmitry A. Kazakov
2006-08-17 13:42   ` Gerd
2006-08-17 18:11     ` Jeffrey R. Carter
2006-08-17 18:34 ` Gautier
2006-08-17 18:37 ` Gautier
2006-08-18  8:25   ` Gerd
2006-08-19  2:53     ` Gautier
2006-08-19 20:50       ` Gerd
2006-08-20  9:27         ` Gautier
2006-08-28 13:54           ` Gerd [this message]
2006-08-29  1:17             ` Gautier
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox