This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: rs6000 3.1 Ada bootstrap problem
- From: Laurent Guerby <guerby at acm dot org>
- To: Geert Bosch <bosch at gnat dot com>
- Cc: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>, dje at watson dot ibm dot com, gcc at gcc dot gnu dot org
- Date: Mon, 18 Mar 2002 19:16:57 +0100
- Subject: Re: rs6000 3.1 Ada bootstrap problem
- References: <EAC673A1-3A77-11D6-A481-00039344BF4A@gnat.com>
Geert Bosch wrote:
>
> On Friday, March 15, 2002, at 05:16 , Laurent Guerby wrote:
>
>> A solution to this would be to have the library build process
>> generate a file with all target constants known in a
>> package like GNAT.Target_Parameters which would
>> look like Get_Targ of the compiler but with Pure and no dependencies.
>
>
> This package should not be called GNAT.*, as the run-time library
> should not assume the presence of a GNAT library level package.
> This is a namespace issue. Yes, I know there are a few violations
> of that rule now, but these should eventually go and no new ones
> should be added.
No run-time library source would depend on GNAT.Target_Parameters,
this is for user code only, to provide named constants
of interesting target values.
Reusing an already existing GNAT specific system package would be fine too,
but we have to be aware of not adding unexpected build
problems as GNAT tends to depend on what is in those
packages. System.Parameters has already target specific
versions, adding build process generated stuff there could be a maintenance
problem (plus it has some code in its body),
so it might be better to create a new package with
user friendly constant names and no conflict
with the existing run-time.
--
Laurent Guerby <guerby@acm.org>