Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for building (0.3 sec)

  1. src/bootstrap.bash

    src=$(cd .. && pwd)
    echo "#### Copying to $targ"
    cp -Rp "$src" "$targ"
    cd "$targ"
    echo
    echo "#### Cleaning $targ"
    chmod -R +w .
    rm -f .gitignore
    if [ -e .git ]; then
    	git clean -f -d
    fi
    echo
    echo "#### Building $targ"
    echo
    cd src
    ./make.bash --no-banner $forceflag
    gohostos="$(../bin/go env GOHOSTOS)"
    gohostarch="$(../bin/go env GOHOSTARCH)"
    goos="$(../bin/go env GOOS)"
    goarch="$(../bin/go env GOARCH)"
    
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    permitted, notably alphanumeric characters and a few symbols, such as
    '.', that will not be interpreted in unexpected ways. Attempts to use
    forbidden characters will get a "malformed #cgo argument" error.
    
    When building, the CGO_CFLAGS, CGO_CPPFLAGS, CGO_CXXFLAGS, CGO_FFLAGS and
    CGO_LDFLAGS environment variables are added to the flags derived from
    these directives. Package-specific flags should be set using the
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/archive/zip/reader.go

    	}
    
    	return p
    }
    
    func (r *Reader) initFileList() {
    	r.fileListOnce.Do(func() {
    		// files and knownDirs map from a file/directory name
    		// to an index into the r.fileList entry that we are
    		// building. They are used to mark duplicate entries.
    		files := make(map[string]int)
    		knownDirs := make(map[string]int)
    
    		// dirs[name] is true if name is known to be a directory,
    		// because it appears as a prefix in a path.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  4. doc/next/5-toolchain.md

    ## Compiler {#compiler}
    
    The build time overhead to building with [Profile Guided Optimization](/doc/pgo) has been reduced significantly.
    Previously, large builds could see 100%+ build time increase from enabling PGO.
    In Go 1.23, overhead should be in the single digit percentages.
    
    ## Assembler {#assembler}
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 18 15:39:17 GMT 2024
    - 332 bytes
    - Viewed (0)
  5. src/buildall.bash

    }
    
    # Note words in $targets are separated by both newlines and spaces.
    targets="$(linux_targets) $(non_linux_targets)"
    
    failed=false
    for target in $targets
    do
    	echo ""
    	echo "### Building $target"
    	export GOOS=$(echo $target | sed 's/-.*//')
    	export GOARCH=$(echo $target | sed 's/.*-//')
    	unset GOARM
    	if [ "$GOARCH" = "arm5" ]; then
    		export GOARCH=arm
    		export GOARM=5
    	fi
    
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 23 17:45:23 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/cmd/asm/main.go

    import (
    	"bufio"
    	"flag"
    	"fmt"
    	"internal/buildcfg"
    	"log"
    	"os"
    
    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/asm"
    	"cmd/asm/internal/flags"
    	"cmd/asm/internal/lex"
    
    	"cmd/internal/bio"
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    )
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("asm: ")
    
    	buildcfg.Check()
    	GOARCH := buildcfg.GOARCH
    
    	flags.Parse()
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  7. .gitignore

    /misc/cgo/testso/main
    /pkg/
    /src/*.*/
    /src/cmd/cgo/zdefaultcc.go
    /src/cmd/dist/dist
    /src/cmd/go/internal/cfg/zdefaultcc.go
    /src/cmd/internal/objabi/zbootstrap.go
    /src/go/build/zcgo.go
    /src/go/doc/headscan
    /src/internal/buildcfg/zbootstrap.go
    /src/runtime/internal/sys/zversion.go
    /src/unicode/maketables
    /src/time/tzdata/zzipdata.go
    /test.out
    /test/garbage/*.out
    /test/pass.out
    /test/run.out
    /test/times.out
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jun 22 19:44:52 GMT 2023
    - 958 bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/operand_test.go

    package asm
    
    import (
    	"internal/buildcfg"
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    )
    
    // A simple in-out test: Do we print what we parse?
    
    func setArch(goarch string) (*arch.Arch, *obj.Link) {
    	buildcfg.GOOS = "linux" // obj can handle this OS for all architectures.
    	buildcfg.GOARCH = goarch
    	architecture := arch.Set(goarch, false)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    in a declaration, but it does not introduce a binding and thus is not declared.
    In the package block, the identifier <code>init</code> may only be used for
    <a href="#Package_initialization"><code>init</code> function</a> declarations,
    and like the blank identifier it does not introduce a new binding.
    </p>
    
    <pre class="ebnf">
    Declaration   = ConstDecl | TypeDecl | VarDecl .
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  10. src/cmd/buildid/buildid.go

    package main
    
    import (
    	"flag"
    	"fmt"
    	"log"
    	"os"
    	"strings"
    
    	"cmd/internal/buildid"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go tool buildid [-w] file\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    var wflag = flag.Bool("w", false, "write build ID")
    
    func main() {
    	log.SetPrefix("buildid: ")
    	log.SetFlags(0)
    	flag.Usage = usage
    	flag.Parse()
    	if flag.NArg() != 1 {
    		usage()
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 06 14:30:53 GMT 2022
    - 1.5K bytes
    - Viewed (0)
Back to top