Date: Wed, 10 May 2006 22:17:05 +0400 From: Boris Samorodov <bsam@ipt.ru> To: Daniel Eischen <eischen@vigrid.com> Cc: ports@FreeBSD.org, gerald@FreeBSD.org Subject: Re: lang/gcc-4x and ADA support Message-ID: <58851934@srv.sem.ipt.ru> In-Reply-To: <Pine.GSO.4.64.0605101355560.25266@sea.ntplx.net> (Daniel Eischen's message of "Wed, 10 May 2006 14:01:19 -0400 (EDT)") References: <92871295@srv.sem.ipt.ru> <24933262@srv.sem.ipt.ru> <Pine.GSO.4.64.0605101355560.25266@sea.ntplx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58851934>