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: 103376,69431b06fe9a3239 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!l18g2000yql.googlegroups.com!not-for-mail From: Lucretia Newsgroups: comp.lang.ada Subject: Re: How do I disable elaboration code on this Date: Sun, 10 Apr 2011 22:08:28 -0700 (PDT) Organization: http://groups.google.com Message-ID: <93b20b91-03ed-48d2-87b6-a109127a5a4f@l18g2000yql.googlegroups.com> References: <58bc4fb4-5f6a-48d6-9c98-0dde7ac619df@p16g2000vbo.googlegroups.com> <4da2176e$0$6977$9b4e6d93@newsspool4.arcor-online.net> NNTP-Posting-Host: 90.194.162.198 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1302498508 24706 127.0.0.1 (11 Apr 2011 05:08:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 11 Apr 2011 05:08:28 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l18g2000yql.googlegroups.com; posting-host=90.194.162.198; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.1.16) Gecko/20110302 Iceweasel/3.5.16 (like Firefox/3.5.16),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:18749 Date: 2011-04-10T22:08:28-07:00 List-Id: Just to clarify, this vector is to be: 1) set up by the user 2) gathered by the linker script and written out at the start of the elf 3) placed at address 0 in the elf 4) made ROMable >From your responses, it seems that you don't quite understand my aim here, point 4 is the most important here, ROMable means, the compiler must not under any circumstance create any elaboration code to initialise the array and given that the array is 1) constant and 2) has known contents, the compiler should be capable of this. Maybe GNAT can't do it? Maybe Ada can't do it and actually is wrong for OS development? Which I doubt otherwise, I may as well go create my own strongly typed language for OS/embedded work? Luke.