Commit Graph

6 Commits

Author SHA1 Message Date
Ian Lance Taylor
fa3340ec8f Makefile.am (noinst_PROGRAMS): New variable.
* Makefile.am (noinst_PROGRAMS): New variable.
	(libexecsub_PROGRAMS): Remove variable.
	(install-exec-local, uninstall-local): New targets.
	* Makefile.in: Rebuild.

From-SVN: r219985
2015-01-22 04:19:11 +00:00
Rainer Orth
5bd8d5c12c Link with -lrt on Solaris 10
* configure.ac: Check if sched_yield and/or nanosleep need -lrt.
	* configure: Regenerate.
	* Makefile.am (go$(EXEEXT), gofmt$(EXEEXT), cgo$(EXEEXT)): Link
	with $(LIBS).
	* Makefile.in: Regenerate.

From-SVN: r219882
2015-01-20 09:26:50 +00:00
Ian Lance Taylor
85d7b5d5c5 configure.ac: Check for networking libraries; see NET_LIBS.
* configure.ac: Check for networking libraries; see NET_LIBS.
	* Makefile.am (go$(EXEEXT)): Link against NET_LIBS.
	(gofmt$(EXEEXT), cgo$(EXEEXT)): Likewise.
	* configure, Makefile.in: Rebuild.

From-SVN: r219690
2015-01-15 21:10:09 +00:00
Ian Lance Taylor
f8d9fa9e80 libgo, compiler: Upgrade libgo to Go 1.4, except for runtime.
This upgrades all of libgo other than the runtime package to
the Go 1.4 release.  In Go 1.4 much of the runtime was
rewritten into Go.  Merging that code will take more time and
will not change the API, so I'm putting it off for now.

There are a few runtime changes anyhow, to accomodate other
packages that rely on minor modifications to the runtime
support.

The compiler changes slightly to add a one-bit flag to each
type descriptor kind that is stored directly in an interface,
which for gccgo is currently only pointer types.  Another
one-bit flag (gcprog) is reserved because it is used by the gc
compiler, but gccgo does not currently use it.

There is another error check in the compiler since I ran
across it during testing.

gotools/:
	* Makefile.am (go_cmd_go_files): Sort entries.  Add generate.go.
	* Makefile.in: Rebuild.

From-SVN: r219627
2015-01-15 00:27:56 +00:00
Ian Lance Taylor
6b3762e4c2 Makefile.am (GOCOMPILER): Set to GOC or GOC_FOR_TARGET depending on whether this is a native build or not.
* Makefile.am (GOCOMPILER): Set to GOC or GOC_FOR_TARGET depending
	on whether this is a native build or not.
	(GOCOMPILE, GOLINK): Use $(GOCOMPILER) instead of $(GOC).
	(MOSTLYCLEANFILES): Define.
	* Makefile.in: Rebuild.

From-SVN: r219418
2015-01-10 00:23:48 +00:00
Ian Lance Taylor
bf1de3f0ac configure.ac (host_tools): Add gotools.
./:2015-01-09  Ian Lance Taylor  <iant@google.com>

	* configure.ac (host_tools): Add gotools.
	* Makefile.def (host_modules): Add gotools.
	(dependencies): Add dependency of all-gotools on all-target-libgo.

gcc/go/:
2015-01-09  Ian Lance Taylor  <iant@google.com>

	* config-lang.in (lang_dirs): Define.

gotools/:
2015-01-09  Ian Lance Taylor  <iant@google.com>

	* Initial implementation.

From-SVN: r219407
2015-01-09 21:23:09 +00:00