Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2006 14:01:19 -0400 (EDT)
From:      Daniel Eischen <eischen@vigrid.com>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        ports@FreeBSD.org, gerald@FreeBSD.org
Subject:   Re: lang/gcc-4x and ADA support
Message-ID:  <Pine.GSO.4.64.0605101355560.25266@sea.ntplx.net>
In-Reply-To: <24933262@srv.sem.ipt.ru>
References:  <92871295@srv.sem.ipt.ru> <24933262@srv.sem.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)

That's good to know.  Does it also work with lang/gcc42?

> 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.

What are the licenses with the gnat libs in gcc4x?  Are
they as restrictive as lang/gnat?

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0605101355560.25266>