On 22/05/17 11:48, Michael Haubenwallner wrote: > Hi Luke, > > On 05/19/2017 09:08 PM, Luke A. Guest wrote: >> Hi, >> >> I posted a bug back in August, >> https://bugs.gentoo.org/show_bug.cgi?id=592060, to discuss adding Ada >> support into Gentoo's toolchain.eclass. >> Thoughts? > Did you have a look at https://bugs.gentoo.org/show_bug.cgi?id=592060 ?
I posted that bug. > I had been almost there, but then I stopped because George seemed to return > (turned out as retirement), and my only need for Ada is to bootstrap gcc-trunk > sometimes (not since then). Beyond that: I'm lacking basic Ada knowledge to > correctly finalize the missing bits, but I'm wondering why my patch still is > larger than yours. > > HTH, > /haubi/ > Mine automatically checks for an installed gnatbind, if that exists, there is a gnat installed already. Otherwise it sets up a few variables to override the toolchain.eclass to use the gnatboot. Yours has a large gnatboot function. Mine is all inline with small additions where required. You have added some cross compile support, which is unnecessary as once a toolchain with USE=ada is installed, crossdev just works. Luke.