On 05/28/2017 03:15 PM, Iain Buclaw wrote: > This patch adds the D language front-end to GCC documentation and > configuration files, as described on the anatomy of a language > front-end. > > --- > > > 05-d-gcc-config.patch > > > ChangeLog: > > * Makefile.def (target_modules): Add libphobos. > (flags_to_pass): Add GDC_FOR_TARGET. > (dependencies): Add dependency from configure-target-libphobos to > configure-target-zlib. Add dependency from all-target-libphobos to > all-target-zlib. > (language): Add languge d. > * Makefile.in: Rebuild. > * Makefile.tpl (BUILT_EXPORTS): Add GDC. > (HOST_EXPORTS): Add GDC. > (BASE_TARGET_EXPORTS): Add GDC. > (GDC_FOR_BUILD, GDC_FOR_TARGET): New variables. > (EXTRA_HOST_FLAGS): Add GDC. > (EXTRA_TARGET_FLAGS): Add GDC. > * config-ml.in: Treat GDC and GDCFLAGS like other compiler/flag > environment variables. > * configure: Rebuild. > * configure.ac: Add target-libphobos to target_libraries. Set and > substitute GDC_FOR_BUILD and GDC_FOR_TARGET. > > config/ChangeLog: > > * multi.m4: Set GDC. > > gcc/ChangeLog: > > * doc/contrib.texi (Contributors): Add self for the D frontend. > * doc/frontends.texi (G++ and GCC): Mention D as a supported language. > * doc/install.texi (Configuration): Mention libphobos as an option for > --enable-shared. Mention d as an option for --enable-languages. > (Testing): Mention check-d as a target. > * doc/invoke.texi (Overall Options): Mention .d, .dd, and .di as file > name suffixes. Mention d as a -x option. > * doc/sourcebuild.texi (Top Level): Mention libphobos. > * doc/standards.texi (Standards): Add section on D language. I don't see anything in here which concerns me -- it's mostly boilerplate stuff.
Jeff