Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 220 for linking (0.19 sec)

  1. src/cmd/go/testdata/script/version_cshared.txt

    [short] skip
    [!cgo] skip '-buildmode=c-shared requires external linking'
    [!buildmode:c-shared] stop
    
    env GO111MODULE=on
    
    go get rsc.io/fortune
    go build -buildmode=c-shared -o external.so rsc.io/fortune
    go version external.so
    stdout '^external.so: .+'
    go version -m external.so
    stdout '^\tpath\trsc.io/fortune'
    stdout '^\tmod\trsc.io/fortune\tv1.0.0'
    
    -- go.mod --
    module m
    
    -- empty.go --
    package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 14:52:04 UTC 2024
    - 416 bytes
    - Viewed (0)
  2. test/fixedbugs/issue10607.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that a -B option is passed through when using both internal
    // and external linking mode.
    
    package main
    
    import (
    	"fmt"
    	"os"
    	"os/exec"
    	"path/filepath"
    )
    
    func main() {
    	test("internal")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 776 bytes
    - Viewed (0)
  3. src/cmd/link/doc.go

    		If not set, default value comes from running the compiler,
    		which may be set by the -extld option.
    		Set to "none" to use no support library.
    	-linkmode mode
    		Set link mode (internal, external, auto).
    		This sets the linking mode as described in cmd/cgo/doc.go.
    	-linkshared
    		Link against installed Go shared libraries (experimental).
    	-memprofile file
    		Write memory profile to file.
    	-memprofilerate rate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:11:52 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/testing/Flaky.kt

     */
    package okhttp3.testing
    
    @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
    @Retention(AnnotationRetention.RUNTIME)
    /**
     * Annotation marking a test as flaky, and requires extra logging and linking against
     * a known github issue.  This does not ignore the failure.
     */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 902 bytes
    - Viewed (0)
  5. src/cmd/go/scriptconds_test.go

    	add("msan", sysCondition("-msan", platform.MSanSupported, true))
    	add("mustlinkext", script.Condition("platform always requires external linking", mustLinkExt))
    	add("net", script.PrefixCondition("can connect to external network host <suffix>", hasNet))
    	add("pielinkext", script.Condition("platform requires external linking for PIE", pieLinkExt))
    	add("race", sysCondition("-race", platform.RaceDetectorSupported, true))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/version.txt

    # Repeat the test with -buildmode=pie and default linking.
    [!buildmode:pie] stop
    [pielinkext] [!cgo] stop
    go build -buildmode=pie -o external.exe rsc.io/fortune
    go version external.exe
    stdout '^external.exe: .+'
    go version -m external.exe
    stdout -buildmode=pie
    stdout '^\tpath\trsc.io/fortune'
    stdout '^\tmod\trsc.io/fortune\tv1.0.0'
    
    # Also test PIE with internal linking.
    [pielinkext] stop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 14:52:04 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_ppc64_linker_funcs.txt

    # Tests that the linker implements the PPC64 ELFv2 ABI
    # register save and restore functions as defined in
    # section 2.3.3.1 of the PPC64 ELFv2 ABI when linking
    # external objects most likely compiled with gcc's
    # -Os option.
    #
    # Verifies golang.org/issue/52366 for linux/ppc64le
    [!GOOS:linux] skip
    [!compiler:gc] skip
    [!cgo] skip
    [!GOARCH:ppc64le] skip
    
    go build -ldflags='-linkmode=internal'
    exec ./abitest
    stdout success
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/build_pie_race.txt

    [!GOOS:darwin] stop 'not testing -buildmode=pie -race on platform that does not support it'
    
    go build -buildmode=pie -race bytes
    ! stderr .
    
    [short] stop 'not linking a binary in -short mode'
    
    go build -buildmode=pie -race main.go
    ! stderr .
    exec ./main
    stdout 'Hello, 世界'
    
    -- go.mod --
    module m
    
    go 1.21
    -- main.go --
    package main
    
    import "fmt"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 19:13:34 UTC 2023
    - 672 bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/PlatformToolProvider.java

        String getObjectFileExtension();
    
        String getExecutableName(String executablePath);
    
        String getSharedLibraryName(String libraryPath);
    
        /**
         * Does this tool chain produce an import library when linking a shared library?
         */
        boolean producesImportLibrary();
    
        /**
         * Whether or not this tool chain requires a debuggable binary to be stripped or whether the binary is stripped by default.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/NativeLanguageTools.java

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.toolchain.internal;
    
    import java.io.File;
    
    /**
     * Tools for compiling and linking native languages.
     */
    public interface NativeLanguageTools extends ExecutableTools {
        File getCompilerExecutable();
    
        File getLinkerExecutable();
    
        File getArchiverExecutable();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 981 bytes
    - Viewed (0)
Back to top