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!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ada Implementation of functions and produce C for exotic architectures (Expressif) Date: Thu, 12 Apr 2018 08:51:50 +0100 Organization: A noiseless patient Spider Message-ID: References: <7a185a62-3fb4-4a6d-a70e-b20ea3c089c0@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="ae62f9e902790a524e73e1a34d8698a8"; logging-data="16984"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19GYTPbHZtRfLftkiGiGeMjAX4Pbuqom6o=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:pQ20fTuQaI+FuHloA+CN9lteKYQ= sha1:UNbl27+KPjig2OaJ83QhECuHRto= Xref: reader02.eternal-september.org comp.lang.ada:51460 Date: 2018-04-12T08:51:50+01:00 List-Id: rrr.eee.27@gmail.com writes: > On Thursday, April 12, 2018 at 8:17:54 AM UTC+2, Patrice Freydiere wrote: >> Le mercredi 11 avril 2018 23:14:52 UTC+2, Simon Wright a écrit : >> >> > Downloading & setting up the virtual machine as spec'd in the ESP8266 >> > Getting Started Guide, the target of the 4.8.2 cross-compiler is >> > xtensa-lx106-elf. Whether this will work with standard unpatched >> > binutils etc I don't know. >> >> Hi Simon, and thank's for your response, >> Effectively, your path seems promising, as the crosstool can be >> build on gcc, >> https://dl.espressif.com/doc/esp-idf/latest/get-started/linux-setup-scratch.html Slightly confused about ESP processor architecture - that link is apparently about xtensa-esp32-elf. > Some time ago (~2 years) I already had a working Ada compiler for the > ESP8266. but that was only the compiler itself, no run-time-system > (RTS). I could successfully compile and link a Ada object file into my > project. It was enough to simply state the --target at the configure > steps of binutils and gcc. One thing to watch out for -- you need a working Ada host compiler and its sources in order to build the cross-compiler. Since the host is a Linux system, that should be OK.