On Mon, Dec 9, 2013 at 7:18 AM, Pavel Zhukov <pavel(a)zhukoff.net> wrote:
On Wednesday, December 04, 2013 07:28:09 PM Peter Robinson wrote:
> On Wed, Dec 4, 2013 at 7:21 PM, Pavel Zhukov <pavel(a)zhukoff.net> wrote:
> > On Wednesday, December 04, 2013 07:11:40 PM Peter Robinson wrote:
> >> On Wed, Dec 4, 2013 at 5:17 PM, Pavel Zhukov <pzhukov(a)redhat.com>
wrote:
> >> > Hi list(s),
> >> >
> >> > We still doesn't have gnat compiler for %{arm} in Fedora. We (Ada
> >> > community) have compiled gcc with ada support using gcc-4.8.2 src.rpm
> >> > and tested in. It seems workable. At least we were able to compile
most
> >> > of the
> >> > packages from the stack with it.
> >> > I'd like to discuss way how to get it in Fedora (chicken-egg
problem
> >> > should be solved).
> >>
> >> That's relatively straight forward. We need a documented process to
> >> get it done. Once we have that I can sort it out with rel-eng but we
> >> would need the gcc maintainer to review/approve it.
> >>
> >> Generally what happens is that it would be built (or imported) into a
> >> side tag build. I suspect it'll be using something like a cross
> >> compiled version of ada which is then used to compile a native built
> >> version of ada which is then tagged into rawhide at which point the
> >> rest of the ada stack would be rebuilt.
> >
> > Yes. We cross-compiled bootstrap and compiled native version using it.
> > It's
> > original Fedora gcc without any modifications (just added arm to the gnat
> > arches list) and applied short patch [1]
> > It was the long process [2] in qemu with all tests performed. I'm going to
> > recompile it once more time using Cubieboard and move to documentation
> > step
> > after.
>
> If you document it first I can test it on decent physical HW which
> should be a lot faster to save you some time.
I've documented it
https://fedoraproject.org/wiki/User:Landgraf/Building_Gnat_ARM
Can you please verify the build?
You don't have instructions for how I would cross compile.
Can you also start a new thread, it shouldn't have hijacked the meeting thread