On Sun, 18 Dec 2011, Georg-Johann Lay wrote: > > This new file needs to have the standard copyright and license notices. > > It's desirable to generate such notices in the output files as well. > > What is the right copyright for the generated files?
See other examples. > avr/multilib.h is included in tm.h (by adding it to $tm_file in config.gcc). > It is used to override multilib.h in gcc.c. Is there a better way to do that? Is there a reason it needs to be checked in in this case? There are other cases of non-checked-in headers (sysroot-suffix.h) being included in tm.h. > One more question: If I undestand corretly, inclusion of a GPLed file turns > the includer to GPL, too. > > Is that right? No. The question is whether the resulting object is a work based on the included file, which depends on the contents of that file and how it is used by the includer. Some tm.h files do have the runtime exception. Hopefully for 4.8 Rainer will complete separating the target macros used in code built for the target from those used in code built for the host, so that only the headers in libgcc/ are used for the target and it becomes clear that none of the others need the exception. -- Joseph S. Myers jos...@codesourcery.com