From: Natasha Kerensikova <lithiumcat@instinctive.eu>
Subject: Re: Cross-toolchain for DS [was: Newcomers to comp.lang.ada: welcome and how did you end up here ?]
Date: Sun, 19 Oct 2014 14:34:18 +0000 (UTC)
Date: 2014-10-19T14:34:18+00:00 [thread overview]
Message-ID: <slrnm47iv7.nrc.lithiumcat@nat.rebma.instinctive.eu> (raw)
In-Reply-To: slrnm3lnvn.nrc.lithiumcat@nat.rebma.instinctive.eu
On 2014-10-12, Natasha Kerensikova <lithiumcat@instinctive.eu> wrote:
> On 2014-10-12, Natasha Kerensikova <lithiumcat@instinctive.eu> wrote:
>> FWIW, I have already started with devkitARM build scripts (after some
>> tweaking to make it work on a FreeBSD host), added Ada to the list in
>> --enable-languages.
>>
>> I'm currently stumbling on the gnat* not being installed (there are a
>> lot of messages like "install: gnatchop: No such file or directory"
>> and even a "You must first build the GNAT library: make gnatlib").
>
> Just in case anyone is interested in following up that particular issue,
> I have just solved it. It turns out that all devkitARM patches for
> gcc-4.8.2 apply flawlessly on gcc-4.9.0. So I bumped up gcc version and
> apply avr-gnat patches on top of devkitARM patches, and the build
> succeeded.
>
> I will try playing with it in a few days (at least to test whether it
> actually manages to build stuff), but I can provide the current patch if
> anyone is interested.
Still following up, I managed to compile a sort of « C in Ada » program
on the DS, where a package exports a "main" procedure with C
convention, and imports a lot of libnds C primitives to setup a console
and read the keypad scan. All of this without a RTS and without
Interfaces.C (C types are declared in the test body instead).
As before, I can make patches and build instructions available, if
anyone is interested.
I had to stop because of hardware issue in my microSD card and/or
microSD-on-USB reader, I have to replace them before continuing tests on
real hardware. However in the meantime I guess I can try moving the
linking from C-like command line to a gpr, or try to get some RTS
features, or at least a system-wide Interfaces.C.
Natasha
next prev parent reply other threads:[~2014-10-19 14:34 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
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 [this message]
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