diff options
author | Pasha <pasha@member.fsf.org> | 2024-02-29 19:30:30 +0000 |
---|---|---|
committer | Pasha <pasha@member.fsf.org> | 2024-02-29 19:30:30 +0000 |
commit | 84d199451cf33734003c00c043a1480920f5563b (patch) | |
tree | 4655f03b3637184bfb363b4e86d376756e85c9e3 /bootstrap.sh | |
download | cross-hurd-84d199451cf33734003c00c043a1480920f5563b.tar.gz cross-hurd-84d199451cf33734003c00c043a1480920f5563b.tar.bz2 |
initial commit
Diffstat (limited to 'bootstrap.sh')
-rw-r--r-- | bootstrap.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100644 index 0000000..6ef6efb --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,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 |