From: Simon Wright <simon@pushface.org>
Subject: Re: Mixing Ada code with similar licenses
Date: Sun, 26 Mar 2017 22:12:16 +0100
Date: 2017-03-26T22:12:16+01:00 [thread overview]
Message-ID: <lyefxjd9ov.fsf@pushface.org> (raw)
In-Reply-To: e4f74c2b-90ea-4e6b-94fd-2c081f378e95@googlegroups.com
Jere <jhb.chat@gmail.com> writes:
> On Friday, March 10, 2017 at 4:09:07 PM UTC-5, Simon Wright wrote:
>> Jere writes:
>>
>> > Later on I found some code from Robert Kleczek which gave me some
>> > ideas on how to transform a lot of the assembly in the original into
>> > Ada code.
>>
>> I don't know if it would help, but there's code under GPL+runtime
>> exception here .. I thoroughly enjoyed writing it!
>>
>> Files startup*.ad? in:
>>
>> Cortex M4F (STM32F407)
>> https://sourceforge.net/p/cortex-gnat-rts/code/ci/default/tree/stm32f4/adainclude/
>>
>> Cortex M3 (Arduino Due)
>> https://sourceforge.net/p/cortex-gnat-rts/code/ci/default/tree/arduino-due/adainclude/
>
> Just a followup. I started down this path as a parallel option. It
> really wants to use memset to do the assignment. I didn't yet find an
> Ada memset procedure in those libraries (I only browsed some. Nothing
> popped up in the filenames that made me think memset would be in
> there). Is that something you relied on GCC to provide or did you
> roll your own and I am just missing it?
>
> With my current build setup, I am turning off cstdlib, so I don't have
> memset available unless I roll my own. Not a problem, but just
> thought I would ask.
You're quite right.
The reason it worked for me is that I included newlib as part of the
compiler build, see
https://sourceforge.net/u/simonjwright/buildingarmeabi/code
But it does look neat!
next prev parent reply other threads:[~2017-03-26 21:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <ce508a3d-bd0f-4ecc-953e-5b624c072b3c@googlegroups.com>
[not found] ` <o9ur48$p6c$1@dont-email.me>
[not found] ` <f1f579b9-54b9-4949-941a-9b10821892b5@googlegroups.com>
2017-03-11 9:05 ` Mixing Ada code with similar licenses Dirk Heinrichs
[not found] ` <lyk27wdeku.fsf@pushface.org>
2017-03-26 20:46 ` Jere
2017-03-26 21:12 ` Simon Wright [this message]
[not found] ` <o9v343$pf5$1@dont-email.me>
[not found] ` <86633a07-9a12-4419-ad09-b519e4f279a5@googlegroups.com>
[not found] ` <o9ve6p$2pq$1@dont-email.me>
2017-03-26 20:57 ` Jere
2017-03-26 21:24 ` Jeffrey R. Carter
2017-03-27 7:07 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox