[Clfs-support] Is a Cross-Toolchain with Ada Possible using CLFS Procedure?
Joe Ciccone
jciccone at gmail.com
Mon Apr 11 16:58:58 PDT 2011
On Mon, 2011-04-11 at 11:35 -0500, Steve Jones wrote:
> On Mon, 11 Apr 2011, bv wrote:
>
> > On Sunday 10 April 2011 15:34:32 Steve Jones wrote:
> >
> > > > I've found nothing in the mail archives. Anyone willing to consult about
> > > > this?
> > >
> > > I've done it before. First you need a native gnat of the same exact
> > > version of your cross compiler. So you need to install 4.2.4 into /opt
> > > or /usr/local and put that into your path before the system gcc.
> >
> > suppose the host already has ada (eg it has say gcc-4.4.x with ada and I
> > want to build a toolchain with gcc-4.5,x or gcc-4.6.x with ada enabled;
> > can this be done? And if so how so )
> >
>
> Current and recent gcc documentation suggests that cross gnat can should
> be built by the same exact version of native gnat. My experience is
> that it can only be built with the same exact version, 4.4.3 will not
> build 4.5.2 or 4.6.0.
I've had the same experience with cross-compiling gnat. I have compiled
natively with different versions, but they were of the same major. If
memory serves both were 4.1 series. It was a long time ago.
>
>
--
Joe Ciccone
More information about the Clfs-support
mailing list