From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,36a9f38dd6514fc8 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!e20g2000vbb.googlegroups.com!not-for-mail From: singo Newsgroups: comp.lang.ada Subject: Re: gnat: Execution_Time is not supported in this configuration Date: Mon, 7 Dec 2009 00:08:55 -0800 (PST) Organization: http://groups.google.com Message-ID: <213be370-c1da-4d5b-89c4-cd30ad6aef18@e20g2000vbb.googlegroups.com> References: <5e5d6fb5-e719-4195-925c-d1286699393d@f16g2000yqm.googlegroups.com> <4b18fc33$0$6718$9b4e6d93@newsspool2.arcor-online.net> NNTP-Posting-Host: 130.237.215.68 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1260173335 22933 127.0.0.1 (7 Dec 2009 08:08:55 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 7 Dec 2009 08:08:55 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e20g2000vbb.googlegroups.com; posting-host=130.237.215.68; posting-account=YaFpXwoAAABFpcqmE2M-zOfwgB6wr6kC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8331 Date: 2009-12-07T00:08:55-08:00 List-Id: On Dec 4, 1:10=A0pm, Georg Bauhaus wrote: > The reason are explained in the GNAT source files. =A0The ones I have sho= w > a note, after the =A9 box: > -------------------------------------------------------------------------= ----- > -- =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0-- > -- =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 GNAT RUN-TIME COMPONEN= TS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -- > -- =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0-- > -- =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 A D A . E X E C U T I O N _ T I M = E =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0-- > -- =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0-- > -- =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 S p e = c =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0-- > -- =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0-- > -- This specification is derived from the Ada Reference Manual for use wi= th -- > -- GNAT. =A0In accordance with the copyright of that document, you can fr= eely -- > -- copy and modify this specification, =A0provided that if you redistribu= te a -- > -- modified version, =A0any changes that you have made are clearly indica= ted. -- > -- =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0-- > -------------------------------------------------------------------------= ----- > > -- =A0This unit is not implemented in typical GNAT implementations that l= ie on > -- =A0top of operating systems, because it is infeasible to implement in = such > -- =A0environments. > > -- =A0If a target environment provides appropriate support for this packa= ge > -- =A0then the Unimplemented_Unit pragma should be removed from this spec= and > -- =A0an appropriate body provided. > > with Ada.Task_Identification; > with Ada.Real_Time; > > package Ada.Execution_Time is > =A0 =A0pragma Preelaborate; > > =A0 =A0pragma Unimplemented_Unit; Thanks to all of you for your help! Still I wonder why it is written in the GNAT reference specification that the real time annex is fully implemented [1]. "Real-Time Systems (Annex D) The Real-Time Systems Annex is fully implemented." According to the ARM 'Execution Time' is part of the real-time annex [2], so it should be implemented. So, does "fully implemented" mean that it only in principle is fully implemented, but that the underlying OS/hardware (in my case 64-bit Ubuntu-Linux (9.10) on an Intel QuadCore) has to support this features as well? Or how do I have to read "fully implemented"? Best regards Ingo [1] http://gcc.gnu.org/onlinedocs/gnat_rm/Specialized-Needs-Annexes.html#Sp= ecialized-Needs-Annexes [2] http://www.adaic.org/standards/05rm/html/RM-D-14.html