From: Warren <ve3wwg@gmail.com>
Subject: Re: USB Boarduino on AVR-Ada Tutorial
Date: Mon, 23 Aug 2010 15:28:53 +0000 (UTC)
Date: 2010-08-23T15:28:53+00:00 [thread overview]
Message-ID: <Xns9DDD74CB8BCEWarrensBlatherings@188.40.43.230> (raw)
In-Reply-To: 6e8376p4ltcvberbt9a44ub44vc48vjr3m@4ax.com
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
next prev parent reply other threads:[~2010-08-23 15:28 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-04 2:50 USB Boarduino on AVR-Ada Tutorial Warren
2010-08-04 10:52 ` Brian Drummond
2010-08-04 12:42 ` Warren
2010-08-04 13:13 ` Warren
2010-08-04 21:26 ` Brian Drummond
2010-08-05 0:59 ` Warren
2010-08-22 22:41 ` Brian Drummond
2010-08-23 9:29 ` Tero Koskinen
2010-08-24 11:37 ` Brian Drummond
2010-08-24 12:25 ` Ludovic Brenta
2010-08-23 15:28 ` Warren [this message]
2010-08-23 22:08 ` Brian Drummond
2010-08-24 9:07 ` David Sauvage
2010-08-24 11:15 ` Brian Drummond
2010-08-24 13:40 ` Warren
2010-08-24 12:12 ` Brian Drummond
2010-08-05 14:53 ` Brian Drummond
2010-08-16 14:16 ` Warren
2010-08-23 22:10 ` Brian Drummond
2010-08-26 0:26 ` b.robinson.jp
2010-08-26 7:48 ` David Sauvage
2010-08-26 12:59 ` Warren
2010-08-27 1:44 ` b.robinson.jp
2010-08-27 12:51 ` Warren
2010-09-02 3:39 ` b.robinson.jp
2010-09-02 16:11 ` Charmed Snark
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox