lang/gcc-4x and ADA support
Daniel Eischen
eischen at vigrid.com
Wed May 10 18:01:22 UTC 2006
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
More information about the freebsd-ports
mailing list