Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 429 for linknew (0.19 sec)

  1. test/linkx_run.go

    	_, err = cmd.CombinedOutput()
    	if err == nil {
    		fmt.Println("-X linker flag should not accept keys without values")
    		os.Exit(1)
    	}
    
    	// Issue 9621
    	cmd = exec.Command("go", "run", "-ldflags=-X main.b=false -X main.x=42", "linkx.go")
    	outx, err := cmd.CombinedOutput()
    	if err == nil {
    		fmt.Println("-X linker flag should not overwrite non-strings")
    		os.Exit(1)
    	}
    	outstr := string(outx)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. doc/initial/5-toolchain.md

    ## Compiler {#compiler}
    
    ## Assembler {#assembler}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 18:07:49 UTC 2024
    - 74 bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftLinkerTest.groovy

        BuildOperationExecutor buildOperationExecutor = Mock(BuildOperationExecutor)
        BuildOperationQueue queue = Mock(BuildOperationQueue)
        WorkerLeaseService workerLeaseService = new TestWorkerLeaseService()
    
        SwiftLinker linker = new SwiftLinker(buildOperationExecutor, commandLineTool, invocationContext, workerLeaseService)
    
        def "ignores install name for all major operating system"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/build.gradle

                    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'
                        linker.args '-std=c++03'
                    }
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cgo_suspect_flag_force_external.txt

    [short] skip
    
    # In the remaining tests below we do actual builds (without -n) to
    # verify that the Go linker is going the right thing in addition to the
    # Go command. Here the idea is to pass "-tmpdir" to the linker, then
    # check after the link is done for the presence of the file
    # <tmpdir>/go.o, which the Go linker creates prior to kicking off the
    # external linker.
    
    mkdir tmp1
    mkdir tmp2
    mkdir tmp3
    mkdir tmp4
    mkdir tmp5
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 25 18:16:01 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/DefaultVisualCppPlatformToolChain.java

            tools.put(ToolType.CPP_COMPILER, instantiator.newInstance(DefaultCommandLineToolConfiguration.class, ToolType.CPP_COMPILER));
            tools.put(ToolType.LINKER, instantiator.newInstance(DefaultCommandLineToolConfiguration.class, ToolType.LINKER));
            tools.put(ToolType.STATIC_LIB_ARCHIVER, instantiator.newInstance(DefaultCommandLineToolConfiguration.class, ToolType.STATIC_LIB_ARCHIVER));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/security.go

    // Checking of compiler and linker flags.
    // We must avoid flags like -fplugin=, which can allow
    // arbitrary code execution during the build.
    // Do not make changes here without carefully
    // considering the implications.
    // (That's why the code is isolated in a file named security.go.)
    //
    // Note that -Wl,foo means split foo on commas and pass to
    // the linker, so that -Wl,-foo,bar means pass -foo bar to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/GccToolChainDiscoveryIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "fails when required linker tool is not available but language tool is available"() {
            when:
            buildFile << """
    model {
        toolChains {
            ${toolChain.id} {
                eachPlatform {
                    linker.executable = 'does-not-exist'
                }
            }
        }
    }
    """
            fails "mainExecutable"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterTest.groovy

            relativePaths == [
                "in1", "in1/linked",
                "in1/linked/in2", "in1/linked/in2/some", "in1/linked/in2/some/dir", "in1/linked/in2/some/dir/file.txt",
                "in1/linked/other", "in1/linked/other/linked3",
                "in1/linked/other/linked3/another", "in1/linked/other/linked3/another/fileLink",
                "in1/linked/other/linked3/in3", "in1/linked/other/linked3/in3/my", "in1/linked/other/linked3/in3/my/file.txt",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccLinkerTest.groovy

        BuildOperationExecutor buildOperationExecutor = Mock(BuildOperationExecutor)
        BuildOperationQueue queue = Mock(BuildOperationQueue)
        WorkerLeaseService workerLeaseService = new TestWorkerLeaseService()
    
        GccLinker linker = new GccLinker(buildOperationExecutor, commandLineTool, invocationContext, false, workerLeaseService)
    
        def "links all object files in a single execution"() {
            given:
            def testDir = tmpDirProvider.testDirectory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top