2000-12-05 07:03:07 +08:00
|
|
|
#! /bin/sh
|
|
|
|
#
|
|
|
|
# Script to generate the NEWS file from online release notes.
|
|
|
|
# Contributed by Joseph Myers <jsm28@cam.ac.uk>.
|
|
|
|
#
|
2023-01-16 18:50:43 +08:00
|
|
|
# Copyright (C) 2000-2023 Free Software Foundation, Inc.
|
2003-05-24 00:20:44 +08:00
|
|
|
# This file is part of GCC.
|
2000-12-05 07:03:07 +08:00
|
|
|
#
|
2003-05-24 00:20:44 +08:00
|
|
|
# GCC is free software; you can redistribute it and/or modify
|
2000-12-05 07:03:07 +08:00
|
|
|
# it under the terms of the GNU General Public License as published by
|
2007-12-27 05:42:35 +08:00
|
|
|
# the Free Software Foundation; either version 3, or (at your option)
|
2000-12-05 07:03:07 +08:00
|
|
|
# any later version.
|
|
|
|
#
|
2003-05-24 00:20:44 +08:00
|
|
|
# GCC is distributed in the hope that it will be useful,
|
2000-12-05 07:03:07 +08:00
|
|
|
# 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
|
2003-05-24 00:20:44 +08:00
|
|
|
# along with GCC; see the file COPYING. If not, write to
|
2005-08-15 08:41:31 +08:00
|
|
|
# the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
|
|
|
# Boston, MA 02110-1301, USA.
|
2000-12-05 07:03:07 +08:00
|
|
|
|
|
|
|
website=http://gcc.gnu.org/
|
2007-05-14 08:33:48 +08:00
|
|
|
files="
|
2023-04-26 15:05:49 +08:00
|
|
|
gcc-13/index.html gcc-13/changes.html
|
2022-05-06 14:44:43 +08:00
|
|
|
gcc-12/index.html gcc-12/changes.html
|
2021-04-27 17:01:25 +08:00
|
|
|
gcc-11/index.html gcc-11/changes.html
|
|
|
|
gcc-10/index.html gcc-10/changes.html
|
2019-05-03 15:40:10 +08:00
|
|
|
gcc-9/index.html gcc-9/changes.html
|
2018-05-02 16:12:23 +08:00
|
|
|
gcc-8/index.html gcc-8/changes.html
|
2017-05-02 20:37:31 +08:00
|
|
|
gcc-7/index.html gcc-7/changes.html
|
2016-04-27 15:48:34 +08:00
|
|
|
gcc-6/index.html gcc-6/changes.html
|
2015-04-22 16:14:03 +08:00
|
|
|
gcc-5/index.html gcc-5/changes.html
|
2014-04-22 16:23:08 +08:00
|
|
|
gcc-4.9/index.html gcc-4.9/changes.html
|
2013-03-22 17:47:51 +08:00
|
|
|
gcc-4.8/index.html gcc-4.8/changes.html
|
2012-03-14 07:21:38 +08:00
|
|
|
gcc-4.7/index.html gcc-4.7/changes.html
|
2011-03-06 03:49:36 +08:00
|
|
|
gcc-4.6/index.html gcc-4.6/changes.html
|
2010-04-06 22:06:04 +08:00
|
|
|
gcc-4.5/index.html gcc-4.5/changes.html
|
2009-04-14 17:56:38 +08:00
|
|
|
gcc-4.4/index.html gcc-4.4/changes.html
|
2008-03-06 00:22:11 +08:00
|
|
|
gcc-4.3/index.html gcc-4.3/changes.html
|
2007-05-14 08:33:48 +08:00
|
|
|
gcc-4.2/index.html gcc-4.2/changes.html
|
|
|
|
gcc-4.1/index.html gcc-4.1/changes.html
|
2006-02-28 16:10:09 +08:00
|
|
|
gcc-4.0/index.html gcc-4.0/changes.html
|
2005-04-17 19:19:23 +08:00
|
|
|
gcc-3.4/index.html gcc-3.4/changes.html
|
2004-05-15 17:50:58 +08:00
|
|
|
gcc-3.3/index.html gcc-3.3/changes.html
|
2003-10-17 03:18:52 +08:00
|
|
|
gcc-3.2/index.html gcc-3.2/changes.html
|
2002-08-14 16:35:37 +08:00
|
|
|
gcc-3.1/index.html gcc-3.1/changes.html
|
2014-06-29 05:08:21 +08:00
|
|
|
gcc-3.0/index.html gcc-3.0/features.html gcc-3.0/caveats.html
|
2002-01-26 07:27:45 +08:00
|
|
|
gcc-2.95/index.html gcc-2.95/features.html gcc-2.95/caveats.html
|
|
|
|
egcs-1.1/index.html egcs-1.1/features.html egcs-1.1/caveats.html
|
2005-06-06 04:35:21 +08:00
|
|
|
egcs-1.0/index.html egcs-1.0/features.html egcs-1.0/caveats.html"
|
2000-12-05 07:03:07 +08:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
cat <<EOF
|
2002-07-25 22:34:56 +08:00
|
|
|
This file contains information about GCC releases which has been generated
|
|
|
|
automatically from the online release notes. It covers releases of GCC
|
|
|
|
(and the former EGCS project) since EGCS 1.0, on the line of development
|
|
|
|
that led to GCC 3. For information on GCC 2.8.1 and older releases of GCC 2,
|
|
|
|
see ONEWS.
|
2000-12-05 07:03:07 +08:00
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
header="======================================================================"
|
|
|
|
|
|
|
|
echo $header
|
|
|
|
|
|
|
|
for file in $files; do
|
|
|
|
wfile=$website$file
|
|
|
|
echo $wfile
|
2001-06-14 02:37:16 +08:00
|
|
|
# We lie to Lynx about the kind of terminal in use because we
|
|
|
|
# want to get consistent output everywhere, and we want this
|
|
|
|
# script to work even when it is not run interactively.
|
|
|
|
env TERM=vt100 lynx -dump $wfile
|
2000-12-05 07:03:07 +08:00
|
|
|
echo $header
|
|
|
|
done
|