PATCH RFA: Add Go support to top level configure and Makefiles
Ian Lance Taylor
iant@google.com
Thu Nov 18 22:17:00 GMT 2010
This patch adds Go support to the top level configure.ac and
Makefile.tpl/Makefile.def. The Go support isn't actually committed yet;
this is just in preparation. Since the directories are not present this
will have no particular effect, just as if one downloaded the gcc-core
tarball without additional language support.
Bootstrapped and tested on x86_64-unknown-linux-gnu. OK for mainline?
Ian
2010-11-18 Ian Lance Taylor <iant@google.com>
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac: Add target-libgo to target_libraries. Set
and substitute GOC_FOR_BUILD and GOC_FOR_TARGET. If we are building
target-libgo, build target-libffi.
* Makefile.tpl (BUILD_EXPORTS): Add GOC and GOCFLAGS.
(HOST_EXPORTS): Add GOC.
(BASE_TARGET_EXPORTS): Add GOC.
(GOC_FOR_BUILD, GOCFLAGS, GOC_FOR_TARGET): New variables.
(GOCFLAGS_FOR_TARGET): New variable.
(EXTRA_HOST_FLAGS): Add GOC.
(EXTRA_TARGET_FLAGS): Add GOC and GOCFLAGS.
* Makefile.def (target_modules): Add libgo.
(flags_to_pass): Add GOC_FOR_TARGET and GOCFLAGS_FOR_TARGET.
(dependencies): Add dependency from configure-target-libgo to
configure-target-libffi and all-target-libstdc++-v3. Add
dependencies from all-target-libgo to all-target-libffi.
(languages): Add go.
* configure: Rebuild.
* Makefile.in: Rebuild.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 8031 bytes
Desc: top
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101118/7e32ec46/attachment.bin>
More information about the Gcc-patches
mailing list