aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.sh
blob: 6ef6efbf01db1fc32ef4c9aed8b247b7533d3ea7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

. ./vars.sh
. ./download-funcs.sh
. ./bootstrap-funcs.sh

print_info "Root is $CROSS_TOOLS"
print_info "Cross-compiling on $HOST to $TARGET"

setup_directories

mkdir -p $BUILD_ROOT/bootstrap &&
   cd $BUILD_ROOT/bootstrap &&
   compile_binutils &&
   compile_gcc &&
   compile_pkgconfiglite &&
   install_gnumach_headers &&
   install_gnumig &&
   install_hurd_headers &&
   compile_first_glibc &&
   compile_full_gcc &&
   compile_second_glibc &&
   print_info "bootstrap.sh finished successfully" &&
   exit 0