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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fcd0ac136c3a2795 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Warren Newsgroups: comp.lang.ada Subject: Re: USB Boarduino on AVR-Ada Tutorial Date: Mon, 23 Aug 2010 15:28:53 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <4d1d662b-f476-41e4-938c-0564ad90d74e@d17g2000yqb.googlegroups.com> <208b422c-afc7-4404-8741-d4582ced47ce@f42g2000yqn.googlegroups.com> <6e8376p4ltcvberbt9a44ub44vc48vjr3m@4ax.com> Injection-Date: Mon, 23 Aug 2010 15:28:53 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="9f8M0iN5t54V+4DF/iqO8g"; logging-data="3446"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tHigIwEeAEDrlE54oS2a8HMhBWfEz2Yw=" User-Agent: Xnews/5.04.25 X-Face: &6@]C2>ZS=NM|HE-^zWuryN#Z/2_.s9E|G&~DRi|sav9{E}XQJb*\_>=a5"q]\%A;5}LKP][1mA{gZ,Q!j Cancel-Lock: sha1:u5CBw3ldW/7guBXyKf1jSbPlpto= Xref: g2news1.google.com comp.lang.ada:13670 Date: 2010-08-23T15:28:53+00:00 List-Id: Brian Drummond expounded in news:6e8376p4ltcvberbt9a44ub44vc48vjr3m@4ax.com: > None of the obvious (to me) approaches to installing the tools have > worked smoothly on my machine (running OpenSuse 11.3). > > The closest I've got is using the cross-avr-binutils (2.20) and > cross-avr-gcc (4.5.0) packages from OpenSuse, available as binary and > source rpms. The binary version is built without Ada support, but the > source builds without apparent complaints, to support Ada. Ditto > avr-libc v1.70 (with more difficulty) from the same source. > > Now the AVR-Ada package (1.1-0) won't build, complaining that > "avr-gnatprep" is not found (and indeed I can't find it!, though > gnatbind is present) avr-gnatprep AFAIK, should be available from your "cross-avr-binutils" if it supported Ada, which you say doesn't. I would also expect to find it if you built and installed it from sources. BUT, under Linux I can't think of a good reason to have an avr-gnatprep in addition to a Linux native gnatprep. So maybe all you need to do is to create a symlink from gnatprep to avr-gnatprep, where ever your gnatprep is installed. > Does anyone know which package SHOULD supply gnatprep, so I can try to > track down what's missing?) On the WinAVR side, AVR-Ada builds on top of the plain "avr-gcc" toolset supplied in WinAVR. So AVR-Ada is designed to build an Ada toolset, in addition to it's Ada avr libraries and code. If you have a built version of the toolchain working already (and resolved avr-gnatprep), then you can skip the toolchain build in AVR-Ada, I would think. Hopefully you can just build the Ada AVR libraries and package support. > Incidentally the AVR-Ada package contains a do-it-all script based > around GCC4.3.2. This fails, building binutils, with compile errors in > tc-avr.c. Presumably it would work if I could dig out a 4.3 era GCC, > but that's not a trivial route either. > > - Brian I haven't looked at the script, but you can probably edit the script (or supply arguments) to skip the tool chain build, and just focus on compiling the AVR-Ada components with the toolchain you installed. Warren