This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: CGEN-generated files vs GPL
On Wed, 28 Jan 2009, DJ Delorie wrote:
> > I believe the source code (i.e., what you'd change to modify the
> > intrinsics) needs including in the GCC release tarballs. I don't
> > think CGEN itself needs including, any more than OCaml needs
> > including because the ARM NEON intrinsic generators are written in
> > OCaml.
>
> The same cgen files produce all the binutils tools as well; they're
> currently in src/cgen/cpu/mep-* although they (1) should be in
> src/cpu/* and (2) need to be trimmed (the vendor has asked that the
> default configuration be core-only).
>
> Alternatively, a copy of just the one *.cpu file could be added to
> gcc, but that would mean maintaining the same file in two places.
Copying that one file is I think the minimum needed so the GCC tarball
contains sources for the software it distributes.
--
Joseph S. Myers
joseph@codesourcery.com