From: "Jean-Pierre Rosen" <rosen@adalog.fr>
Subject: Re: Problem with GNAT option "-gnatt" (adt tree)
Date: Mon, 10 Jun 2002 12:14:02 +0200
Date: 2002-06-10T12:14:02+02:00 [thread overview]
Message-ID: <ae1u43$dbj$1@s1.read.news.oleane.net> (raw)
In-Reply-To: a8f8b166.0206092236.e995d99@posting.google.com
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 811 bytes --]
"Alain FONTAINE" <dev-abf@wanadoo.fr> a �crit dans le message news: > Example:
> D:\dev\ada\adabrowse_2.01\de>gcc -c -gnatc -gnatt -gnatQ -gnatq -I.. f1.ads
>
> D:\dev\ada\adabrowse_2.01\de>gcc -c -gnatc -gnatt -gnatQ -gnatq -I.. f2.ADS
> gcc: f2.ADS: linker input file unused since linking not done
>
gcc recognizes which language to use according to the extension. However, anything not recognized as a language is passed to the
linker. ".ads" is an extension for Ada, but not ".ADS". Therefore it should be passed to the linker, but since there is a -c option,
linking is not done and gcc has nothing do to with f2.ADS. QED (french version: CQFD :-).
--
---------------------------------------------------------
J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr
prev parent reply other threads:[~2002-06-10 10:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-10 6:36 Problem with GNAT option "-gnatt" (adt tree) Alain FONTAINE
2002-06-10 10:14 ` Jean-Pierre Rosen [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox