comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP>
Subject: Re: Newcomers to comp.lang.ada: welcome and how did you end up here ?
Date: Fri, 10 Oct 2014 19:47:06 +0000 (UTC)
Date: 2014-10-10T19:47:06+00:00	[thread overview]
Message-ID: <m19d3p$c3k$1@dont-email.me> (raw)
In-Reply-To: slrnm3f2lm.nrc.lithiumcat@nat.rebma.instinctive.eu

On 2014-10-10, Natasha Kerensikova <lithiumcat@instinctive.eu> wrote:
> Hello,
>
> On 2014-10-09, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
>> The problem with FSF GNAT is that once you try to use it with something
>> other than mainstream desktop style operating systems you run into
>> major problems or find outright it simply doesn't work.
>
> What kind of major problems?
>
> I've recently built avr-gnat and it haven't encountered any difficulty.
> Are you implying major issues are awaiting me further in this path?
>

That's because the AVR-Ada project is a third party project and they
have gone to a great deal of effort to support Ada on the AVR.

My comment referred to the kit you download directly from the FSF.
You can directly build C cross and native compilers from that kit for
a wide range of platforms; you can't do that for Ada.

BTW, in case you are interested, Brian Drummond has brought up an Ada
cross compiler for the MSP430. Further information at:

	http://sourceforge.net/p/msp430ada/wiki/Home/

I've also tried using the latest FSF GNAT kit to bring up Ada on VMS
and failed. ACT have their own source tree for the GNAT Pro product
for VMS and they push changes into the FSF tree but it appears for VMS
that either (a) not all the required changes are there or (b) you need
a _very_ specific (and undocumented) combination of build flags.

I don't know which one it is for sure, but I'm tending towards (a).

> I'm also trying to build a cross-compiler for Nintendo DS, it's a bit
> less smooth but I haven't spent much time on it yet. Is it also doomed?
>

I strongly recommend you follow Luke's link; he's spent quite a bit
of effort over the years on this and he's encountered a good range
of problems (there was a time when I was following Luke's work
closely).

The problem is that even to myself (who _wants_ to use Ada) the
language is great but the compiler situation is very flaky especially
when you use a good range of embedded MCUs and non-mainstream
operating systems as I do.

I can only imagine how this looks to a newcomer to Ada especially as
I use C for my embedded projects even when the desire is to use Ada.

In my case, the thing which really forced this issue for me was a few
years ago when I wanted to develop a common bare metal I/O library
plus some other code which worked across _all_ the MCUs I use or might
_want_ to use in the future. (The library has architecture neutral
upper layers and an architecture/MCU specific lower layer.)

I realised the only viable option was C and I realised this was also
true for my embedded projects in general because I couldn't be sure
what future environments I might want to run the code in.

It's experiences like that which make we wonder if we need some kind
of new half-way language between C and Ada which is easy to bring up
on a new target and while not been as type-safe as Ada would be much
better than C.

Simon.

-- 
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world

  parent reply	other threads:[~2014-10-10 19:47 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-06 22:42 Newcomers to comp.lang.ada: welcome and how did you end up here ? Simon Clubley
2014-10-06 23:18 ` brbarkstrom
2014-10-07  8:10 ` Gour
2014-10-07 10:49   ` Luke A. Guest
2014-10-08  7:23     ` Gour
2014-10-08  8:35       ` Brian Drummond
2014-10-08  9:15         ` Simon Wright
2014-10-08 19:14           ` -fdump-ada-spec (was: Newcomers to comp.lang.ada: welcome and how did you end up here ?) Ludovic Brenta
2014-10-08 19:48             ` -fdump-ada-spec Simon Wright
2014-10-08  9:17         ` Newcomers to comp.lang.ada: welcome and how did you end up here ? Gour
2014-10-08 11:23       ` Dmitry A. Kazakov
2014-10-10  9:18         ` Gour
2014-10-08 13:33       ` Luke A. Guest
2014-10-07 20:06 ` Stribor40
2014-10-07 20:21   ` Jeffrey Carter
2014-10-07 21:28     ` David Botton
2014-10-09  5:57       ` Dirk Craeynest
2014-10-10  0:58     ` rriehle
2014-10-08  7:08   ` Dmitry A. Kazakov
2014-10-09 11:58 ` Mark Carroll
2014-10-09 13:31   ` Simon Wright
2014-10-09 18:04     ` Brian Drummond
2014-10-09 20:02       ` Dmitry A. Kazakov
2014-10-09 18:35     ` Mark Carroll
2014-10-09 21:08       ` Simon Clubley
2014-10-10  7:28         ` Natasha Kerensikova
2014-10-10  9:07           ` Mark Carroll
2014-10-10  9:33             ` Björn Lundin
2014-10-10 11:41               ` Natasha Kerensikova
2014-10-10 13:35                 ` Björn Lundin
2014-10-10 17:10                   ` Natasha Kerensikova
2014-10-10 18:22                     ` Luke A. Guest
2014-10-10 14:51                 ` Lucretia
2014-10-10 14:28           ` Lucretia
2014-10-10 19:47           ` Simon Clubley [this message]
2014-10-10 21:38             ` Luke A. Guest
2014-10-12 10:56               ` Cross-toolchain for DS [was: Newcomers to comp.lang.ada: welcome and how did you end up here ?] Natasha Kerensikova
2014-10-12 11:40                 ` Simon Clubley
2014-10-12 12:27                   ` Peter Chapin
2014-10-12 19:42                     ` Simon Clubley
2014-10-12 13:25                 ` Luke A. Guest
2014-10-12 13:52                   ` Natasha Kerensikova
2014-10-12 14:40                     ` Luke A. Guest
2014-10-12 20:09                     ` Natasha Kerensikova
2014-10-19 14:34                       ` Natasha Kerensikova
2014-10-19 15:48                         ` Luke A. Guest
2014-10-23  8:22                           ` Natasha Kerensikova
2014-10-12 23:18                     ` Lucretia
2014-10-15  9:46                       ` Brian Drummond
2014-10-15 16:50                         ` Lucretia
2014-10-15  9:58                 ` Brian Drummond
2014-10-15 10:32                   ` Natasha Kerensikova
2014-10-16 12:04                     ` Brian Drummond
2014-10-11 10:53             ` Newcomers to comp.lang.ada: welcome and how did you end up here ? Brian Drummond
2014-10-12  1:33         ` David Botton
2014-10-12  1:25       ` David Botton
2014-10-12 14:40         ` Luke A. Guest
2014-10-09 19:06   ` Shark8
2014-11-04 16:28   ` Nicholas Collin Paul de Gloucester
2014-11-04 16:45     ` Barry Danforth
2014-11-04 17:18       ` David Botton
2014-10-09 12:50 ` john
2014-10-09 21:08 ` gdotone
2014-10-10 16:25 ` Stribor40
2014-10-10 17:09   ` Luke A. Guest
2014-10-10 17:59     ` Stribor40
2014-10-10 18:22       ` Luke A. Guest
2014-11-08 23:51 ` HerrDoktor
2014-11-09  7:44   ` Karl Stromberg
2014-11-09  9:28     ` HerrDoktor
2014-11-09  9:42     ` HerrDoktor
2014-11-09  9:59       ` Karl Stromberg
2014-11-09 10:25         ` HerrDoktor
2014-11-09 16:31           ` David Botton
2014-11-09 16:29         ` David Botton
replies disabled

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