Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 814 for linking (0.13 sec)

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

    # This test checks that external linking with --gc-sections does not strip version information.
    
    [short] skip
    [!cgo] skip
    [GOOS:aix] skip  # no --gc-sections
    [GOOS:darwin] skip  # no --gc-sections
    
    go build -ldflags='-linkmode=external -extldflags=-Wl,--gc-sections'
    go version hello$GOEXE
    ! stdout 'not a Go executable'
    ! stderr 'not a Go executable'
    
    -- go.mod --
    module hello
    -- hello.go --
    package main
    
    /*
    */
    import "C"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 15:17:57 UTC 2023
    - 460 bytes
    - Viewed (0)
  2. 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)
  3. .github/PULL_REQUEST_TEMPLATE.md

    KEPs or supporting documentation, please reference a specific commit and avoid
    linking directly to the master branch. This ensures that links reference a
    specific point in time, rather than a document that may change over time.
    
    See here for guidance on getting permanent links to files: https://help.github.com/en/articles/getting-permanent-links-to-files
    
    Please use the following format for linking documentation:
    - [KEP]: <link>
    - [Usage]: <link>
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Aug 01 08:59:21 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/symtab.go

    		// TODO(mwhudson): We only set AttrVisibilityHidden in ldelf, i.e. when
    		// internally linking. But STV_HIDDEN visibility only matters in object
    		// files and shared libraries, and as we are a long way from implementing
    		// internal linking for shared libraries and only create object files when
    		// externally linking, I don't think this makes a lot of sense.
    		other = int(elf.STV_HIDDEN)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/native/building_cpp_projects.adoc

    As far as configurations go, the main ones of interest are:
    
     * `implementation` - used for compilation, linking and runtime
     * `cppCompile__Variant__` - for dependencies that are necessary to compile your production code but shouldn’t be part of the linking or runtime process
     * `nativeLink__Variant__` - for dependencies that are necessary to link your code but shouldn’t be part of the compilation or runtime process
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  6. src/runtime/cgo/iscgo.go

    // There are various function pointers that should be set too,
    // but those depend on dynamic linker magic to get initialized
    // correctly, and sometimes they break. This variable is a
    // backup: it depends only on old C style static linking rules.
    
    package cgo
    
    import _ "unsafe" // for go:linkname
    
    //go:linkname _iscgo runtime.iscgo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 02 00:13:47 UTC 2016
    - 646 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/cmd/go/internal/web/bootstrap.go

    //go:build cmd_go_bootstrap
    
    // This code is compiled only into the bootstrap 'go' binary.
    // These stubs avoid importing packages with large dependency
    // trees that potentially require C linking,
    // like the use of "net/http" in vcs.go.
    
    package web
    
    import (
    	"errors"
    	urlpkg "net/url"
    )
    
    func get(security SecurityMode, url *urlpkg.URL) (*Response, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:00:34 UTC 2022
    - 691 bytes
    - Viewed (0)
  10. src/internal/testenv/testenv.go

    		if withCgo && CanInternalLink(false) {
    			t.Skipf("skipping test: internal linking on %s/%s is not supported with cgo", runtime.GOOS, runtime.GOARCH)
    		}
    		t.Skipf("skipping test: internal linking on %s/%s is not supported", runtime.GOOS, runtime.GOARCH)
    	}
    }
    
    // MustInternalLinkPIE checks whether the current system can link PIE binary using
    // internal linking.
    // If not, MustInternalLinkPIE calls t.Skip with an explanation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top