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.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM, PLING_QUERY autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,345cecbee95ca646,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.72.199 with SMTP id n7mr8477805qaj.5.1362998279716; Mon, 11 Mar 2013 03:37:59 -0700 (PDT) X-Received: by 10.49.75.66 with SMTP id a2mr732709qew.21.1362998279695; Mon, 11 Mar 2013 03:37:59 -0700 (PDT) Path: o5ni454qas.0!nntp.google.com!dd2no666830qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 11 Mar 2013 03:37:59 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=75.48.217.25; posting-account=-WG8VgoAAAAlWewKFi0J7zSTMYXZyyK3 NNTP-Posting-Host: 75.48.217.25 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <19d330ec-9b61-414e-abc3-e25a8c786b81@googlegroups.com> Subject: Bootstrapping a null procedure. Seriously?! From: Diogenes Injection-Date: Mon, 11 Mar 2013 10:37:59 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2013-03-11T03:37:59-07:00 List-Id: I've been doing some binder experiments with this little gem.... procedure nullmain is begin null; end nullmain; Been doing it to see just how many packages from the runtime have to be lin= ked in order for the the thing to DO NOTHING! 40 packages are pulled in. By most measures of good software design, this is WRONG. So here's the question... Do I need to have different a-finali.ads/.adb packages and the correspondin= g crt1.o implementations for every possible variation on the runtime I coul= d ever want? I mean, seriously, it's pulling in system.string_opts; does an= yone see strings in the above code? Of course I realize this is partly due to package dependency issues, howeve= r I SHOULD be able to write my own a-finali.ads that does nothing but make = a _start symbol for the system linker, right? Tips?