From 00c543d4bc94ba42c08148a482abed06fd5b3217 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sat, 29 Nov 2003 13:06:32 +0000 Subject: also import this dir. --- gnu/usr.bin/gcc/contrib/gcc_build | 320 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 320 insertions(+) create mode 100755 gnu/usr.bin/gcc/contrib/gcc_build (limited to 'gnu/usr.bin/gcc/contrib/gcc_build') diff --git a/gnu/usr.bin/gcc/contrib/gcc_build b/gnu/usr.bin/gcc/contrib/gcc_build new file mode 100755 index 00000000000..416835c2ccc --- /dev/null +++ b/gnu/usr.bin/gcc/contrib/gcc_build @@ -0,0 +1,320 @@ +#! /bin/sh + +######################################################################## +# +# File: gcc_build +# Author: Mark Mitchell +# Date: 07/10/2000 +# +# Contents: +# Script to automatically download and build GCC. +# +# Copyright (c) 2000, 2001 Free Software Foundation. +# +# This file is part of GNU CC. +# +# GNU CC is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU CC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU CC; see the file COPYING. If not, write to +# the Free Software Foundation, 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. +# +######################################################################## + +######################################################################## +# Notes +######################################################################## + +# If you are using password-based CVS, you must manually log in, and +# not log out from, the CVS server before running this script. + +# You can set the following variables in the environment. They +# have no corresponding command-line options because they should +# only be needed infrequently: +# +# MAKE The path to `make'. + +######################################################################## +# Functions +######################################################################## + +# Issue the error message given by $1 and exit with a non-zero +# exit code. + +error() { + echo "gcc_build: error: $1" + exit 1 +} + +# Issue a usage message explaining how to use this script. + +usage() { +cat <