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 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.98.152.23 with SMTP id q23mr7673958pfd.35.1500021255127; Fri, 14 Jul 2017 01:34:15 -0700 (PDT) X-Received: by 10.36.16.207 with SMTP id 198mr122381ity.1.1500021255082; Fri, 14 Jul 2017 01:34:15 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!188no761059itx.0!news-out.google.com!f200ni4392itc.0!nntp.google.com!v202no758644itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 14 Jul 2017 01:34:14 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=136.163.203.9; posting-account=HFCrOQoAAABZD_f-UUbYHm3lJDIrh-UX NNTP-Posting-Host: 136.163.203.9 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: How to use Zero Footprint runtime with GNAT GPL 2017 From: joakimds@kth.se Injection-Date: Fri, 14 Jul 2017 08:34:15 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:47411 Date: 2017-07-14T01:34:14-07:00 List-Id: Hi! On the AdaCore blog one can read that there is a ZFP-runtime included with = the release of GNAT GPL 2017 a month ago: http://blog.adacore.com/gnat-gpl-2017-is-out In the description it says "The native runtime comes with a Zero Foot Print= runtime". How does one invoke it? I thought it is enough to add "--RTS=3Dz= fp" when invoking gprbuild. What I've done is creating a "Hello World!" app= lication and attempted to buid it with the "--RTS=3Dzfp" switch. I expected= the compiler to tell me that "Ada.Text_IO" can't be used with the ZFP runt= ime. However, gprbuild complains "no language defined for project" instead. If I could get compilation to work with ZFP runtime, I've been planning to = try using GNAT.IO for printing to "standard out". And if that doesn't work,= importing OS specific subprograms... Is there anyone else in the Ada Community that has attempted to use the ZFP= runtime? Any hints will be greatly appreciated. Best regards, Joakim