$96 GRAYBYTE WORDPRESS FILE MANAGER $33

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/lib/golang/src/

HOME
Current File : /lib/golang/src//bootstrap.bash
#!/usr/bin/env bash
# Copyright 2015 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

# When run as (for example)
#
#	GOOS=linux GOARCH=ppc64 bootstrap.bash
#
# this script cross-compiles a toolchain for that GOOS/GOARCH
# combination, leaving the resulting tree in ../../go-${GOOS}-${GOARCH}-bootstrap.
# That tree can be copied to a machine of the given target type
# and used as $GOROOT_BOOTSTRAP to bootstrap a local build.
#
# Only changes that have been committed to Git (at least locally,
# not necessary reviewed and submitted to master) are included in the tree.
#
# See also golang.org/x/build/cmd/genbootstrap, which is used
# to generate bootstrap tgz files for builders.

set -e

if [ "$GOOS" = "" -o "$GOARCH" = "" ]; then
	echo "usage: GOOS=os GOARCH=arch ./bootstrap.bash [-force]" >&2
	exit 2
fi

forceflag=""
if [ "$1" = "-force" ]; then
	forceflag=-force
	shift
fi

targ="../../go-${GOOS}-${GOARCH}-bootstrap"
if [ -e $targ ]; then
	echo "$targ already exists; remove before continuing"
	exit 2
fi

unset GOROOT
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)"

# NOTE: Cannot invoke go command after this point.
# We're about to delete all but the cross-compiled binaries.
cd ..
if [ "$goos" = "$gohostos" -a "$goarch" = "$gohostarch" ]; then
	# cross-compile for local system. nothing to copy.
	# useful if you've bootstrapped yourself but want to
	# prepare a clean toolchain for others.
	true
else
	rm -f bin/go_${goos}_${goarch}_exec
	mv bin/*_*/* bin
	rmdir bin/*_*
	rm -rf "pkg/${gohostos}_${gohostarch}" "pkg/tool/${gohostos}_${gohostarch}"
fi

rm -rf pkg/bootstrap pkg/obj .git

echo ----
echo Bootstrap toolchain for "$GOOS/$GOARCH" installed in "$(pwd)".
echo Building tbz.
cd ..
tar cf - "go-${GOOS}-${GOARCH}-bootstrap" | bzip2 -9 >"go-${GOOS}-${GOARCH}-bootstrap.tbz"
ls -l "$(pwd)/go-${GOOS}-${GOARCH}-bootstrap.tbz"
exit 0

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
16 Dec 2025 9.30 PM
root / root
0755
archive
--
4 Dec 2025 6.06 PM
root / root
0755
arena
--
16 Dec 2025 9.30 PM
root / root
0755
bufio
--
16 Dec 2025 9.30 PM
root / root
0755
builtin
--
16 Dec 2025 9.30 PM
root / root
0755
bytes
--
16 Dec 2025 9.30 PM
root / root
0755
cmd
--
16 Dec 2025 9.30 PM
root / root
0755
cmp
--
16 Dec 2025 9.30 PM
root / root
0755
compress
--
4 Dec 2025 6.06 PM
root / root
0755
container
--
4 Dec 2025 6.06 PM
root / root
0755
context
--
16 Dec 2025 9.30 PM
root / root
0755
crypto
--
16 Dec 2025 9.30 PM
root / root
0755
database
--
4 Dec 2025 6.06 PM
root / root
0755
debug
--
4 Dec 2025 6.06 PM
root / root
0755
embed
--
16 Dec 2025 9.30 PM
root / root
0755
encoding
--
16 Dec 2025 9.30 PM
root / root
0755
errors
--
16 Dec 2025 9.30 PM
root / root
0755
expvar
--
16 Dec 2025 9.30 PM
root / root
0755
flag
--
16 Dec 2025 9.30 PM
root / root
0755
fmt
--
16 Dec 2025 9.30 PM
root / root
0755
go
--
4 Dec 2025 6.06 PM
root / root
0755
hash
--
16 Dec 2025 9.30 PM
root / root
0755
html
--
16 Dec 2025 9.30 PM
root / root
0755
image
--
16 Dec 2025 9.30 PM
root / root
0755
index
--
4 Dec 2025 6.06 PM
root / root
0755
internal
--
16 Dec 2025 9.30 PM
root / root
0755
io
--
16 Dec 2025 9.30 PM
root / root
0755
iter
--
16 Dec 2025 9.30 PM
root / root
0755
log
--
16 Dec 2025 9.30 PM
root / root
0755
maps
--
16 Dec 2025 9.30 PM
root / root
0755
math
--
16 Dec 2025 9.30 PM
root / root
0755
mime
--
16 Dec 2025 9.30 PM
root / root
0755
net
--
16 Dec 2025 9.34 PM
root / root
0755
os
--
16 Dec 2025 9.30 PM
root / root
0755
path
--
16 Dec 2025 9.30 PM
root / root
0755
plugin
--
16 Dec 2025 9.30 PM
root / root
0755
reflect
--
16 Dec 2025 9.30 PM
root / root
0755
regexp
--
16 Dec 2025 9.30 PM
root / root
0755
runtime
--
16 Dec 2025 9.34 PM
root / root
0755
slices
--
16 Dec 2025 9.30 PM
root / root
0755
sort
--
16 Dec 2025 9.30 PM
root / root
0755
strconv
--
16 Dec 2025 9.30 PM
root / root
0755
strings
--
16 Dec 2025 9.30 PM
root / root
0755
structs
--
16 Dec 2025 9.30 PM
root / root
0755
sync
--
16 Dec 2025 9.30 PM
root / root
0755
syscall
--
16 Dec 2025 9.30 PM
root / root
0755
testing
--
16 Dec 2025 9.30 PM
root / root
0755
text
--
4 Dec 2025 6.06 PM
root / root
0755
time
--
16 Dec 2025 9.30 PM
root / root
0755
unicode
--
16 Dec 2025 9.30 PM
root / root
0755
unique
--
16 Dec 2025 9.30 PM
root / root
0755
unsafe
--
16 Dec 2025 9.30 PM
root / root
0755
vendor
--
16 Dec 2025 9.30 PM
root / root
0755
weak
--
16 Dec 2025 9.30 PM
root / root
0755
Make.dist
0.54 KB
4 Dec 2025 6.06 PM
root / root
0644
README.vendor
2.372 KB
4 Dec 2025 6.06 PM
root / root
0644
all.bash
0.369 KB
4 Dec 2025 6.06 PM
root / root
0755
all.bat
0.379 KB
4 Dec 2025 6.06 PM
root / root
0644
all.rc
0.382 KB
4 Dec 2025 6.06 PM
root / root
0755
bootstrap.bash
2.251 KB
4 Dec 2025 6.06 PM
root / root
0755
buildall.bash
2.075 KB
4 Dec 2025 6.06 PM
root / root
0755
clean.bash
0.506 KB
4 Dec 2025 6.06 PM
root / root
0755
clean.bat
0.464 KB
4 Dec 2025 6.06 PM
root / root
0644
clean.rc
0.371 KB
4 Dec 2025 6.06 PM
root / root
0755
cmp.bash
1.456 KB
4 Dec 2025 6.06 PM
root / root
0644
go.mod
0.256 KB
4 Dec 2025 6.06 PM
root / root
0644
go.sum
1.025 KB
4 Dec 2025 6.06 PM
root / root
0644
make.bash
7.443 KB
4 Dec 2025 6.06 PM
root / root
0755
make.bat
4.011 KB
4 Dec 2025 6.06 PM
root / root
0644
make.rc
3.747 KB
4 Dec 2025 6.06 PM
root / root
0755
race.bash
0.938 KB
4 Dec 2025 6.06 PM
root / root
0755
race.bat
0.626 KB
4 Dec 2025 6.06 PM
root / root
0644
run.bash
1.676 KB
4 Dec 2025 6.06 PM
root / root
0755
run.bat
0.479 KB
4 Dec 2025 6.06 PM
root / root
0644
run.rc
0.396 KB
4 Dec 2025 6.06 PM
root / root
0755

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF