comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: gcc - ada cross compiler question
Date: Sun, 12 Sep 2010 11:40:06 +0200
Date: 2010-09-12T11:40:06+02:00	[thread overview]
Message-ID: <878w379u6h.fsf@ludovic-brenta.org> (raw)
In-Reply-To: 4c8bfc49$0$4834$9a6e19ea@unlimited.newshosting.com

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?

-- 
Ludovic Brenta.



  reply	other threads:[~2010-09-12  9:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-11 22:00 gcc - ada cross compiler question mark
2010-09-12  9:40 ` Ludovic Brenta [this message]
2010-09-12 12:26   ` Rolf
2010-09-12 17:40   ` mark
replies disabled

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