lang/gcc-4x and ADA support
Boris Samorodov
bsam at ipt.ru
Wed May 10 18:18:10 UTC 2006
On Wed, 10 May 2006 14:01:19 -0400 (EDT) Daniel Eischen wrote:
> On Wed, 10 May 2006, Boris Samorodov wrote:
> > CC to lang/gnat and lang/gcc41 maintainers as they may be interested.
> >
> > On Wed, 03 May 2006 21:01:04 +0400 Boris Samorodov wrote:
> >
> >> Is somebody working (or even ever tried) on compiling gcc-4.x with ADA
> >> support?
> >
> > It appears to be nobody but me. ;-)
> I tried some months ago, but gcc40 (or 41 or whatever) wasn't
> building on -current and I didn't have much time to devote to
> it.
> > What is done to lang/gcc41:
> >
> > o WITH_ADA knob is added, it's not defined by default;
> > o some other stuff made to deal with --enable-languages=[];
> > o lang/gnat is used as primary compiler when WITH_ADA is defined;
> > o tested with --enable-languages=ada,c.
> >
> > Just now compilation with all languages is running:
> > --enable-languages=c,ada,c++,fortran,java,objc. You know, it's not a
> > very short operation. ;-)
BTW, the compilation is successful.
> That's good to know. Does it also work with lang/gcc42?
I've not tested so far.
> > What I'm going to do:
> >
> > o make bootstraping with gnat-3.15p-boot;
> > o adjust pkg-plist;
> > o send-pr.
> >
> >
> > Does anybody have any suggestions?
> You might want to have it try to first detect if lang/gnat
> is installed and use that to bootstrap. You probably don't
> want to depend on lang/gnat just to get a bootstrap compiler
> if my gnat-3.15p-boot works with gcc4x, though.
Yes, I wasn't quite correct. I should have said "bootstraping like
lang/gnat do".
> What are the licenses with the gnat libs in gcc4x? Are
> they as restrictive as lang/gnat?
Gnat with gcc4x has GPL like all gcc code. I'm not an expert here but
it seems that bootstrapping with gnat/gpl may have result in pure GPL
license. That's why I prefer to have a possibility to bootstrap with
gnat-3.15p-boot.
WBR
--
Boris B. Samorodov, Research Engineer
InPharmTech Co, http://www.ipt.ru
Telephone & Internet Service Provider
More information about the freebsd-ports
mailing list