Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for gcc (0.25 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.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    	//go:cgo_import_static _cgo_gcc_Cfunc_sin
    	//go:linkname __cgo_gcc_Cfunc_sin _cgo_gcc_Cfunc_sin
    	var __cgo_gcc_Cfunc_sin byte
    	var _cgo_gcc_Cfunc_sin = unsafe.Pointer(&__cgo_gcc_Cfunc_sin)
    
    	func _Cfunc_sin(p0 _Ctype_double) (r1 _Ctype_double) {
    		_cgo_runtime_cgocall(_cgo_gcc_Cfunc_sin, uintptr(unsafe.Pointer(&p0)))
    		return
    	}
    
    	// compiled by gcc, into foo.cgo2.o
    
    	void
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue27340/a.go

    // In separate directory to isolate #pragma GCC diagnostic.
    
    package issue27340
    
    // We use the #pragma to avoid a compiler warning about incompatible
    // pointer types, because we generate code passing a struct ptr rather
    // than using the typedef. This warning is expected and does not break
    // a normal build.
    // We can only disable -Wincompatible-pointer-types starting with GCC 5.
    
    // #if __GNU_MAJOR__ >= 5
    //
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/operand_test.go

    	{"$1000", "$1000"},
    	{"$1000000", "$1000000"},
    	{"$1000000000", "$1000000000"},
    	{"$__tsan_func_enter(SB)", "$__tsan_func_enter(SB)"},
    	{"$main(SB)", "$main(SB)"},
    	{"$masks<>(SB)", "$masks<>(SB)"},
    	{"$setg_gcc<>(SB)", "$setg_gcc<>(SB)"},
    	{"$shifts<>(SB)", "$shifts<>(SB)"},
    	{"$~(1<<63)", "$9223372036854775807"},
    	{"$~0x3F", "$-64"},
    	{"$~15", "$-16"},
    	{"(((8)&0xf)*4)(SP)", "32(SP)"},
    	{"(((8-14)&0xf)*4)(SP)", "40(SP)"},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  5. 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.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 20 15:35:35 GMT 2024
    - 631 bytes
    - Viewed (0)
  6. .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?"
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. misc/ios/clangwrap.sh

    	CLANGARCH="arm64"
    else
    	SDK=iphonesimulator
    	PLATFORM=ios-simulator
    	CLANGARCH="x86_64"
    fi
    
    SDK_PATH=`xcrun --sdk $SDK --show-sdk-path`
    export IPHONEOS_DEPLOYMENT_TARGET=5.1
    # cmd/cgo doesn't support llvm-gcc-4.2, so we have to use clang.
    CLANG=`xcrun --sdk $SDK --find clang`
    
    Shell Script
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Dec 02 16:48:07 GMT 2021
    - 626 bytes
    - Viewed (0)
  8. misc/cgo/gmp/gmp.go

    files.  The first two, 6g.go and 6c.c, are a Go source file for 6g and
    a C source file for 6c; both compile as part of the named package
    (gmp, in this example).  The third, gcc.c, is a C source file for gcc;
    it compiles into a shared object (.so) that is dynamically linked into
    any 6.out that imports the first two files.
    
    The stanza
    
    	// #include <gmp.h>
    	import "C"
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
Back to top