public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* RE : [Ada]: failure to build on Mandrake 8.1 / x86
@ 2001-10-11  4:00 Jérome HAGUET
  2001-10-11  4:50 ` Geert Bosch
  0 siblings, 1 reply; 4+ messages in thread
From: Jérome HAGUET @ 2001-10-11  4:00 UTC (permalink / raw)
  To: 'gcc@gcc.gnu.org'; +Cc: 'guerby@acm.org'

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

Same problem on a Red Hat 7 + GCC 2.96 20000731 + ALT GNAT 3.13p

Additionnal information, if you suppress the -gnatg option you get :
...
make[3]: Entre dans le répertoire
`/mnt/disk2/lune/big_files/jerome/gcc/gcc/ada'
stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnu/bin/ -c -g -O2   -W
-Wall -gnatp -gnata -I- -I. -I. ada.ads
ada.ads:18:01: language defined units may not be recompiled
make[3]: *** [ada.o] Erreur 1
...


Maybe this will make it easier to understand for some people.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RE : [Ada]: failure to build on Mandrake 8.1 / x86
  2001-10-11  4:00 RE : [Ada]: failure to build on Mandrake 8.1 / x86 Jérome HAGUET
@ 2001-10-11  4:50 ` Geert Bosch
  0 siblings, 0 replies; 4+ messages in thread
From: Geert Bosch @ 2001-10-11  4:50 UTC (permalink / raw)
  To: Jérome HAGUET
  Cc: 'gcc@gcc.gnu.org', 'guerby@acm.org'

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

On Thu, 11 Oct 2001, [iso-8859-1] Jérome HAGUET wrote:

  Same problem on a Red Hat 7 + GCC 2.96 20000731 + ALT GNAT 3.13p
  
  Additionnal information, if you suppress the -gnatg option you get :
  ...
  make[3]: Entre dans le répertoire
  `/mnt/disk2/lune/big_files/jerome/gcc/gcc/ada'
  stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnu/bin/ -c -g -O2   -W
  -Wall -gnatp -gnata -I- -I. -I. ada.ads
  ada.ads:18:01: language defined units may not be recompiled

This error message is expected and entirely correct:
  -gnatg    GNAT implementation mode (used for compiling GNAT units)

It is a requirement of the Ada language to prevent users from redefining
language-defined units.

  -Geert

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RE : [Ada]: failure to build on Mandrake 8.1 / x86
  2001-10-12  5:18 dewar
@ 2001-10-12  5:24 ` Florian Weimer
  0 siblings, 0 replies; 4+ messages in thread
From: Florian Weimer @ 2001-10-12  5:24 UTC (permalink / raw)
  To: dewar; +Cc: gcc, j.haguet, guerby

dewar@gnat.com writes:

> I am coming into this thread in the middle (I am on a very slow line with
> over a thousand unread messages), so if this is a confusing answer, sorry.
> 
> This message is expected, the Ada standard does not allow units like
> Ada to be recompiled by a user. To implement this requirement of the
> standard, we require a special "implementor" switch -gnatg for such
> recompilations.

And if the "-gnatg" option is not specified, the compiler detects this
error and stops *before* code generation.  That's why the bug is not
triggered if the option is omitted.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RE : [Ada]: failure to build on Mandrake 8.1 / x86
@ 2001-10-12  5:18 dewar
  2001-10-12  5:24 ` Florian Weimer
  0 siblings, 1 reply; 4+ messages in thread
From: dewar @ 2001-10-12  5:18 UTC (permalink / raw)
  To: gcc, j.haguet; +Cc: guerby

<<make[3]: Entre dans le r=E9pertoire
`/mnt/disk2/lune/big_files/jerome/gcc/gcc/ada'
stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnu/bin/ -c -g -O2   -=
W
-Wall -gnatp -gnata -I- -I. -I. ada.ads
ada.ads:18:01: language defined units may not be recompiled
make[3]: *** [ada.o] Erreur 1
>>

I am coming into this thread in the middle (I am on a very slow line with
over a thousand unread messages), so if this is a confusing answer, sorry.

This message is expected, the Ada standard does not allow units like
Ada to be recompiled by a user. To implement this requirement of the
standard, we require a special "implementor" switch -gnatg for such
recompilations.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-10-12  5:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-11  4:00 RE : [Ada]: failure to build on Mandrake 8.1 / x86 Jérome HAGUET
2001-10-11  4:50 ` Geert Bosch
2001-10-12  5:18 dewar
2001-10-12  5:24 ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).