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!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.unit0.net!cyclone03.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!post01.fr7!fx10.fr7.POSTED!not-for-mail From: Brian Drummond Subject: Re: Cross-toolchain for DS [was: Newcomers to comp.lang.ada: welcome and how did you end up here ?] Newsgroups: comp.lang.ada References: <87h9zdpi84.fsf@ixod.org> <87fvex5bwy.fsf@ixod.org> <2064812074434669488.767131laguest-archeia.com@nntp.aioe.org> <1196941186434813066.828500laguest-archeia.com@nntp.aioe.org> <0ec29b17-286e-49c3-a26c-88e5161ebda4@googlegroups.com> User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: NNTP-Posting-Host: 62.49.20.82 X-Complaints-To: abuse@demon.net X-Trace: 1413366413 62.49.20.82 (Wed, 15 Oct 2014 09:46:53 UTC) NNTP-Posting-Date: Wed, 15 Oct 2014 09:46:53 UTC Date: Wed, 15 Oct 2014 09:46:53 GMT X-Received-Body-CRC: 1710700578 X-Received-Bytes: 2826 Xref: news.eternal-september.org comp.lang.ada:22500 Date: 2014-10-15T09:46:53+00:00 List-Id: On Sun, 12 Oct 2014 16:18:22 -0700, Lucretia wrote: > On Sunday, 12 October 2014 14:52:04 UTC+1, Natasha Kerensikova wrote: >> Hello, >> >> On 2014-10-12, Luke A Guest wrote: >> >> > I wouldn't use that patch. When I get home I'll explain it and why >> > you don't want to use it and I'll show you a better way. >> >> I'm looking forward to it. > > Right, this is all from memory and I'll be referencing this > https://github.com/Lucretia/tamp/blob/master/thirdparty/patches/ gcc-4.6.1/gcc-4.6.1.diff > file. Sorry I haven't got time to go through this in detail at th emoment - but I just wanted to say, this is good stuff! > The above provides a way to build that specific target without messing > too much with the build infrastructure. This also builds a runtime, > which is completely pointless and will never be used. This is not the > way Rolf does it for AVR and subsequently Brian Drummond for MSP430, see > the thread here https://gcc.gnu.org/ml/gcc/2014-01/msg00139.html and > this is because they break the build by removing the dependency of > libada on gnattools from the main configure script. Hmmm, the intent was to remove the dependency of gnattools on libada rather than the reverse : I need to build gnattools even when libada is not being built. Did I get that wrong way round? It's true that having added that patch, that source tree is broken as far as building native gcc and that's not ideal. I'll have to think about your solution... alas, not today. Thanks, - Brian