comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Drummond <brian_drummond@btconnect.com>
Subject: Re: avr-ada ubuntu cross-compiler build failed
Date: Fri, 11 Feb 2011 15:13:28 +0000
Date: 2011-02-11T15:13:28+00:00	[thread overview]
Message-ID: <c1kal6horhtr5ujjahtanbkacqrfn13nc0@4ax.com> (raw)
In-Reply-To: af05eee2-7b31-4a7b-9f24-de1ac2777a09@e21g2000yqe.googlegroups.com

On Fri, 11 Feb 2011 04:51:07 -0800 (PST), Adrianr <roldanadrian@gmail.com>
wrote:

>Thanks for your response and for the reading material.
>
>I was trying to build with the automatic-like script.
>
> I'll try the traditional way this weekend.
>
>Regards.

I had immense problems with this, apparently because it requires a GCC 4.3-era
native compiler, and my distro (OpenSuse 11.3) doesn't have anything quite so
old. GCC 4.5 finds too many errors in the GCC4.3-era (C++) sources.

I then found Tero Koskinen's avr-gcc 4.5 rpm's pre-built, and they installed
successfully.

http://iki.fi/tero.koskinen/avr-gnat/rpms

They are not a complete set, (at least, for OpenSuse 11.3) I needed to add 
avr-binutils (avr-binutils-2.20-2.fc13.x86_64.rpm) and
avr-libc (avr-libc-1.6.7-2.fc13.noarch.rpm), 
both from rpm.pbone.net. 

My dreams of success were short-lived, though, when someone pointed out a
catastrophic bug in GCC4.5.0 targeting the AVR...

(search the obvious place for a comp.lang.ada thread called
"AVR-Ada and GCC4.5.0 revisited"
for more details)

I may have to try again, first installing a GCC4.3 compiler (possibly the
"libre" Adacore one), then following the automatic script.

- Brian




  reply	other threads:[~2011-02-11 15:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-05 17:30 avr-ada ubuntu cross-compiler build failed Adrianr
2011-02-06 20:28 ` Yannick Duchêne (Hibou57)
2011-02-08  9:24 ` Yannick Duchêne (Hibou57)
2011-02-10 12:18   ` GCC and cross compiling Ada, was: " Simon Clubley
2011-02-10 12:53     ` Simon Clubley
2011-02-10 17:10     ` Yannick Duchêne (Hibou57)
2011-02-10 19:46       ` Simon Clubley
2011-02-11 12:51 ` Adrianr
2011-02-11 15:13   ` Brian Drummond [this message]
2011-02-11 18:16     ` Simon Wright
2011-02-11 18:44       ` Brian Drummond
2011-02-12 13:27         ` Simon Wright
2011-02-12 17:49           ` Brian Drummond
2011-02-12 21:45             ` Simon Wright
2011-02-12  6:46 ` Jacob Sparre Andersen
2011-02-12 17:03   ` Adrianr
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox