comp.lang.ada
 help / color / mirror / Atom feed
From: ahlan@marriott.org
Subject: Using System.Machine_Code in GPL 2017 Zfp for Arm
Date: Mon, 13 Nov 2017 02:08:54 -0800 (PST)
Date: 2017-11-13T02:08:54-08:00	[thread overview]
Message-ID: <e05b71de-2be1-4888-90a3-dc98cd317af9@googlegroups.com> (raw)

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

             reply	other threads:[~2017-11-13 10:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-13 10:08 ahlan [this message]
2017-11-13 10:57 ` Using System.Machine_Code in GPL 2017 Zfp for Arm ahlan
2017-11-13 11:40 ` Simon Wright
2017-11-13 13:21 ` ahlan
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox