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,70cc1410ff93d38b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!69.16.185.51.MISMATCH!isp-post01.iad!not-for-mail Date: Sun, 12 Sep 2010 13:40:57 -0400 From: mark User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100907 Fedora/3.0.7-1.fc12 Thunderbird/3.0.7 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: gcc - ada cross compiler question References: <4c8bfc49$0$4834$9a6e19ea@unlimited.newshosting.com> <878w379u6h.fsf@ludovic-brenta.org> In-Reply-To: <878w379u6h.fsf@ludovic-brenta.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4c8d10f3$0$5136$9a6e19ea@unlimited.newshosting.com> Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com NNTP-Posting-Host: 67.8.81.7 X-Complaints-To: abuse@newshosting.com Xref: g2news1.google.com comp.lang.ada:14028 Date: 2010-09-12T13:40:57-04:00 List-Id: I had deleted the original post. I was using a wrong adalib. Problems still remain but I'm posting them in gnu.gcc.help. Thanks for your reply anyway. On 09/12/2010 05:40 AM, Ludovic Brenta wrote: > mark writes on comp.lang.ada: >> I've built a couple gcc/ada cross compilers in the past but I'm really >> having trouble with this one. I have to build a gcc 4.1.2 based Ada >> cross compiler. The host is Linux. The target is a >> powerpc-mpc8248-linux-uclibc (PowerPC 603, Linux 2.6.20, >> uClibc-0.9.29). When building the compiler, I get a message >> >> cp -p ../../gcc/ada/sinfo.ads ../../gcc/ada/nmake.adt >> ../../gcc/ada/xnmake.adb ada/bldtools/nmake_b >> (cd ada/bldtools/nmake_b; gnatmake -q xnmake ; ./xnmake -b ../../nmake.adb ) >> gnatbind: Cannot find: s-stalib.ali >> gnatmake: *** bind failed. >> >> Would anyone know why the error occurs? Its confusing why s-stalib is >> not being compiled. I am using gcc 4.4.4 as the host compiler. > > IIRC, it is necessary to use the exact same version of GCC for the > native and cross compilers. You can use GCC 4.4.4 only as the bootstrap > compiler in this case. What stage does the error happen in? >