This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Contributing new gcc targets: i386-*-dragonfly and x86-64-*-dragonfly


On 19 April 2014 20:39, John Marino wrote:
> Hello GCC developers,
>
> For the last few years, I have been maintaining a large set of patches
> that add support for the DragonFly BSD target and also complete Ada
> frontend support on all four major BSDs among other things.  Before I
> can submit patches for Ada or testsuite cases, DragonFly must be a
> recognized, working target.  The patches attached here will provide
> out-of-the-box support for the C, C++, Objective-C and Fortran frontends.

Thanks for the patch - I only have a few general, minor comments. As
noted at http://gcc.gnu.org/lists.html C++ library patches should go
to the libstdc++ list as well as gcc-patches, so I've CC'd that list
(original mail and patch are at
http://gcc.gnu.org/ml/gcc-patches/2014-04/msg01128.html)

Patches should not include generated files such as configure, as the
diffs don't always apply cleanly and the changes are implied by the
patches to files such as acinclude.m4 and configure.ac. The
regenerated versions should of course be committed, and the ChangeLog
should mention they are regenerated, as you've done.

The changelog text should be correctly capitalised and sentences ended
with a period (e.g. "New target." and "New." not "New target" and
"new"). The individual ChangeLog entries at
http://leaf.dragonflybsd.org/~marino/gcc-df-target/changelog_entries/
would generally be used as the commit message, grouped and prefixed by
the name of the sub-directory:

gcc/
        * config.gcc (*-*-dragonfly*): New target
        etc. etc.

libcilkrts/
        * runtime/os-unix.c (__DragonFly__): New target
        etc. etc.

libgcc/
        * libgcc/config.host (*-*-dragonfly*): New target
        etc. etc.


The libstdc++ changes are OK for trunk if the rest gets approved.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]