- Sort Score
- Result 10 results
- Languages All
Results 61 - 65 of 65 for CFLAGS (0.09 sec)
-
src/cmd/link/link_test.go
TEXT ·x(SB),0,$0 CALL foo(SB) RET `) write("x.c", ` void undefined(); void foo() { undefined(); } `) cc := strings.TrimSpace(runGo("env", "CC")) cflags := strings.Fields(runGo("env", "GOGCCFLAGS")) importcfgfile := filepath.Join(tmpdir, "importcfg") testenv.WriteImportcfg(t, importcfgfile, nil, "runtime") // Compile, assemble and pack the Go and C code.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:02 UTC 2024 - 43.5K bytes - Viewed (0) -
src/cmd/go/go_test.go
// quotes, which the normal freedesktop.org pkg-config does // support. See https://man.openbsd.org/pkg-config.1 tg.tempFile("foo.pc", ` Name: foo Description: The foo library Version: 1.0.0 Cflags: -Dhello=10 -Dworld=+32 -DDEFINED_FROM_PKG_CONFIG=hello\ world `) tg.tempFile("foo.go", `package main /* #cgo pkg-config: foo int value() { return DEFINED_FROM_PKG_CONFIG; } */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
} if strings.HasPrefix(s, "sizeof_") { return "sizeof(" + cname(s[len("sizeof_"):]) + ")" } return s } // ProcessCgoDirectives processes the import C preamble: // 1. discards all #cgo CFLAGS, LDFLAGS, nocallback and noescape directives, // so they don't make their way into _cgo_export.h. // 2. parse the nocallback and noescape directives. func (f *File) ProcessCgoDirectives() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/asm.go
// Generate a PIC stub. This is ugly as the stub must determine its location using // POWER8 or older instruction. These stubs are likely the combination of using // GOPPC64 < 8 and linking external objects built with CFLAGS="... -mcpu=power10 ..." stub.AddUint32(ctxt.Arch, OP_MFLR_R0) // mflr r0 stub.AddUint32(ctxt.Arch, OP_BCL_NIA) // bcl 20,31,1f
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 63.7K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// C code. // CGO_CFLAGS_ALLOW // A regular expression specifying additional flags to allow // to appear in #cgo CFLAGS source code directives. // Does not apply to the CGO_CFLAGS environment variable. // CGO_CFLAGS_DISALLOW // A regular expression specifying flags that must be disallowed // from appearing in #cgo CFLAGS source code directives. // Does not apply to the CGO_CFLAGS environment variable.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0)