• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..07-May-2022-

config/H23-Jul-2020-16,77613,951

go/H23-Jul-2020-853,348643,262

misc/cgo/H23-Jul-2020-19,78712,595

runtime/H23-Jul-2020-7,3685,232

testsuite/H23-Jul-2020-1,5021,209

LICENSEH A D23-Jul-20201.4 KiB2824

MERGEH A D23-Jul-2020156 53

Makefile.amH A D23-Jul-202037.3 KiB1,225956

Makefile.inH A D23-Jul-2020122.1 KiB3,0832,731

PATENTSH A D23-Jul-20201.3 KiB2320

READMEH A D23-Jul-20202.5 KiB7053

README.gccH A D23-Jul-2020357 86

VERSIONH A D23-Jul-20209 21

aclocal.m4H A D23-Jul-202043.4 KiB1,2021,092

config.h.inH A D23-Jul-202010.6 KiB402271

configureH A D23-Jul-2020545 KiB18,60715,637

configure.acH A D23-Jul-202027.2 KiB927830

goarch.shH A D23-Jul-20204 KiB254223

godeps.shH A D23-Jul-2020909 3617

libgo.impH A D23-Jul-202054 75

match.shH A D23-Jul-20204 KiB198172

merge.shH A D23-Jul-20205.7 KiB224181

mkrsysinfo.shH A D23-Jul-20208 KiB218149

mkruntimeinc.shH A D23-Jul-20201.4 KiB4120

mksigtab.shH A D23-Jul-20206.1 KiB140103

mksysinfo.shH A D23-Jul-202048.3 KiB1,4031,081

mvifdiff.shH A D23-Jul-2020388 165

sysinfo.cH A D23-Jul-20209.8 KiB502388

README

1See ../README.
2
3This is the runtime support library for the Go programming language.
4This library is intended for use with the Go frontend.
5
6This library should not be stripped when it is installed.  Go code
7relies on being able to look up file/line information, which comes
8from the debugging info using the libbacktrace library.
9
10The library has only been tested on GNU/Linux using glibc, and on
11Solaris.  It should not be difficult to port to other operating
12systems.
13
14Directories:
15
16go
17  A copy of the Go library from http://golang.org/, with several
18  changes for gccgo.
19
20runtime
21  Runtime functions, written in C, which are called directly by the
22  compiler or by the library.
23
24Contributing
25============
26
27To contribute patches to the files in this directory, please see
28http://golang.org/doc/gccgo_contribute.html .
29
30The master copy of these files is hosted at
31http://code.google.com/p/gofrontend .  Changes to these files require
32signing a Google contributor license agreement.  If you are the
33copyright holder, you will need to agree to the individual contributor
34license agreement at
35http://code.google.com/legal/individual-cla-v1.0.html.  This agreement
36can be completed online.
37
38If your organization is the copyright holder, the organization will
39need to agree to the corporate contributor license agreement at
40http://code.google.com/legal/corporate-cla-v1.0.html.
41
42If the copyright holder for your code has already completed the
43agreement in connection with another Google open source project, it
44does not need to be completed again.
45
46Debugging
47=========
48
49This describes how to test libgo when built as part of gccgo.
50
51To test a specific package, cd to the libgo build directory
52(TARGET/libgo) and run `make PKG/check`.  For example, `make
53bytes/check`.
54
55To see the exact commands that it runs, including how the compiler is
56invoked, run `make GOTESTFLAGS=--trace bytes/check`.  This will
57display the commands if the test fails.  If the test passes, the
58commands and other output will be visible in a file named
59check-testlog in a subdirectory with the name of the package being
60checked.  In the case of bytes/check, this will create
61bytes/check-testlog.
62
63To leave the test program behind, run `make GOTESTFLAGS=--keep
64bytes/check`.  That will leave a gotestNNNN/test directory in the
65libgo build directory.  In that directory you can run
66`LD_LIBRARY_PATH=../../.libs ./a.out -test.short` to run the tests.
67You can run specific failing tests using a -test.run option.  You can
68see the tests being run with the -test.v option.  You can run the
69program under a debugger such as gdb.
70

README.gcc

1The files in this directory are mirrored from the gofrontend project
2hosted at http://code.google.com/p/gofrontend.  These files are the
3ones in the libgo subdirectory of that project.
4
5By default, the networking tests are not run.  In order to run all the
6libgo tests, you need to define the environment variable
7GCCGO_RUN_ALL_TESTS to a non-empty string.
8