comp.lang.ada
 help / color / mirror / Atom feed
From: anon@anon.org (anon)
Subject: Re: GNAT - System.ads - System Implementation Parameters
Date: Fri, 15 Feb 2008 06:34:00 GMT
Date: 2008-02-15T06:34:00+00:00	[thread overview]
Message-ID: <snatj.226521$MJ6.145834@bgtnsc05-news.ops.worldnet.att.net> (raw)
In-Reply-To: 74711a57-e7f2-4a11-90bc-865a3fd07d5d@z17g2000hsg.googlegroups.com

Gnat uses the "System Implementation Parameters" as a Initialization 
file that the user can alter without recompiling the compiler. It 
one reason that the file "System.ads" must be in the RTS search 
path.  If you move or alter those parameter list too much the compiler 
will not work. 

That is, the GNAT compiler first reads in the command line, then calls 
the "Targparm.Get_Target_Parameters" to find a load "System.ads" and 
process those Boolean flags. Then the compile continue with compiling 
the source code.
 

There is no documentation on these Boolean flags because they are use 
by Adacore (GNAT creators) in house. Also some are slowly be removed 
while others are becoming non-operational.

In <74711a57-e7f2-4a11-90bc-865a3fd07d5d@z17g2000hsg.googlegroups.com>, Hibou57 <yannick_duchene@yahoo.fr> writes:
>Hola, Hello, Salam lik,
>
>In the GNAT standard librarie source code, one may see in the "System"
>package specification (system.ads), a section commented as "System
>Implementation Parameters".
>
>Here is what it contains :
>
>>   --------------------------------------
>>   -- System Implementation Parameters --
>>   --------------------------------------
>>
>>   --  These parameters provide information about the target that is used
>>   --  by the compiler. They are in the private part of System, where they
>>   --  can be accessed using the special circuitry in the Targparm unit
>>   --  whose source should be consulted for more detailed descriptions
>>   --  of the individual switch values.
>>
>>   AAMP                      : constant Boolean := False;
>>   Backend_Divide_Checks     : constant Boolean := False;
>>   Backend_Overflow_Checks   : constant Boolean := False;
>>   Command_Line_Args         : constant Boolean := True;
>>   Configurable_Run_Time     : constant Boolean := True;
>>   Denorm                    : constant Boolean := True;
>>   Duration_32_Bits          : constant Boolean := False;
>>   Exit_Status_Supported     : constant Boolean := True;
>>   Fractional_Fixed_Ops      : constant Boolean := False;
>>   Frontend_Layout           : constant Boolean := False;
>>   Functions_Return_By_DSP   : constant Boolean := False;
>>   Machine_Overflows         : constant Boolean := False;
>>   Machine_Rounds            : constant Boolean := True;
>>   OpenVMS                   : constant Boolean := False;
>>   Signed_Zeros              : constant Boolean := True;
>>   Stack_Check_Default       : constant Boolean := False;
>>   Stack_Check_Probes        : constant Boolean := False;
>>   Support_64_Bit_Divides    : constant Boolean := True;
>>   Support_Aggregates        : constant Boolean := True;
>>   Support_Composite_Assign  : constant Boolean := True;
>>   Support_Composite_Compare : constant Boolean := True;
>>   Support_Long_Shifts       : constant Boolean := True;
>>   Suppress_Standard_Library : constant Boolean := True;
>>   Use_Ada_Main_Program_Name : constant Boolean := False;
>>   ZCX_By_Default            : constant Boolean := False;
>>   GCC_ZCX_Support           : constant Boolean := False;
>>   Front_End_ZCX_Support     : constant Boolean := False;
>
>Unfortinately, I was not able to found any formal documentation about
>the meaning of each of this parameter. I may guess some meanings, but
>I do not want to guess, I rather want to be sure.
>
>I've found one the web some mailing list where people try to guess and
>play with it, but without beeing sure of anything (not better than
>me). By the way, there seems to be some interesting project of OS
>kernels written in Ada ;) Good! (good idea to use Ada for this kind of
>stuff... certainly better than C).
>
>I would like, if some people know, to have some suggestions to get
>formal documentations about those parameters.
>
>I think this may be an interresting subject, not solely for me ;)
>
>Thanks to all boys and girls around here :)
>
>Read you soon...
>
>Yannick




  parent reply	other threads:[~2008-02-15  6:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-14 21:15 GNAT - System.ads - System Implementation Parameters Hibou57
2008-02-14 22:27 ` Jeffrey R. Carter
2008-02-14 23:43   ` Hibou57
2008-02-15  0:22     ` Robert A Duff
2008-02-15  0:09 ` Robert A Duff
2008-02-15  6:34 ` anon [this message]
2008-02-15 10:51   ` Georg Bauhaus
2008-02-17  8:57   ` Lucretia
2008-02-17  9:11     ` Ludovic Brenta
2008-02-17  9:38       ` Lucretia
2008-02-20 19:34         ` Ludovic Brenta
2008-02-17 23:00       ` Hibou57
2008-02-17 23:33         ` Ludovic Brenta
2008-02-17 23:40           ` Ludovic Brenta
2008-02-18  2:03           ` Hibou57
2008-02-18  7:26             ` Martin Krischik
2008-02-18  9:31               ` Ludovic Brenta
2008-02-18  2:20         ` anon
replies disabled

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