Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 283 for Gcc (0.05 sec)

  1. 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
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/debug/elf/testdata/multiple-code-sections.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Build with:
    // gcc -g multiple-code-sections.c -Wl,--emit-relocs -Wl,--discard-none -Wl,-zmax-page-size=1 -fno-asynchronous-unwind-tables -o go-relocation-test-gcc930-ranges-with-rela-x86-64
    // gcc -g multiple-code-sections.c -Wl,-zmax-page-size=1 -fno-asynchronous-unwind-tables -o go-relocation-test-gcc930-ranges-no-rela-x86-64
    // Strip with:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 31 18:42:38 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/variants/groovy/build.gradle

        binaries {
            all {
                if (toolChain in Gcc && targetPlatform == platforms.x86) {
                    cppCompiler.args '-O3'
                }
            }
        }
    
        // Tasks to build all binaries for a tool chain
        tasks {
            gccExecutables(Task) {
                dependsOn $.binaries.findAll { it.toolChain in Gcc }
            }
            visualCppExecutables(Task) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/cpp-exe/groovy/build.gradle

                binaries.all {
                    // Define a preprocessor macro
                    cppCompiler.define "NDEBUG"
                    // Add some additional compiler arguments
                    if (toolChain in Gcc) {
                        cppCompiler.args "-fno-access-control", "-fconserve-space"
                    }
                }
            }
        }
        tasks { t ->
            $.components.main.binaries.each { binary ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 931 bytes
    - Viewed (0)
  5. src/go/internal/gccgoimporter/gccgoinstallation_test.go

    	"encoding/base64",
    	"encoding/binary",
    	"encoding/csv",
    	"encoding/gob",
    	// "encoding", // Added in GCC 4.9.
    	"encoding/hex",
    	"encoding/json",
    	"encoding/pem",
    	"encoding/xml",
    	"errors",
    	"expvar",
    	"flag",
    	"fmt",
    	"go/ast",
    	"go/build",
    	"go/doc",
    	// "go/format", // Added in GCC 4.8.
    	"go/parser",
    	"go/printer",
    	"go/scanner",
    	"go/token",
    	"hash/adler32",
    	"hash/crc32",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 21 02:25:41 UTC 2021
    - 4K bytes
    - Viewed (0)
  6. src/runtime/syscall_windows_test.go

    			return []string{"gcc", "-shared", "-s", "-Werror", "-o", out, src}
    		},
    	},
    	{
    		"testO2",
    		func(out, src string) []string {
    			return []string{"gcc", "-shared", "-s", "-Werror", "-o", out, "-O2", src}
    		},
    	},
    }
    
    func TestStdcallAndCDeclCallbacks(t *testing.T) {
    	if _, err := exec.LookPath("gcc"); err != nil {
    		t.Skip("skipping test: gcc is missing")
    	}
    	tmp := t.TempDir()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  7. src/cmd/nm/nm_test.go

    	t.Parallel()
    	testfiles := []string{
    		"debug/elf/testdata/gcc-386-freebsd-exec",
    		"debug/elf/testdata/gcc-amd64-linux-exec",
    		"debug/macho/testdata/gcc-386-darwin-exec.base64",   // golang.org/issue/34986
    		"debug/macho/testdata/gcc-amd64-darwin-exec.base64", // golang.org/issue/34986
    		// "debug/pe/testdata/gcc-amd64-mingw-exec", // no symbols!
    		"debug/pe/testdata/gcc-386-mingw-exec",
    		"debug/plan9obj/testdata/amd64-plan9-exec",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 23:32:34 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/init.go

    				// Compiler does not support "--version" flag: not Clang or GCC.
    				return err
    			}
    
    			var match [][]byte
    			if bytes.HasPrefix(out, []byte("gcc")) {
    				compiler.name = "gcc"
    				out, err := exec.Command(cc, "-v").CombinedOutput()
    				if err != nil {
    					// gcc, but does not support gcc's "-v" flag?!
    					return err
    				}
    				gccRE := regexp.MustCompile(`gcc version (\d+)\.(\d+)`)
    				match = gccRE.FindSubmatch(out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 19:13:34 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/build.gradle

                }
    
                if (targetPlatform.operatingSystem.linux) {
                    cppCompiler.args '-pthread'
                    linker.args '-pthread'
    
                    if (toolChain instanceof Gcc || toolChain instanceof Clang) {
                        // Use C++03 with the old ABIs, as this is what the googletest binaries were built with
                        cppCompiler.args '-std=c++03', '-D_GLIBCXX_USE_CXX11_ABI=0'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/tool-chains/groovy/src/main/cpp/main.cpp

        #elif defined(__GNUC__) && defined(__MINGW32__)
            std::cout << "Hello from mingw!" << std::endl;
        #elif defined(__GNUC__) && defined(__CYGWIN__)
            std::cout << "Hello from gcc cygwin!" << std::endl;
        #elif defined(__GNUC__)
            std::cout << "Hello from gcc!" << std::endl;
        #elif defined(_MSC_VER)
            std::cout << "Hello from visual c++!" << std::endl;
        #else
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 615 bytes
    - Viewed (0)
Back to top