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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,a287efecf9b6c0d7 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder2.cambriumusenet.nl!feeder1.cambriumusenet.nl!feed.tweaknews.nl!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 11 Feb 2011 09:10:52 -0600 From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: avr-ada ubuntu cross-compiler build failed Date: Fri, 11 Feb 2011 15:13:28 +0000 Reply-To: brian@shapes.demon.co.uk Message-ID: References: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-Ee3fKtU5cE+3tz518yanlexfUBIlEGzQbL00mp4wpP3WPblbKuoeO1FyQpYNc2Z5v/tpwpno60mDeyS!aYyIAOXRsm7rVSwJtbKAVt1KJp60Tp3Jw+lSP5VzofdjssnxrDMCbOemmHiUs0TUF70RVBOPO6YX!TAo= X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2453 Xref: g2news1.google.com comp.lang.ada:17238 Date: 2011-02-11T15:13:28+00:00 List-Id: On Fri, 11 Feb 2011 04:51:07 -0800 (PST), Adrianr 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