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.107.88.1 with SMTP id m1mr12547589iob.18.1510567735171; Mon, 13 Nov 2017 02:08:55 -0800 (PST) X-Received: by 10.157.14.201 with SMTP id 67mr733022otj.4.1510567735097; Mon, 13 Nov 2017 02:08:55 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.fr7!futter-mich.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!l196no2337109itl.0!news-out.google.com!193ni1655iti.0!nntp.google.com!m191no1757948itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 13 Nov 2017 02:08:54 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:120b:c3ee:e540:5c63:7eda:c75a:571e; posting-account=DQbqYQoAAACn8hHn2LmG2aF7Mhbxl_Lf NNTP-Posting-Host: 2a02:120b:c3ee:e540:5c63:7eda:c75a:571e User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Using System.Machine_Code in GPL 2017 Zfp for Arm From: ahlan@marriott.org Injection-Date: Mon, 13 Nov 2017 10:08:55 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Body-CRC: 3771110893 X-Received-Bytes: 2480 Xref: feeder.eternal-september.org comp.lang.ada:48846 Date: 2017-11-13T02:08:54-08:00 List-Id: We are trying to build a zfp system for an arm M3 processor that is not on the list of supported GPL processors. We only want the Ada intrinsics. We do not need or want any RTS and so expected that --RTS=zfp would do the trick. however when we place this switch on arm-eabi-gcc from GPL 2017 we get the error message RTS path not valid: Missing adainclude and adalib directories. So things are not as simple as we thought. It appears that --RTS takes the name of a directory so we created one and named this on the RTS switch. In the directory we placed two files ada_object_path and ada_source_path that both contain the single word gnat. In the RTS directory we then created the empty directory adalib and another directory gnat and placed in gnat directory the file System.ads which we copied from an RTS directory of a similar processor. This all seems to work. With this we are able to create simple programs. However when we want to use System.Machine_Code we get the error message that System.Machine_Code is not a predefined library. I suspect that we need to add something to our RTS directory. But what? Has anyone any experience building ARM ZFP systems and can tell us how we get add System.Machine_Code to our Zfp. Any help or suggestions what to do next would be greatly appreciated. Best wishes, Ahlan