Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for cflags (0.25 sec)

  1. src/cmd/cgo/internal/swig/swig_test.go

    	runArgs := append([]string{"run", "."}, args...)
    	cmd := exec.Command("go", runArgs...)
    	cmd.Dir = dir
    	if lto {
    		const cflags = "-flto -Wno-lto-type-mismatch -Wno-unknown-warning-option"
    		cmd.Env = append(cmd.Environ(),
    			"CGO_CFLAGS="+cflags,
    			"CGO_CXXFLAGS="+cflags,
    			"CGO_LDFLAGS="+cflags)
    	}
    	out, err := cmd.CombinedOutput()
    	if string(out) != "OK\n" {
    		t.Errorf("%s", string(out))
    	}
    	if err != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    CGO_LDFLAGS environment variables are added to the flags derived from
    these directives. Package-specific flags should be set using the
    directives, not the environment variables, so that builds work in
    unmodified environments. Flags obtained from environment variables
    are not subject to the security limitations described above.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue24161e1/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build darwin
    
    package issue24161e1
    
    /*
    #cgo CFLAGS: -x objective-c
    #cgo LDFLAGS: -framework CoreFoundation -framework Security
    #include <TargetConditionals.h>
    #include <CoreFoundation/CoreFoundation.h>
    #include <Security/Security.h>
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/00-bug.yml

            AR="ar"
            CC="clang"
            CXX="clang++"
            CGO_ENABLED="1"
            GOMOD="/dev/null"
            GOWORK=""
            CGO_CFLAGS="-O2 -g"
            CGO_CPPFLAGS=""
            CGO_CXXFLAGS="-O2 -g"
            CGO_FFLAGS="-O2 -g"
            CGO_LDFLAGS="-O2 -g"
            PKG_CONFIG="pkg-config"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue20266.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 20266: use -I with a relative path.
    
    package cgotest
    
    /*
    #cgo CFLAGS: -I issue20266 -Iissue20266 -Ddef20266
    #include "issue20266.h"
    */
    import "C"
    
    import "testing"
    
    func test20266(t *testing.T) {
    	if got, want := C.issue20266, 20266; got != want {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 463 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue24161e2/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build darwin
    
    package issue24161e2
    
    /*
    #cgo CFLAGS: -x objective-c
    #cgo LDFLAGS: -framework CoreFoundation -framework Security
    #include <TargetConditionals.h>
    #include <CoreFoundation/CoreFoundation.h>
    #include <Security/Security.h>
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1K bytes
    - Viewed (1)
  7. api/go1.3.txt

    pkg syscall (freebsd-386), type Termios struct, Cc [20]uint8
    pkg syscall (freebsd-386), type Termios struct, Cflag uint32
    pkg syscall (freebsd-386), type Termios struct, Iflag uint32
    pkg syscall (freebsd-386), type Termios struct, Ispeed uint32
    pkg syscall (freebsd-386), type Termios struct, Lflag uint32
    pkg syscall (freebsd-386), type Termios struct, Oflag uint32
    pkg syscall (freebsd-386), type Termios struct, Ospeed uint32
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  8. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), type Termios struct, Cflag uint32
    pkg syscall (netbsd-arm64-cgo), type Termios struct, Iflag uint32
    pkg syscall (netbsd-arm64-cgo), type Termios struct, Ispeed int32
    pkg syscall (netbsd-arm64-cgo), type Termios struct, Lflag uint32
    pkg syscall (netbsd-arm64-cgo), type Termios struct, Oflag uint32
    pkg syscall (netbsd-arm64-cgo), type Termios struct, Ospeed int32
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/ast.go

    package main
    
    import (
    	"fmt"
    	"go/ast"
    	"go/format"
    	"go/parser"
    	"go/scanner"
    	"go/token"
    	"os"
    	"strings"
    )
    
    func parse(name string, src []byte, flags parser.Mode) *ast.File {
    	ast1, err := parser.ParseFile(fset, name, src, flags)
    	if err != nil {
    		if list, ok := err.(scanner.ErrorList); ok {
    			// If err is a scanner.ErrorList, its String will print just
    			// the first error and then (+n more errors).
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  10. misc/wasm/wasm_exec.js

    			link(path, link, callback) { callback(enosys()); },
    			lstat(path, callback) { callback(enosys()); },
    			mkdir(path, perm, callback) { callback(enosys()); },
    			open(path, flags, mode, callback) { callback(enosys()); },
    			read(fd, buffer, offset, length, position, callback) { callback(enosys()); },
    			readdir(path, callback) { callback(enosys()); },
    			readlink(path, callback) { callback(enosys()); },
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
Back to top