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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a287efecf9b6c0d7 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: GCC and cross compiling Ada, was: Re: avr-ada ubuntu cross-compiler build failed Date: Thu, 10 Feb 2011 12:53:49 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Injection-Date: Thu, 10 Feb 2011 12:53:49 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="4pjzwDT2MPp9AkNxUo/C4Q"; logging-data="818"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18WeQtPwePYmK/vlWPxNOWWYsSAP74oNWE=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:c0pn4PuoEhRu5GyJaLP3T9D3gNs= Xref: g2news1.google.com comp.lang.ada:17214 Date: 2011-02-10T12:53:49+00:00 List-Id: On 2011-02-10, Simon Clubley wrote: > > Cross compiling for Ada has additional issues, including run time library > and exception support. > > I understand that multi-lib support for Ada is been worked on (and is > probably supported by now, but you would need to check), but this has also > been a issue with past versions of GCC as well. > > While I have Ada programs working in a cross-compiler environment, they have > always been run under RTEMS and not as a standalone image. > I was implictly thinking about ARM processors when I wrote the above because they are the focus of my current projects. Seeing that the OP was talking about the AVR, I should also point out that I have successfully built a older version of the AVR Ada standalone cross compiler in the past which worked ok within the limits of the port. This is from memory, but there were additional AVR Ada specific steps involved, including applying patches to the toolchain source (IIRC). However, I don't remember it as been anything too difficult to work out given that I had already been through a similar process getting Ada code to work under RTEMS on a ARM board. Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world