lang/gcc-4x and ADA support

Daniel Eischen eischen at vigrid.com
Thu May 11 12:58:16 UTC 2006


On Thu, 11 May 2006, Boris Samorodov wrote:

> On Wed, 10 May 2006 22:17:05 +0400 Boris Samorodov wrote:
>>> On Wed, 10 May 2006, Boris Samorodov wrote:
>
>>>> 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.
>
> However, gcc overwrites gnat/gnu binaries when installing. They have
> identical names under /usr/local/bin. :-(

You have to patch gcc4x gnat sources so that gnat obeys the
suffix (gnat41 or gcc41-gnat or whatever would conform with
lang/gcc4x).

-- 
DE


More information about the freebsd-ports mailing list