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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5d941628bed36609 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 20 Aug 2005 14:32:32 -0500 Date: Sat, 20 Aug 2005 15:32:52 -0400 From: Jeff Creem User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GNAT for arm-elf target? References: <43074a0c$0$28529$9b4e6d93@newsread2.arcor-online.net> In-Reply-To: <43074a0c$0$28529$9b4e6d93@newsread2.arcor-online.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 24.147.74.171 X-Trace: sv3-nZcpXPcxUv8n2D3KOUxlvemNbt+WUIbqdLBQHAQIbeo4Xjlnm11EUoVNpy1OYbsGnwGyVWerlCM2YVh!B6bwV58xjcoXKG/HNUgb+SsYuZQWGa2pKFUBV8n6uC6im1XSg/eMk/GovlxPDyeamYHXhIDbzg== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net 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.32 Xref: g2news1.google.com comp.lang.ada:4217 Date: 2005-08-20T15:32:52-04:00 List-Id: Andreas Schwarz wrote: > Hello, > > can I expect to get a usable Ada cross compiler for ARM simply by > compiling gcc with --enable-languages=c,ada --target=arm-elf, or is > there more to it? > > Thanks > Andreas > Even for vanilla C building cross compilers can (sometimes) be a bit of a pain. (http://kegel.com/crosstool/) You will need cross binutils as well. Also for a real full Ada I would expect that you need the OS listed in the --target someplace since it will be difficult to build the runtime without knowing that data. If you can afford it I'd really recommend getting a supported version from AdaCore. They currently list arm vxWorks as a supported platform. If you are looking for a non-runtime/non-tasking version of the compiler it can be a bit easier to get everything built. I also poked around the rtems website (www.rtems.com) since they provide pre-built RPMs for various targets. They have a bunch of Ada cross compilers but for Arm they do not currently show gnat support. If you are just looking for something to play with (v.s. something for real "work") then I suppose just giving it a try would be fun.