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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.99.110.139 with SMTP id j133mr7227472pgc.55.1490561162496; Sun, 26 Mar 2017 13:46:02 -0700 (PDT) X-Received: by 10.157.68.202 with SMTP id p10mr1521721otg.19.1490561162447; Sun, 26 Mar 2017 13:46:02 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!y18no78202itc.0!news-out.google.com!m191ni10992itc.0!nntp.google.com!y18no78191itc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 26 Mar 2017 13:46:01 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=173.71.201.205; posting-account=QF6XPQoAAABce2NyPxxDAaKdAkN6RgAf NNTP-Posting-Host: 173.71.201.205 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Mixing Ada code with similar licenses From: Jere Injection-Date: Sun, 26 Mar 2017 20:46:02 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:46467 Date: 2017-03-26T13:46:01-07:00 List-Id: 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.