comp.lang.ada
 help / color / mirror / Atom feed
From: Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject: Re: Starting learning ADA
Date: Mon, 10 Jun 2019 13:40:09 -0400
Date: 2019-06-10T13:40:09-04:00	[thread overview]
Message-ID: <3e4tfedq6aht6iaul5bopmefneke05diir@4ax.com> (raw)
In-Reply-To: e9d07cf3-956e-472d-a3a7-ea5ba84e61b2@googlegroups.com

On Sun, 9 Jun 2019 11:12:37 -0700 (PDT), Ricardo Brandão
<rbrandao.br@gmail.com> declaimed the following:

>My question is: I'm in process of learning Ada. So, in some time in the near future (as soon as I got some good knowledge), I'll need to deploy in different devices: at least, Linux servers, embedded devices, and Windows. Will be possible compile the libraries in all these platforms?
>

	Well, AdaCore does provide an ARM cross-compiler that runs under
windows, for embedded targets. GPS, under project properties allows one to
specify the toolchain to be used for building. My Windows install of CE2109
shows choices of 

Native
arm-eabi

	Though as I recall, the arm toolchain currently has runtime support for
only a few boards without OS (apologies -- wraps poorly)

C:\GNAT\2019\2019-arm-elf\arm-eabi>dir /-w
 Volume in drive C is OS
 Volume Serial Number is 4ACC-3CB4

 Directory of C:\GNAT\2019\2019-arm-elf\arm-eabi

[.]                             [..]                            [bin]
[BSPs]                          [include]                       [lib]
[ravenscar-full-microbit]       [ravenscar-full-rpi2]
[ravenscar-full-stm32f4]
[ravenscar-full-stm32f429disco] [ravenscar-full-stm32f469disco]
[ravenscar-full-stm32f746disco]
[ravenscar-full-stm32f769disco] [ravenscar-full-tms570]
[ravenscar-full-tms570lc]
[ravenscar-full-zynq7000]       [ravenscar-sfp-microbit]
[ravenscar-sfp-rpi2]
[ravenscar-sfp-stm32f4]         [ravenscar-sfp-stm32f429disco]
[ravenscar-sfp-stm32f469disco]
[ravenscar-sfp-stm32f746disco]  [ravenscar-sfp-stm32f769disco]
[ravenscar-sfp-tms570]
[ravenscar-sfp-tms570lc]        [ravenscar-sfp-zynq7000] [zfp-cortex-m0]
[zfp-cortex-m0p]                [zfp-cortex-m1] [zfp-cortex-m3]
[zfp-cortex-m4]                 [zfp-cortex-m4f] [zfp-cortex-m7df]
[zfp-cortex-m7f]                [zfp-microbit]                  [zfp-rpi2]
[zfp-stm32f4]                   [zfp-stm32f429disco] [zfp-stm32f469disco]
[zfp-stm32f746disco]            [zfp-stm32f769disco] [zfp-tms570]
[zfp-tms570lc]                  [zfp-zynq7000]
               0 File(s)              0 bytes
              44 Dir(s)  1,331,771,797,504 bytes free

	Note that the above runtimes have minimal support for tasking
(ravenscar profiles), or no tasking and other restrictions (exception
handling?) -- zfp => zero footprint (really bare board).

	Maciej Sobczak has a publication for using Ada on Arduino/Nucleo ARM
Cortex boards.

	For non-embedded, if you can stick to just the standard library (ie: no
mapping to hardware, no linking with OS specific libraries), it should just
be a case of compiling under the target OS (I don't know how easy it is to
create a cross-compiler environment).


-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
	wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

  parent reply	other threads:[~2019-06-10 17:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-08 15:26 Starting learning ADA Ricardo Brandão
2019-06-08 15:53 ` Simon Wright
2019-06-08 17:07   ` Ricardo Brandão
2019-06-09  1:42     ` Dennis Lee Bieber
2019-06-09  7:25       ` Niklas Holsti
2019-06-08 15:55 ` joakimds
2019-06-08 17:10   ` Ricardo Brandão
2019-06-08 17:46     ` joakimds
2019-06-08 20:10       ` Simon Wright
2019-06-09 14:39         ` Ricardo Brandão
2019-06-09 17:44           ` Simon Wright
2019-06-09 18:12             ` Ricardo Brandão
2019-06-09 19:29               ` Dmitry A. Kazakov
2019-06-10 17:40               ` Dennis Lee Bieber [this message]
2019-06-09 18:23             ` Dennis Lee Bieber
2019-06-09 14:31       ` Ricardo Brandão
2019-06-09 19:35         ` Dmitry A. Kazakov
2019-06-10 12:28           ` Ricardo Brandão
replies disabled

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