From: Brian Drummond <brian_drummond@btconnect.com>
Subject: Re: USB Boarduino on AVR-Ada Tutorial
Date: Mon, 23 Aug 2010 23:08:51 +0100
Date: 2010-08-23T23:08:51+01:00 [thread overview]
Message-ID: <pfr576tcvvis0kt4dm8agjokgo5na5n542@4ax.com> (raw)
In-Reply-To: Xns9DDD74CB8BCEWarrensBlatherings@188.40.43.230
On Mon, 23 Aug 2010 15:28:53 +0000 (UTC), Warren <ve3wwg@gmail.com> wrote:
>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.
Thanks. There was no sign of config options to support Ada building
cross-avr-binutils, but I wondered. It's good to know that binutils is where to
focus, if need be...
>So maybe all you need to do
>is to create a symlink from gnatprep to avr-gnatprep, where ever
>your gnatprep is installed.
Good point! It's not clear to me what needs to be cross-specific (beyond
compiler and assembler, obviously!) and which native tools will do, but the
preprocessor should be agnostic if anything is. So I'll try that first.
>> 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.
>>
>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.
The pre-packaged cross-avr-gcc chain appears OK except for Ada support.
Rebuilding from source (loosely following the instructions on
http://sourceforge.net/apps/mediawiki/avr-ada/index.php?title=Setup#Compiling_the_AVR-Ada_libraries
but adapting for 4.5) appears to be successful (i.e. complete with only minor
difficulty and no errors)
Compiling the AVR-Ada components is where I came unstuck. I'll try the symlink
next.
Thanks for the suggestion,
- Brian
next prev parent reply other threads:[~2010-08-23 22:08 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
2010-08-23 22:08 ` Brian Drummond [this message]
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