Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for gcc (0.81 sec)

  1. src/cmd/cgo/gcc.go

    			n := &Name{Go: s, C: s}
    			names = append(names, n)
    			optional[n] = true
    		}
    
    		// Otherwise, we'll need to find out from gcc.
    		names = append(names, n)
    	}
    
    	// Bypass gcc if there's nothing left to find out.
    	if len(names) == 0 {
    		return needType
    	}
    
    	// Coerce gcc into telling us whether each name is a type, a value, or undeclared.
    	// For names, find out whether they are integer constants.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    	y.cgo1.go       # for gc
    	_cgo_gotypes.go # for gc
    	_cgo_import.go  # for gc (if -dynout _cgo_import.go)
    	x.cgo2.c        # for gcc
    	y.cgo2.c        # for gcc
    	_cgo_defun.c    # for gcc (if -gccgo)
    	_cgo_export.c   # for gcc
    	_cgo_export.h   # for gcc
    	_cgo_main.c     # for gcc
    	_cgo_flags      # for build tool (if -gccgo)
    
    The file x.cgo1.go is a copy of x.go with the import "C" removed and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/cc_test.go

    				// Compiler does not support "--version" flag: not Clang or GCC.
    				return nil
    			}
    
    			var match [][]byte
    			if bytes.HasPrefix(out, []byte("gcc")) {
    				compiler.name = "gcc"
    				cmd, err := cc("-dumpfullversion", "-dumpversion")
    				if err != nil {
    					return err
    				}
    				out, err := cmd.Output()
    				if err != nil {
    					// gcc, but does not support gcc's "-v" flag?!
    					return err
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 20:00:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. src/cmd/cgo/out.go

    	fmt.Fprintf(fgcc, "#pragma GCC diagnostic ignored \"-Wunknown-pragmas\"\n")
    	fmt.Fprintf(fgcc, "#pragma GCC diagnostic ignored \"-Wpragmas\"\n")
    	fmt.Fprintf(fgcc, "#pragma GCC diagnostic ignored \"-Waddress-of-packed-member\"\n")
    	fmt.Fprintf(fgcc, "#pragma GCC diagnostic ignored \"-Wunknown-warning-option\"\n")
    	fmt.Fprintf(fgcc, "#pragma GCC diagnostic ignored \"-Wunaligned-access\"\n")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/buildid.go

    	b.toolIDCache[name] = id
    	b.id.Unlock()
    
    	return id
    }
    
    // gccToolID returns the unique ID to use for a tool that is invoked
    // by the GCC driver. This is used particularly for gccgo, but this can also
    // be used for gcc, g++, gfortran, etc.; those tools all use the GCC
    // driver under different names. The approach used here should also
    // work for sufficiently new versions of clang. Unlike toolID, the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/cgo_stubs_ppc64x_internal_linking_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build (ppc64 || ppc64le) && internal
    
    package cgotest
    
    import "testing"
    
    // If gcc is used, and linking internally, __mulsc3 and __muldc3
    // will be linked in from libgcc which make several R_PPC64_TOC16_DS
    // relocations which may not be resolvable with the internal linker.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 15:35:35 UTC 2024
    - 631 bytes
    - Viewed (0)
  7. src/cmd/dist/build.go

    			}
    		}
    	}
    
    	return m
    }
    
    // clangos lists the operating systems where we prefer clang to gcc.
    var clangos = []string{
    	"darwin", "ios", // macOS 10.9 and later require clang
    	"freebsd", // FreeBSD 10 and later do not ship gcc
    	"openbsd", // OpenBSD ships with GCC 4.2, which is now quite old.
    }
    
    // compilerEnvLookup returns the compiler settings for goos/goarch in map m.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/exec.go

    		// There is one exception: runtime/cgo's job is to bridge the
    		// cgo and non-cgo worlds, so it necessarily has files in both.
    		// In that case gcc only gets the gcc_* files.
    		var gccfiles []string
    		gccfiles = append(gccfiles, cfiles...)
    		cfiles = nil
    		if p.Standard && p.ImportPath == "runtime/cgo" {
    			filter := func(files, nongcc, gcc []string) ([]string, []string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/gccgo.go

    	} else if b.gccSupportsFlag(compiler, "-fdebug-prefix-map=a=b") {
    		defs = append(defs, "-fdebug-prefix-map="+b.WorkDir+"=/tmp/go-build")
    	}
    	if b.gccSupportsFlag(compiler, "-gno-record-gcc-switches") {
    		defs = append(defs, "-gno-record-gcc-switches")
    	}
    	return b.Shell(a).run(p.Dir, p.ImportPath, nil, compiler, "-Wall", "-g",
    		"-I", a.Objdir, "-I", inc, "-o", ofile, defs, "-c", cfile)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/00-bug.yml

            GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/44/nbbyll_10jd0z8rj_qxm43740000gn/T/go-build2331607515=/tmp/go-build -gno-record-gcc-switches -fno-common"
          render: shell
        validations:
          required: true
    
      - type: textarea
        id: what-did-you-do
        attributes:
          label: "What did you do?"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top