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 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 10 Jun 2019 12:40:08 -0500 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: Starting learning ADA Date: Mon, 10 Jun 2019 13:40:09 -0400 Organization: IISS Elusive Unicorn Message-ID: <3e4tfedq6aht6iaul5bopmefneke05diir@4ax.com> References: <47f671ea-bd40-4a98-8a34-8e99d94622cb@googlegroups.com> <441bc6de-05c5-4e2f-b601-110e8400cec7@googlegroups.com> <0f5a2a6b-d467-434c-8f3e-0964793e93ef@googlegroups.com> User-Agent: ForteAgent/8.00.32.1272 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-P7wW9W/w1cur4iR5KsuGcXbFYubSepnexlQ56cyxxMiFR68OBw+IusvrX5FrRAF6QyxHbnI0oXLHyyK!WHYjSlVMBwMX+4bcdB3M+KvTbCsVI4j3QDul9VnwLVJMiMBPzG88VxhuBCYuO37kqdg4um9S X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 4330 Xref: reader01.eternal-september.org comp.lang.ada:56604 Date: 2019-06-10T13:40:09-04:00 List-Id: On Sun, 9 Jun 2019 11:12:37 -0700 (PDT), Ricardo Brandão 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/