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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,e276c1ed16429c03 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Ada is getting more popular! Date: Mon, 25 Oct 2010 00:10:18 +0200 Organization: Ada @ Home Message-ID: References: <020ea727-e8e9-4d0d-8c5f-b8ad907fc3c9@u10g2000yqk.googlegroups.com> <0fd5e839-a2b6-41c9-b6d4-9bd4f09c044b@h7g2000yqn.googlegroups.com> <87y69zlknz.fsf@hugsarin.sparre-andersen.dk> NNTP-Posting-Host: s8o0tVg79n3OlbBbBn5miA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.63 (Win32) Xref: g2news1.google.com comp.lang.ada:14724 Date: 2010-10-25T00:10:18+02:00 List-Id: Le Fri, 15 Oct 2010 14:12:16 +0200, Jacob Sparre Andersen = a =C3=A9crit: > ramon_garcia writes: > > [ Please don't top post. ] > >> It is simply that I need to perform low level tasks, such as accessin= g >> a memory mapped file. > > There is not a single bit of compiler dependent code needed for that. > > You use the package POSIX.Memory_Maps to map the file into memory. > > You use "for The_Mapped_Object'Address use Address_Of_Memory_Map;" to > make sure you access the mapped object at the right location in memory= . > Not a single bit of compiler dependence there. Providing you have a POSIX library which provide it. I know an Ada POSIX= = for Windows, which is http://pascal.obry.pagesperso-orange.fr/w32posix.html But this lack this feature. -- = Si les chats miaules et font autant de vocalises bizarres, c=E2=80=99est= pas pour = les chiens.