--- gcc-3.4-3.4.6.orig/.svn/format
+++ gcc-3.4-3.4.6/.svn/format
@@ -0,0 +1 @@
+4
--- gcc-3.4-3.4.6.orig/.svn/entries
+++ gcc-3.4-3.4.6/.svn/entries
@@ -0,0 +1,17 @@
+
+
+
+
+
--- gcc-3.4-3.4.6.orig/.svn/README.txt
+++ gcc-3.4-3.4.6/.svn/README.txt
@@ -0,0 +1,2 @@
+This is a Subversion working copy administrative directory.
+Visit http://subversion.tigris.org/ for more information.
--- gcc-3.4-3.4.6.orig/.svn/dir-props
+++ gcc-3.4-3.4.6/.svn/dir-props
@@ -0,0 +1,15 @@
+K 10
+svn:ignore
+V 74
+bin
+build
+html
+locales
+stamps
+src
+*-protocol
+*-summary
+*.tar.bz2
+*.tar.gz
+
+END
--- gcc-3.4-3.4.6.orig/.svn/dir-prop-base
+++ gcc-3.4-3.4.6/.svn/dir-prop-base
@@ -0,0 +1,15 @@
+K 10
+svn:ignore
+V 74
+bin
+build
+html
+locales
+stamps
+src
+*-protocol
+*-summary
+*.tar.bz2
+*.tar.gz
+
+END
--- gcc-3.4-3.4.6.orig/debian/fixincludes.in
+++ gcc-3.4-3.4.6/debian/fixincludes.in
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+PATH="/@LIBEXECDIR@/install-tools:$PATH"
+
+TARGET_MACHINE=`dpkg-architecture -qDEB_HOST_GNU_TYPE`
+export TARGET_MACHINE
+
+exec fixinc.sh "$@"
--- gcc-3.4-3.4.6.orig/debian/gnat-BV-doc.prerm
+++ gcc-3.4-3.4.6/debian/gnat-BV-doc.prerm
@@ -0,0 +1,7 @@
+#! /bin/sh -e
+
+install-info --quiet --remove gnat_ugn_unw-@BV@
+install-info --quiet --remove gnat_rm-@BV@
+install-info --quiet --remove gnat-style-@BV@
+
+#DEBHELPER#
--- gcc-3.4-3.4.6.orig/debian/rules.unpack
+++ gcc-3.4-3.4.6/debian/rules.unpack
@@ -0,0 +1,93 @@
+# -*- makefile -*-
+# rules to unpack the source tarballs in $(srcdir); if the source dir already
+# exists, the rule exits with an error to prevent deletion of modified
+# source files. It has to be deleted manually.
+
+gcc_srcdir := gcc-3.4.6
+gcc_tarball := $(gcc_srcdir).tar.bz2
+
+gpc_srcdir := gpc-20060215
+gpc_tarball := gpc-20060215.tar.bz2
+
+#testsuite_srcdir := testsuite-3.3-20030118
+#testsuite_tarball := $(testsuite_srcdir).tar.bz2
+
+tarballs = $(gcc_tarball)
+ifeq ($(with_check),yes)
+ tarballs += $(testsuite_tarball)
+endif
+ifeq ($(with_pascal),yes)
+ tarballs += $(gpc_tarball)
+endif
+
+unpack_stamps = $(foreach i,$(tarballs),$(unpack_stamp)-$(i))
+
+unpack: stamp-dir $(unpack_stamp) debian-chmod
+$(unpack_stamp): $(unpack_stamps)
+$(unpack_stamp): $(foreach p,$(debian_tarballs),unpacked-$(p))
+ echo -e "\nBuilt from Debian source package $(PKGSOURCE)-$(SOURCE_VERSION)" \
+ > pxxx
+ echo -e "Integrated upstream packages in this version:\n" >> pxxx
+ for i in $(tarballs); do echo " $$i" >> pxxx; done
+ mv -f pxxx $@
+
+debian-chmod:
+ @chmod 755 debian/dh_*
+
+# ---------------------------------------------------------------------------
+$(unpack_stamp)-$(gcc_tarball): $(gcc_tarball)
+ : # unpack gcc tarball
+ -mkdir $(stampdir)
+ if [ -d $(srcdir) ]; then \
+ echo >&2 "Source directory $(srcdir) exists. Delete by hand"; \
+ false; \
+ fi
+ rm -rf $(gcc_srcdir)
+ case $(gcc_tarball) in \
+ *.bz2) tar -x --bzip2 -f $(gcc_tarball);; \
+ *.gz) tar -x --gzip -f $(gcc_tarball);; \
+ *) false; \
+ esac
+ mv $(gcc_srcdir) $(srcdir)
+ echo "$(gcc_tarball) unpacked." > $@
+
+# ---------------------------------------------------------------------------
+$(unpack_stamp)-$(gpc_tarball): $(gpc_tarball)
+ : # unpack gpc tarball
+ -mkdir $(stampdir)
+ if [ -d $(srcdir)/gcc/p ]; then \
+ echo >&2 "Source directory $(srcdir)/gcc/p exists. Delete by hand";\
+ false; \
+ fi
+ #rm -rf $(gpc_srcdir)
+ rm -rf p
+ case $(gpc_tarball) in \
+ *.bz2) tar -x --bzip2 -f $(gpc_tarball);; \
+ *.gz) tar -x --gzip -f $(gpc_tarball);; \
+ *) false; \
+ esac
+ if [ -d p ]; then \
+ mv p $(srcdir)/gcc/. ; \
+ else \
+ mv $(gpc_srcdir)/p $(srcdir)/gcc/. ; \
+ rm -rf $(gpc_srcdir)/CVS; \
+ rmdir $(gpc_srcdir); \
+ fi
+ echo "$(gpc_tarball) unpacked." > $@
+
+# ---------------------------------------------------------------------------
+$(unpack_stamp)-$(testsuite_tarball): $(testsuite_tarball)
+ : # unpack testsuite tarball
+ -mkdir $(stampdir)
+ rm -rf $(testsuite_srcdir)
+ case $(testsuite_tarball) in \
+ *.bz2) tar -x -p --bzip2 -f $(testsuite_tarball);; \
+ *.gz) tar -x -p --gzip -f $(testsuite_tarball);; \
+ *) false; \
+ esac
+ for t in gcc libjava libstdc++-v3; do \
+ rm -rf $(srcdir)/$$t/testsuite; \
+ mv $(testsuite_srcdir)/$$t/testsuite $(srcdir)/$$t/.; \
+ done
+ rm -rf $(testsuite_srcdir)
+ echo "$(testsuite_tarball) unpacked." > $@
--- gcc-3.4-3.4.6.orig/debian/gij-wrapper.1
+++ gcc-3.4-3.4.6/debian/gij-wrapper.1
@@ -0,0 +1,22 @@
+.TH GIJ-WRAPPER 1 "August 11, 2001" gij-wrapper "Java User's Manual"
+.SH NAME
+gij-wrapper \- a wrapper around gij
+
+.SH SYNOPSIS
+gij-wrapper [\fB\s-1OPTION\s0\fR] ... \fI\s-1JARFILE\s0\fR [\fI\s-1ARGS\s0\fR...]
+.PP
+gij-wrapper [\fB\-jar\fR] [\fB\s-1OPTION\s0\fR] ... \fI\s-1CLASS\s0\fR [\fI\s-1ARGS\s0\fR...]
+
+.SH DESCRIPTION
+
+\fBgij-wrapper\fR is a wrapper around gij(1) to be called as the java
+interpreter. Options different for java(1) and gij(1) are translated,
+options unknown to gij(1) are silently ignored.
+
+.SH OPTIONS
+See gij-3.3(1) for a list of options that gij understands.
+
+.SH "SEE ALSO"
+.BR gij-3.3(1)
+,
+.BR java(1)
--- gcc-3.4-3.4.6.orig/debian/gcc-BV-hppa64.postinst
+++ gcc-3.4-3.4.6/debian/gcc-BV-hppa64.postinst
@@ -0,0 +1,13 @@
+#! /bin/sh -e
+
+prio=`echo @BV@ | sed 's/\.//g'`
+
+update-alternatives --quiet \
+ --install /usr/bin/hppa64-linux-gnu-gcc \
+ hppa64-linux-gnu-gcc \
+ /usr/bin/hppa64-linux-gnu-gcc-@BV@ \
+ $prio
+
+#DEBHELPER#
+
+exit 0
--- gcc-3.4-3.4.6.orig/debian/logwatch.sh
+++ gcc-3.4-3.4.6/debian/logwatch.sh
@@ -0,0 +1,104 @@
+#! /bin/sh
+
+# script to trick the build daemons and output something, if there is
+# still test/build activity
+
+# $1: primary file to watch. if there is activity on this file, we do nothing
+# $2+: files to watch to look for activity despite no output in $1
+# if the files are modified or are newly created, then the message
+# is printed on stdout.
+# if nothing is modified, don't output anything (so the buildd timeout
+# hits).
+
+pidfile=logwatch.pid
+timeout=3600
+message='\nlogwatch still running\n'
+
+usage()
+{
+ echo >&2 "usage: `basename $0` [-p ] [-t ] [-m ]"
+ echo >&2 " [ ...]"
+ exit 1
+}
+
+while [ $# -gt 0 ]; do
+ case $1 in
+ -p)
+ pidfile=$2
+ shift
+ shift
+ ;;
+ -t)
+ timeout=$2
+ shift
+ shift
+ ;;
+ -m)
+ message="$2"
+ shift
+ shift
+ ;;
+ -*)
+ usage
+ ;;
+ *)
+ break
+ esac
+done
+
+[ $# -gt 0 ] || usage
+
+logfile="$1"
+shift
+otherlogs="$@"
+
+cleanup()
+{
+ rm -f $pidfile
+ exit 0
+}
+
+#trap cleanup 0 1 3 15
+
+echo $$ > $pidfile
+
+update()
+{
+ _logvar=$1
+ _othervar=$2
+
+ # logfile may not exist yet
+ if [ -r $logfile ]; then
+ _logtail="`tail -10 $logfile | md5sum` $f"
+ else
+ _logtail="does not exist: $logfile"
+ fi
+ eval $_logvar="'$_logtail'"
+
+ _othertails=''
+ for f in $otherlogs; do
+ if [ -r $f ]; then
+ _othertails="$_othertails `tail -10 $f | md5sum` $f"
+ else
+ _othertails="$_othertails does not exist: $f"
+ fi
+ done
+ eval $_othervar="'$_othertails'"
+}
+
+update logtail othertails
+while true; do
+ sleep $timeout
+ update newlogtail newothertails
+ if [ "$logtail" != "$newlogtail" ]; then
+ # there is still action in the primary logfile. do nothing.
+ logtail="$newlogtail"
+ elif [ "$othertails" != "$newothertails" ]; then
+ # there is still action in the other log files, so print the message
+ /bin/echo -e $message
+ othertails="$newothertails"
+ else
+ # nothing changed in the other log files. maybe a timeout ...
+ :
+ fi
+done
--- gcc-3.4-3.4.6.orig/debian/gcj-wrapper
+++ gcc-3.4-3.4.6/debian/gcj-wrapper
@@ -0,0 +1,89 @@
+#!/usr/bin/perl -w
+#
+# Starts the GNU Java compiler.
+#
+# Command-line arguments should be in the style of Sun's Java compiler;
+# these will be converted to gcj arguments before being passed to the
+# gcj itself.
+#
+# Copyright (C) 2002-2003 by Ben Burton
+# Based on the original gcj-wrapper-3.2 shell script.
+
+use strict;
+
+# The real Java compiler:
+my $javaCompiler = '/usr/bin/gcj-3.4';
+
+# The command-line arguments to pass to the real Java compiler:
+my @commandLine;
+
+# The warning flags to pass to the GNU Java compiler:
+my $warnings = '-Wall';
+
+# Build the command-line from the arguments given.
+my $parsingOptions = 1;
+my $copyNextArg = 0;
+my $ignoreNextArg = 0;
+my $appendNextArg = '';
+foreach my $arg (@ARGV) {
+ # See if we already know what to do with this argument.
+ if ($ignoreNextArg) {
+ # Throw it away.
+ $ignoreNextArg = 0;
+ next;
+ } elsif ($copyNextArg or not $parsingOptions) {
+ # Copy it directly.
+ push @commandLine, $arg;
+ $copyNextArg = 0;
+ next;
+ } elsif ($appendNextArg) {
+ # Append it to $appendNextArg and then copy directly.
+ push @commandLine, ($appendNextArg . $arg);
+ $appendNextArg = '';
+ next;
+ }
+
+ # Try to interpret Sun-style options.
+ if ($arg eq '-version') {
+ push @commandLine, '--version';
+ } elsif ($arg eq '-h' or $arg eq '-help') {
+ push @commandLine, '--help';
+ } elsif ($arg eq '-classpath' or $arg eq '--classpath' or $arg eq '--cp') {
+ $appendNextArg = '--classpath=';
+ } elsif ($arg eq '-encoding' or $arg eq '-bootclasspath' or
+ $arg eq '-extdirs') {
+ $appendNextArg = '-' . $arg . '=';
+ } elsif ($arg eq '-d') {
+ push @commandLine, '-d';
+ $copyNextArg = 1;
+ } elsif ($arg eq '-nowarn') {
+ $warnings = '';
+ } elsif ($arg =~ /^-g/) {
+ # Some kind of debugging option - just switch debugging on.
+ push @commandLine, '-g' if ($arg ne '-g:none');
+ } elsif ($arg eq '-O') {
+ push @commandLine, '-O2';
+ } elsif ($arg =~ /^-X/) {
+ # An extended Sun option (which we don't support).
+ push @commandLine, '--help' if ($arg eq '-X');
+ } elsif ($arg eq '-source' or $arg eq '-sourcepath' or $arg eq '-target') {
+ # An unsupported option with a following argument.
+ $ignoreNextArg = 1;
+ } elsif ($arg =~ /^-/) {
+ # An unsupported standalone option.
+ } else {
+ # Some non-option argument has been given.
+ # Stop parsing options at this point.
+ push @commandLine, $arg;
+ $parsingOptions = 0;
+ }
+}
+
+# Was there a partial argument that was never completed?
+push @commandLine, $appendNextArg if ($appendNextArg);
+
+# Call the real Java compiler.
+my @fullCommandLine = ( $javaCompiler, '-C' );
+push @fullCommandLine, $warnings if ($warnings);
+push @fullCommandLine, @commandLine;
+exec @fullCommandLine or exit(1);
--- gcc-3.4-3.4.6.orig/debian/rename-pkgs.sh
+++ gcc-3.4-3.4.6/debian/rename-pkgs.sh
@@ -0,0 +1,32 @@
+#! /bin/bash
+
+rename_pkg()
+{
+ src=$1
+ dest=$2
+ for ext in preinst postinst prerm postrm doc-base; do
+ if [ -f $src.$ext ]; then
+ if [ -f $dest.ext ]; then
+ echo already exists: $dest.$ext
+ else
+ echo "$src.$ext --> $dest.$ext"
+ svn rename $src.$ext $dest.$ext
+ #mv $src.$ext $dest.$ext
+ fi
+ fi
+ done
+}
+
+v_new=3.4
+v_old=3.3
+
+for p in chill cpp gcc g++ g77 gpc gij gcj gobjc protoize treelang; do
+ rename_pkg $p-$v_old $p-$v_new
+done
+
+for p in cpp gcc g77 gnat; do
+ rename_pkg $p-$v_old-doc $p-$v_new-doc
+done
+
+rename_pkg gcc-$v_old-base gcc-$v_new-base
+rename_pkg gcc-$v_old-sparc64 gcc-$v_new-sparc64
--- gcc-3.4-3.4.6.orig/debian/gcc-cross.postinst
+++ gcc-3.4-3.4.6/debian/gcc-cross.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+update-alternatives --quiet \
+ --install /usr/bin/cross-gcc cross-gcc /usr/bin/cross-gcc-ver 15 \
+ --slave /usr/share/man/man1/cross-gcc.1.gz cross-gcc.1.gz /usr/share/man/man1/cross-gcc-ver.1.gz
+
+exit 0
--- gcc-3.4-3.4.6.orig/debian/gij-BV.postinst
+++ gcc-3.4-3.4.6/debian/gij-BV.postinst
@@ -0,0 +1,11 @@
+#! /bin/sh -e
+
+update-alternatives --quiet \
+ --install /usr/bin/java java /usr/bin/gij-wrapper-@BV@ 34 \
+ --slave /usr/share/man/man1/java.1.gz java.1.gz /usr/share/man/man1/gij-wrapper-@BV@.1.gz \
+ --slave /usr/bin/rmiregistry rmiregistry /usr/bin/rmiregistry-@BV@ \
+ --slave /usr/share/man/man1/rmiregistry.1.gz rmiregistry.1.gz /usr/share/man/man1/rmiregistry-@BV@.1.gz
+
+#DEBHELPER#
+
+exit 0
--- gcc-3.4-3.4.6.orig/debian/compat
+++ gcc-3.4-3.4.6/debian/compat
@@ -0,0 +1 @@
+4
--- gcc-3.4-3.4.6.orig/debian/gcjh-wrapper.1
+++ gcc-3.4-3.4.6/debian/gcjh-wrapper.1
@@ -0,0 +1,20 @@
+.TH GCJH-WRAPPER 1 "June 6, 2002" gcjh-wrapper "Java User's Manual"
+.SH NAME
+gcjh-wrapper \- a wrapper around gcjh
+
+.SH SYNOPSIS
+gcjh-wrapper [\fB\s-1OPTION\s0\fR] ... [\fI\s-1ARGS\s0\fR...]
+
+.SH DESCRIPTION
+
+\fBgcjh-wrapper\fR is a wrapper around gcjh(1) to be called as the java header
+compiler. Options different for javah(1) and gcjh(1) are translated,
+options unknown to gcjh(1) are silently ignored.
+
+.SH OPTIONS
+See gcjh-3.3(1) for a list of options that gcj understands.
+
+.SH "SEE ALSO"
+.BR gcjh-3.3(1)
+,
+.BR javah(1)
--- gcc-3.4-3.4.6.orig/debian/gnat.1
+++ gcc-3.4-3.4.6/debian/gnat.1
@@ -0,0 +1,39 @@
+.\" Hey, Emacs! This is an -*- nroff -*- source file.
+.\"
+.\" Copyright (C) 1996 Erick Branderhorst
+.\"
+.\" This 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.
+.\"
+.\" This 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 with
+.\" your Debian GNU/Linux system, in /usr/doc/copyright/GPL, or with the
+.\" dpkg source package as the file COPYING. If not, write to the Free
+.\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+.\"
+.\"
+.TH "GNAT TOOLBOX" 1 "Jun 2002" "Debian Project" "Debian Linux"
+.SH NAME
+gnat, gnatbind, gnatbl, gnatchop, gnatfind, gnatkr, gnatlink,
+gnatls, gnatmake, gnatprep, gnatpsta, gnatpsys, gnatxref \-
+GNAT toolbox
+.SH DESCRIPTION
+Those programs are part of GNU GNAT 3.4, a freely available Ada 95 compiler.
+.PP
+For accessing the full GNAT manuals, use
+.B info gnat-ug-3.4
+and
+.B info gnat-rm-3.4
+for the sections related to the reference manual. If those sections cannot
+be found, you will have to install the gnat-3.4-doc package as well.
+.SH SEE ALSO
+.BR gcc-3.4 (1)
+.SH AUTHOR
+This manpage has been written by Samuel Tardieu , for the
+Debian GNU/Linux project.
--- gcc-3.4-3.4.6.orig/debian/dh_rmemptydirs
+++ gcc-3.4-3.4.6/debian/dh_rmemptydirs
@@ -0,0 +1,10 @@
+#! /bin/sh -e
+
+pkg=`echo $1 | sed 's/^-p//'`
+
+: # remove empty directories, when all components are in place
+for d in `find debian/$pkg -depth -type d -empty 2> /dev/null`; do \
+ while rmdir $d 2> /dev/null; do d=`dirname $d`; done; \
+done
+
+exit 0
--- gcc-3.4-3.4.6.orig/debian/README.libf2c
+++ gcc-3.4-3.4.6/debian/README.libf2c
@@ -0,0 +1,8 @@
+Building libraries and executables dependent on libg2c
+======================================================
+
+The header file for the g2c library is specific to the compiler
+version used and therefore is included in the g77-X.Y package.
+
+If you use the g2c header and libraries without using g77,
+make sure you have the g77 package installed.
--- gcc-3.4-3.4.6.orig/debian/gcc-BV-doc.postinst
+++ gcc-3.4-3.4.6/debian/gcc-BV-doc.postinst
@@ -0,0 +1,9 @@
+#! /bin/sh -e
+
+install-info --quiet --section "Development" "Development" \
+ /usr/share/info/gcc-@BV@.info.gz
+
+install-info --quiet --section "Development" "Development" \
+ /usr/share/info/gccint-@BV@.info.gz
+
+#DEBHELPER#
--- gcc-3.4-3.4.6.orig/debian/gcc-BV-hppa64.prerm
+++ gcc-3.4-3.4.6/debian/gcc-BV-hppa64.prerm
@@ -0,0 +1,10 @@
+#! /bin/sh -e
+
+if [ "$1" != "upgrade" ]; then
+ update-alternatives --quiet \
+ --remove hppa64-linux-gnu-gcc /usr/bin/hppa64-linux-gnu-gcc-@BV@
+fi
+
+#DEBHELPER#
+
+exit 0
--- gcc-3.4-3.4.6.orig/debian/README.C++
+++ gcc-3.4-3.4.6/debian/README.C++
@@ -0,0 +1,47 @@
+libstdc++ is an implementation of the Standard C++ Library, including the
+Standard Template Library (i.e. as specified by ANSI and ISO).
+
+Some notes on porting applications from libstdc++-2.90 (or earlier versions)
+to libstdc++-v3 can be found in the libstdc++3-doc package. After the
+installation of the package, look at:
+
+file://usr/share/doc/gcc-3.4-base/libstdc++/html/17_intro/porting-howto.html
+
+On Debian GNU/Linux you find additional documentation in the
+libstdc++6-doc and stl-manual packages. After installing these packages,
+point your browser to
+
+ file://localhost/usr/share/doc/libstdc++6-doc/libstdc++/html/index.html
+
+ file://localhost/usr/share/doc/stl-manual/html/index.html
+
+Other documentation can be found:
+
+ http://www.cs.rpi.edu/~musser/stl.html
+ http://www.sgi.com/tech/stl/
+ http://www.dinkumware.com/htm_cpl/
+
+with a good, recent, book on C++.
+
+A great deal of useful C++ documentation can be found in the C++ FAQ-Lite,
+maintained by Marshall Cline . It can be found at the
+following locations (this list was last updated on 2000/11/19):
+
+USA: http://www.cerfnet.com/~mpcline/c++-faq-lite/
+
+Canada: http://new-brunswick.net/workshop/c++/faq
+
+Finland: http://www.utu.fi/~sisasa/oasis/cppfaq/
+
+France: http://caor.ensmp.fr/FAQ/c++-faq-lite/
+
+Germany: http://www.informatik.uni-konstanz.de/~kuehl/cpp/cppfaq.htm
+
+Spain: http://geneura.ugr.es/~jmerelo/c++-faq/
+
+Taiwan: http://www.cis.nctu.edu.tw/c++/C++FAQ-English/
+
+U.K.: http://www.cs.bham.ac.uk/~jdm/CPP/index.html
+
+
+Please send updates to this list as bug report for the g++ package.
--- gcc-3.4-3.4.6.orig/debian/protoize.1
+++ gcc-3.4-3.4.6/debian/protoize.1
@@ -0,0 +1,42 @@
+.TH PROTOIZE 1
+.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.SH NAME
+protoize, unprotoize \- create/remove ANSI prototypes from C code
+.SH SYNOPSIS
+.B protoize
+.I "[options] files ...."
+.br
+.B unprotoize
+.I "[options] files ...."
+.SH "DESCRIPTION"
+This manual page documents briefly the
+.BR protoize ,
+and
+.B unprotoize
+commands.
+This manual page was written for the Debian GNU/Linux distribution
+(but may be used by others), because the original program does not
+have a manual page.
+Instead, it has documentation in the GNU Info format; see below.
+.PP
+.B protoize
+is an optional part of GNU C. You can use it to add prototypes to a
+program, thus converting the program to ANSI C in one respect. The companion
+program `unprotoize' does the reverse: it removes argument types from
+any prototypes that are found.
+.PP
+When you run these programs, you must specify a set of source files
+as command line arguments.
+.SH OPTIONS
+These programs are non-trivial to operate, and it is neither possible nor
+desirable to properly summarize options in this man page. Read the info
+documentation for more information.
+.SH "SEE ALSO"
+The programs are documented fully by
+.IR "Gcc: The use and the internals of the GNU compiler",
+available via the Info system. The documentation for protoize/unprotoize
+can be found in the subsection "Invoking GCC", under "Running Protoize."
+.SH AUTHOR
+This manual page was written by Galen Hazelwood,
+for the Debian GNU/Linux system.
--- gcc-3.4-3.4.6.orig/debian/gcjh-wrapper
+++ gcc-3.4-3.4.6/debian/gcjh-wrapper
@@ -0,0 +1,86 @@
+#!/usr/bin/perl -w
+#
+# Starts the GNU Java header generator.
+#
+# Command-line arguments should be in the style of Sun's javah command;
+# these will be converted to gcjh arguments before being passed to the
+# gcjh itself.
+#
+# Copyright (C) 2003 by Peter Hawkins
+# Haphazardly hacked up based on the gcj-wrapper perl script.
+# Copyright (C) 2002-2003 by Ben Burton
+# Based on the original gcj-wrapper-3.2 shell script.
+
+use strict;
+
+# The real Java header generator:
+my $javaHeaderGen = '/usr/bin/gcjh-3.4';
+
+# The command-line arguments to pass to the real Java compiler:
+my @commandLine;
+
+# Build the command-line from the arguments given.
+my $parsingOptions = 1;
+my $copyNextArg = 0;
+my $ignoreNextArg = 0;
+my $appendNextArg = '';
+foreach my $arg (@ARGV) {
+ # See if we already know what to do with this argument.
+ if ($ignoreNextArg) {
+ # Throw it away.
+ $ignoreNextArg = 0;
+ next;
+ } elsif ($copyNextArg or not $parsingOptions) {
+ # Copy it directly.
+ push @commandLine, $arg;
+ $copyNextArg = 0;
+ next;
+ } elsif ($appendNextArg) {
+ # Append it to $appendNextArg and then copy directly.
+ push @commandLine, ($appendNextArg . $arg);
+ $appendNextArg = '';
+ next;
+ }
+
+ # Try to interpret Sun-style options.
+ if ($arg eq '-version') {
+ push @commandLine, '--version';
+ } elsif ($arg eq '-h' or $arg eq '-help') {
+ push @commandLine, '--help';
+ } elsif ($arg eq '-verbose') {
+ push @commandLine, '--verbose';
+ } elsif ($arg eq '-classpath' or $arg eq '--classpath' or $arg eq '--cp') {
+ $appendNextArg = '--classpath=';
+ } elsif ($arg eq '-encoding' or $arg eq '-bootclasspath' or
+ $arg eq '-extdirs') {
+ $appendNextArg = "-".$arg . '=';
+ } elsif ($arg eq '-d') {
+ push @commandLine, '-d';
+ $copyNextArg = 1;
+ } elsif ($arg eq '-o') {
+ push @commandLine, '-o';
+ $copyNextArg = 1;
+ } elsif ($arg eq '-stubs') {
+ push @commandLine, '-stubs';
+ } elsif ($arg eq '-jni') {
+ push @commandLine, '-jni';
+ } elsif ($arg =~ /^-old/) {
+ # An extended Sun option (which we don't support).
+ push @commandLine, '--help' if ($arg eq '-old');
+ } elsif ($arg =~ /^-/) {
+ # An unsupported standalone option.
+ } else {
+ # Some non-option argument has been given.
+ # Stop parsing options at this point.
+ push @commandLine, $arg;
+ $parsingOptions = 0;
+ }
+}
+
+# Was there a partial argument that was never completed?
+push @commandLine, $appendNextArg if ($appendNextArg);
+
+# Call the real Java header generator.
+my @fullCommandLine = ( $javaHeaderGen );
+push @fullCommandLine, @commandLine;
+exec @fullCommandLine or exit(1);
--- gcc-3.4-3.4.6.orig/debian/reduce-test-diff.awk
+++ gcc-3.4-3.4.6/debian/reduce-test-diff.awk
@@ -0,0 +1,33 @@
+#! /usr/bin/gawk -f
+
+BEGIN {
+ skip=0
+ warn=0
+}
+
+/^-(FAIL|ERROR|UNRESOLVED|WARNING)/ {
+ next
+}
+
+# only compare gcc, g++, g77 and objc results
+/=== treelang tests ===/ {
+ skip=1
+}
+
+# omit extra files appended to test-summary
+/^\+Compiler version/ {
+ skip=1
+}
+
+skip == 0 {
+ print
+ next
+}
+
+/^\+(FAIL|ERROR|UNRESOLVED|WARNING)/ {
+ warn=1
+}
+
+END {
+ exit warn
+}
--- gcc-3.4-3.4.6.orig/debian/fastjar.postinst
+++ gcc-3.4-3.4.6/debian/fastjar.postinst
@@ -0,0 +1,14 @@
+#! /bin/sh -e
+
+if [ -f /usr/share/info/fastjar.info.gz ]; then
+ install-info --quiet --section "Development" "Development" \
+ /usr/share/info/fastjar.info.gz
+else
+ # GFDL invariant free
+ true
+fi
+
+update-alternatives --quiet --install /usr/bin/jar jar /usr/bin/fastjar 34 \
+ --slave /usr/share/man/man1/jar.1.gz jar.1.gz /usr/share/man/man1/fastjar.1.gz
+
+#DEBHELPER#
--- gcc-3.4-3.4.6.orig/debian/gccbug.1
+++ gcc-3.4-3.4.6/debian/gccbug.1
@@ -0,0 +1,178 @@
+.\" Automatically generated by Pod::Man v1.34, Pod::Parser v1.13
+.\"
+.\" Standard preamble:
+.\" ========================================================================
+.de Sh \" Subsection heading
+.br
+.if t .Sp
+.ne 5
+.PP
+\fB\\$1\fR
+.PP
+..
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+.\" Set up some character translations and predefined strings. \*(-- will
+.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+.\" double quote, and \*(R" will give a right double quote. | will give a
+.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to
+.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C'
+.\" expand to `' in nroff, nothing in troff, for use with C<>.
+.tr \(*W-|\(bv\*(Tr
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.ie n \{\
+. ds -- \(*W-
+. ds PI pi
+. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
+. ds L" ""
+. ds R" ""
+. ds C` ""
+. ds C' ""
+'br\}
+.el\{\
+. ds -- \|\(em\|
+. ds PI \(*p
+. ds L" ``
+. ds R" ''
+'br\}
+.\"
+.\" If the F register is turned on, we'll generate index entries on stderr for
+.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
+.\" entries marked with X<> in POD. Of course, you'll have to process the
+.\" output yourself in some meaningful fashion.
+.if \nF \{\
+. de IX
+. tm Index:\\$1\t\\n%\t"\\$2"
+..
+. nr % 0
+. rr F
+.\}
+.\"
+.\" For nroff, turn off justification. Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.hy 0
+.if n .na
+.\"
+.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
+.\" Fear. Run. Save yourself. No user-serviceable parts.
+. \" fudge factors for nroff and troff
+.if n \{\
+. ds #H 0
+. ds #V .8m
+. ds #F .3m
+. ds #[ \f1
+. ds #] \fP
+.\}
+.if t \{\
+. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
+. ds #V .6m
+. ds #F 0
+. ds #[ \&
+. ds #] \&
+.\}
+. \" simple accents for nroff and troff
+.if n \{\
+. ds ' \&
+. ds ` \&
+. ds ^ \&
+. ds , \&
+. ds ~ ~
+. ds /
+.\}
+.if t \{\
+. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
+. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
+. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
+. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
+. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
+. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
+.\}
+. \" troff and (daisy-wheel) nroff accents
+.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
+.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
+.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
+.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
+.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
+.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
+.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
+.ds ae a\h'-(\w'a'u*4/10)'e
+.ds Ae A\h'-(\w'A'u*4/10)'E
+. \" corrections for vroff
+.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
+.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
+. \" for low resolution devices (crt and lpr)
+.if \n(.H>23 .if \n(.V>19 \
+\{\
+. ds : e
+. ds 8 ss
+. ds o a
+. ds d- d\h'-1'\(ga
+. ds D- D\h'-1'\(hy
+. ds th \o'bp'
+. ds Th \o'LP'
+. ds ae ae
+. ds Ae AE
+.\}
+.rm #[ #] #H #V #F C
+.\" ========================================================================
+.\"
+.IX Title "GCCBUG 1"
+.TH GCCBUG 1 "2003-06-03" "gcc-3.4" "GNU"
+.SH "NAME"
+gccbug \- Reporting GCC Bugs
+.SH "SYNOPSIS"
+.IX Header "SYNOPSIS"
+gccbug
+ [ \fB\-\-cc\fR \fImail-address\fR ]
+ [ \fB\-\-version\fR ] | [ \fB\-\-help\fR ]
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+\&\fBgccbug\fR is a version of \s-1GNU\s0 \s-1GNATS\s0 send-pr configured for \s-1GCC\s0 bug
+reporting.
+.PP
+Invoking \fBgccbug\fR calls the editor named in your environment
+variable \fB\s-1VISUAL\s0\fR or \fB\s-1EDITOR\s0\fR on a problem report template.
+.PP
+Your bug reports play an essential role in making \s-1GCC\s0 reliable. However
+since the maintainers are very overloaded, please first make sure that:
+.IP "\(bu" 4
+The problem is not already known. See
+<\fBhttp://gcc.gnu.org/bugs.html#known\fR> for a list of known bugs.
+If it isn't known, then you should report the problem.
+.Sp
+You can browse the bug database for bugs reported at
+<\fBhttp://gcc.gnu.org/cgi\-bin/gnatsweb.pl\fR>.
+.IP "\(bu" 4
+You include the information that makes for fixing the bug. See
+<\fBhttp://gcc.gnu.org/bugs.html#report\fR> for bug reporting instructions.
+.SH "OPTIONS"
+.IX Header "OPTIONS"
+.IP "\fB\-\-cc\fR \fImail-address\fR" 4
+.IX Item "--cc mail-address"
+Specifies the mail-address to which the \s-1PR\s0 should be carbon\-copied.
+.IP "\fB\-\-version\fR" 4
+.IX Item "--version"
+Displays the \fBgccbug\fR version number and a usage summary. No mail
+is sent.
+.IP "\fB\-\-help\fR" 4
+.IX Item "--help"
+Displays a usage summary for \fBgccbug\fR. No mail is sent.
+.PP
+\&\fBgccbug\fR has more (undocumented) options, which may be
+unsupported by a future \s-1GCC\s0 bug tracking system.
+.SH "SEE ALSO"
+.IX Header "SEE ALSO"
+\&\fIgcc\fR\|(1), \fIsend\-pr\fR\|(1), \fIsend\-pr\fR\|(8), the info entries for \fIgcc\fR (node Bugs),
+and the online pages at <\fBhttp://gcc.gnu.org/bugs.html\fR>.
--- gcc-3.4-3.4.6.orig/debian/cross-unwind/path_max.patch
+++ gcc-3.4-3.4.6/debian/cross-unwind/path_max.patch
@@ -0,0 +1,21 @@
+--- src.orig/os-linux.h 2004-11-04 00:08:07.000000000 +0300
++++ src/os-linux.h 2005-01-04 22:56:46.000000000 +0300
+@@ -26,6 +26,8 @@
+ #ifndef os_linux_h
+ #define os_linux_h
+
++#include
++
+ struct map_iterator
+ {
+ off_t offset;
+--- src.orig/ptrace/_UPT_find_proc_info.c 2004-11-04 00:08:07.000000000 +0300
++++ src/ptrace/_UPT_find_proc_info.c 2005-01-04 23:37:34.000000000 +0300
+@@ -35,6 +35,7 @@
+ #if UNW_TARGET_IA64
+
+ #include "elf64.h"
++#include
+
+ static unw_word_t
+ find_gp (struct UPT_info *ui, Elf64_Phdr *pdyn, Elf64_Addr load_base)
--- gcc-3.4-3.4.6.orig/debian/cross-unwind/Gcursor_i.h
+++ gcc-3.4-3.4.6/debian/cross-unwind/Gcursor_i.h
@@ -0,0 +1,33 @@
+#ifndef cursor_i_h
+#define cursor_i_h
+
+/*
+ * DO NOT MODIFY
+ *
+ * This file was generated by ./a.out.
+ *
+ */
+
+#define IP_OFF 8 /* 0x8 */
+#define PR_OFF 24 /* 0x18 */
+#define BSP_OFF 32 /* 0x20 */
+#define PSP_OFF 48 /* 0x30 */
+#define PFS_LOC_OFF 152 /* 0x98 */
+#define RNAT_LOC_OFF 168 /* 0xa8 */
+#define UNAT_LOC_OFF 328 /* 0x148 */
+#define LC_LOC_OFF 360 /* 0x168 */
+#define FPSR_LOC_OFF 376 /* 0x178 */
+#define B1_LOC_OFF 392 /* 0x188 */
+#define B2_LOC_OFF 408 /* 0x198 */
+#define B3_LOC_OFF 424 /* 0x1a8 */
+#define B4_LOC_OFF 440 /* 0x1b8 */
+#define B5_LOC_OFF 456 /* 0x1c8 */
+#define F2_LOC_OFF 472 /* 0x1d8 */
+#define F3_LOC_OFF 488 /* 0x1e8 */
+#define F4_LOC_OFF 504 /* 0x1f8 */
+#define F5_LOC_OFF 520 /* 0x208 */
+#define FR_LOC_OFF 536 /* 0x218 */
+#define LOC_SIZE 16 /* 0x10 */
+#define SIGCONTEXT_ADDR_OFF 824 /* 0x338 */
+
+#endif /* cursor_i_h */
--- gcc-3.4-3.4.6.orig/debian/cross-unwind/Lcursor_i.h
+++ gcc-3.4-3.4.6/debian/cross-unwind/Lcursor_i.h
@@ -0,0 +1,33 @@
+#ifndef cursor_i_h
+#define cursor_i_h
+
+/*
+ * DO NOT MODIFY
+ *
+ * This file was generated by ./a.out.
+ *
+ */
+
+#define IP_OFF 8 /* 0x8 */
+#define PR_OFF 24 /* 0x18 */
+#define BSP_OFF 32 /* 0x20 */
+#define PSP_OFF 48 /* 0x30 */
+#define PFS_LOC_OFF 104 /* 0x68 */
+#define RNAT_LOC_OFF 112 /* 0x70 */
+#define UNAT_LOC_OFF 192 /* 0xc0 */
+#define LC_LOC_OFF 208 /* 0xd0 */
+#define FPSR_LOC_OFF 216 /* 0xd8 */
+#define B1_LOC_OFF 224 /* 0xe0 */
+#define B2_LOC_OFF 232 /* 0xe8 */
+#define B3_LOC_OFF 240 /* 0xf0 */
+#define B4_LOC_OFF 248 /* 0xf8 */
+#define B5_LOC_OFF 256 /* 0x100 */
+#define F2_LOC_OFF 264 /* 0x108 */
+#define F3_LOC_OFF 272 /* 0x110 */
+#define F4_LOC_OFF 280 /* 0x118 */
+#define F5_LOC_OFF 288 /* 0x120 */
+#define FR_LOC_OFF 296 /* 0x128 */
+#define LOC_SIZE 8 /* 0x8 */
+#define SIGCONTEXT_ADDR_OFF 456 /* 0x1c8 */
+
+#endif /* cursor_i_h */
--- gcc-3.4-3.4.6.orig/debian/cross-unwind/README
+++ gcc-3.4-3.4.6/debian/cross-unwind/README
@@ -0,0 +1,10 @@
+Files in this directory are used to cross-compile libunwind while building
+cross-gcc for ia64 target. Libunwind source can't cross-compile as-is because
+it builds tools to generate two header files that are used later in build
+process, and this procedure can't handle cross-compiling case properly.
+
+Fixing build procedure seems too hard because autotools don't seem to
+support this case.
+
+So, as a temporary solution, files are pre-built on ia64 host and provided
+in this directory.
--- gcc-3.4-3.4.6.orig/debian/cross-unwind/.svn/text-base/Gcursor_i.h.svn-base
+++ gcc-3.4-3.4.6/debian/cross-unwind/.svn/text-base/Gcursor_i.h.svn-base
@@ -0,0 +1,33 @@
+#ifndef cursor_i_h
+#define cursor_i_h
+
+/*
+ * DO NOT MODIFY
+ *
+ * This file was generated by ./a.out.
+ *
+ */
+
+#define IP_OFF 8 /* 0x8 */
+#define PR_OFF 24 /* 0x18 */
+#define BSP_OFF 32 /* 0x20 */
+#define PSP_OFF 48 /* 0x30 */
+#define PFS_LOC_OFF 152 /* 0x98 */
+#define RNAT_LOC_OFF 168 /* 0xa8 */
+#define UNAT_LOC_OFF 328 /* 0x148 */
+#define LC_LOC_OFF 360 /* 0x168 */
+#define FPSR_LOC_OFF 376 /* 0x178 */
+#define B1_LOC_OFF 392 /* 0x188 */
+#define B2_LOC_OFF 408 /* 0x198 */
+#define B3_LOC_OFF 424 /* 0x1a8 */
+#define B4_LOC_OFF 440 /* 0x1b8 */
+#define B5_LOC_OFF 456 /* 0x1c8 */
+#define F2_LOC_OFF 472 /* 0x1d8 */
+#define F3_LOC_OFF 488 /* 0x1e8 */
+#define F4_LOC_OFF 504 /* 0x1f8 */
+#define F5_LOC_OFF 520 /* 0x208 */
+#define FR_LOC_OFF 536 /* 0x218 */
+#define LOC_SIZE 16 /* 0x10 */
+#define SIGCONTEXT_ADDR_OFF 824 /* 0x338 */
+
+#endif /* cursor_i_h */
--- gcc-3.4-3.4.6.orig/debian/cross-unwind/.svn/text-base/Lcursor_i.h.svn-base
+++ gcc-3.4-3.4.6/debian/cross-unwind/.svn/text-base/Lcursor_i.h.svn-base
@@ -0,0 +1,33 @@
+#ifndef cursor_i_h
+#define cursor_i_h
+
+/*
+ * DO NOT MODIFY
+ *
+ * This file was generated by ./a.out.
+ *
+ */
+
+#define IP_OFF 8 /* 0x8 */
+#define PR_OFF 24 /* 0x18 */
+#define BSP_OFF 32 /* 0x20 */
+#define PSP_OFF 48 /* 0x30 */
+#define PFS_LOC_OFF 104 /* 0x68 */
+#define RNAT_LOC_OFF 112 /* 0x70 */
+#define UNAT_LOC_OFF 192 /* 0xc0 */
+#define LC_LOC_OFF 208 /* 0xd0 */
+#define FPSR_LOC_OFF 216 /* 0xd8 */
+#define B1_LOC_OFF 224 /* 0xe0 */
+#define B2_LOC_OFF 232 /* 0xe8 */
+#define B3_LOC_OFF 240 /* 0xf0 */
+#define B4_LOC_OFF 248 /* 0xf8 */
+#define B5_LOC_OFF 256 /* 0x100 */
+#define F2_LOC_OFF 264 /* 0x108 */
+#define F3_LOC_OFF 272 /* 0x110 */
+#define F4_LOC_OFF 280 /* 0x118 */
+#define F5_LOC_OFF 288 /* 0x120 */
+#define FR_LOC_OFF 296 /* 0x128 */
+#define LOC_SIZE 8 /* 0x8 */
+#define SIGCONTEXT_ADDR_OFF 456 /* 0x1c8 */
+
+#endif /* cursor_i_h */
--- gcc-3.4-3.4.6.orig/debian/cross-unwind/.svn/text-base/README.svn-base
+++ gcc-3.4-3.4.6/debian/cross-unwind/.svn/text-base/README.svn-base
@@ -0,0 +1,10 @@
+Files in this directory are used to cross-compile libunwind while building
+cross-gcc for ia64 target. Libunwind source can't cross-compile as-is because
+it builds tools to generate two header files that are used later in build
+process, and this procedure can't handle cross-compiling case properly.
+
+Fixing build procedure seems too hard because autotools don't seem to
+support this case.
+
+So, as a temporary solution, files are pre-built on ia64 host and provided
+in this directory.
--- gcc-3.4-3.4.6.orig/debian/cross-unwind/.svn/text-base/path_max.patch.svn-base
+++ gcc-3.4-3.4.6/debian/cross-unwind/.svn/text-base/path_max.patch.svn-base
@@ -0,0 +1,21 @@
+--- src.orig/os-linux.h 2004-11-04 00:08:07.000000000 +0300
++++ src/os-linux.h 2005-01-04 22:56:46.000000000 +0300
+@@ -26,6 +26,8 @@
+ #ifndef os_linux_h
+ #define os_linux_h
+
++#include
++
+ struct map_iterator
+ {
+ off_t offset;
+--- src.orig/ptrace/_UPT_find_proc_info.c 2004-11-04 00:08:07.000000000 +0300
++++ src/ptrace/_UPT_find_proc_info.c 2005-01-04 23:37:34.000000000 +0300
+@@ -35,6 +35,7 @@
+ #if UNW_TARGET_IA64
+
+ #include "elf64.h"
++#include
+
+ static unw_word_t
+ find_gp (struct UPT_info *ui, Elf64_Phdr *pdyn, Elf64_Addr load_base)
--- gcc-3.4-3.4.6.orig/debian/cross-unwind/.svn/entries
+++ gcc-3.4-3.4.6/debian/cross-unwind/.svn/entries
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
--- gcc-3.4-3.4.6.orig/debian/cross-unwind/.svn/README.txt
+++ gcc-3.4-3.4.6/debian/cross-unwind/.svn/README.txt
@@ -0,0 +1,2 @@
+This is a Subversion working copy administrative directory.
+Visit http://subversion.tigris.org/ for more information.
--- gcc-3.4-3.4.6.orig/debian/cross-unwind/.svn/format
+++ gcc-3.4-3.4.6/debian/cross-unwind/.svn/format
@@ -0,0 +1 @@
+4
--- gcc-3.4-3.4.6.orig/debian/libffi.preinst
+++ gcc-3.4-3.4.6/debian/libffi.preinst
@@ -0,0 +1,9 @@
+#! /bin/sh -e
+
+if [ -h /usr/share/doc/libffi2 ]; then
+ rm -f /usr/share/doc/libffi2
+else
+ true
+fi
+
+#DEBHELPER#
--- gcc-3.4-3.4.6.orig/debian/gnat-BV-doc.doc-base.ug
+++ gcc-3.4-3.4.6/debian/gnat-BV-doc.doc-base.ug
@@ -0,0 +1,16 @@
+Document: gnat_ugn_unw-@BV@
+Title: GNAT User's Guide for Unix Platforms
+Author: Various
+Abstract: This guide describes the use of GNAT, a compiler and
+ software development toolset for the full Ada 95 programming language.
+ It describes the features of the compiler and tools, and details how
+ to use them to build Ada 95 applications.
+Section: Apps/Programming
+
+Format: html
+Index: /usr/share/doc/gcc-@BV@-base/Ada/gnat_ugn_unw.html
+Files: /usr/share/doc/gcc-@BV@-base/Ada/gnat_ugn_unw.html
+
+Format: info
+Index: /usr/share/info/gnat_ugn_unw-@BV@.info.gz
+Files: /usr/share/info/gnat_ugn_unw-@BV@*
--- gcc-3.4-3.4.6.orig/debian/gcj-wrapper.1
+++ gcc-3.4-3.4.6/debian/gcj-wrapper.1
@@ -0,0 +1,20 @@
+.TH GCJ-WRAPPER 1 "June 6, 2002" gcj-wrapper "Java User's Manual"
+.SH NAME
+gcj-wrapper \- a wrapper around gcj
+
+.SH SYNOPSIS
+gcj-wrapper [\fB\s-1OPTION\s0\fR] ... [\fI\s-1ARGS\s0\fR...]
+
+.SH DESCRIPTION
+
+\fBgcj-wrapper\fR is a wrapper around gcj(1) to be called as the java
+compiler. Options different for javac(1) and gcj(1) are translated,
+options unknown to gcj(1) are silently ignored.
+
+.SH OPTIONS
+See gcj-3.3(1) for a list of options that gcj understands.
+
+.SH "SEE ALSO"
+.BR gcj-3.3(1)
+,
+.BR javac(1)
--- gcc-3.4-3.4.6.orig/debian/README.patches
+++ gcc-3.4-3.4.6/debian/README.patches
@@ -0,0 +1,30 @@
+Patches applied to the Debian version of egcs
+---------------------------------------------
+
+Debian specific patches can be found in the debian/patches directory.
+Each patch is accompanied by a shell script to apply and unapply the
+patch:
+
+- The script can be found in the debian/patches directory and is called
+ .dpatch.
+- The shell script is called by the debian/rules file with the option
+ '-patch' to apply the patch and and with '-unpatch' to unapply
+ the patch. The working directory is the source directory.
+- The shell script returns 0 on success and 1 on failure when
+ (un)applying the patch. The patch program itself should be called with
+ --force to prevent questions.
+- debian/rules creates a file patched- in the source
+ directory when applying the patch and removes this file when
+ unapplying the patch.
+
+Besides the patches, the following add-ons were included:
+
+- gpc (unpacked from gpc-19990118.tar.gz)
+ ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/beta/gpc-19990118.tar.gz
+
+If these package(s) aren't found in the gcc source directory, it's
+assumed that the tarball(s) can be found in the parent directory. See
+debian/rules for more details.
+
+Before making a source package, these packages need to be unpacked.
+You can use "debian/rules unpack-addons".
--- gcc-3.4-3.4.6.orig/debian/gpc-PV-BV-doc.doc-base.gpc
+++ gcc-3.4-3.4.6/debian/gpc-PV-BV-doc.doc-base.gpc
@@ -0,0 +1,15 @@
+Document: gpc-@PV@-@BV@-doc
+Title: The GNU Pascal Compiler
+Author: Various
+Abstract: This manual documents how to run, install and maintain the
+ GNU Pascal compiler (GPC), as well as its new features and
+ incompatibilities, and how to report bugs.
+Section: Apps/Programming
+
+Format: html
+Index: /usr/share/doc/gcc-@BV@-base/pascal/gpc.html
+Files: /usr/share/doc/gcc-@BV@-base/pascal/gpc.html
+
+Format: info
+Index: /usr/share/info/gpc-@PV@-@BV@.info.gz
+Files: /usr/share/info/gpc-@PV@-@BV@*
--- gcc-3.4-3.4.6.orig/debian/libstdc++6-doc.doc-base
+++ gcc-3.4-3.4.6/debian/libstdc++6-doc.doc-base
@@ -0,0 +1,13 @@
+Document: libstdc++6-doc
+Title: The GNU Standard C++ Library v3 (gcc-3.4)
+Author: Various
+Abstract: This package contains documentation files for the GNU stdc++ library.
+ One set is the distribution documentation, the other set is the
+ source documentation including a namespace list, class hierarchy,
+ alphabetical list, compound list, file list, namespace members,
+ compound members and file members.
+Section: Apps/Programming
+
+Format: html
+Index: /usr/share/doc/libstdc++6-doc/libstdc++/html_user/index.html
+Files: /usr/share/doc/libstdc++6-doc/libstdc++/html*/*
--- gcc-3.4-3.4.6.orig/debian/copyright
+++ gcc-3.4-3.4.6/debian/copyright
@@ -0,0 +1,522 @@
+This is the Debian GNU/Linux prepackaged version of the GCC compiler
+collection, containing C, C++, Objective-C, Fortran-77, Java, Chill
+and Pascal compilers, and the libstdc++ support library.
+
+The compilers are split into several binary packages: gcc (which has
+support for C, g++ (which supports C++), gobjc (which supports
+Objective C), g77 (supports Fortran77), gij, gcj (supports Java), chill
+(supports Chill) and gpc (supports Pascal). A version of libstdc++-v3
+is also provided.
+
+Documentation is provided in the packages cpp-3.4-doc, gcc-3.4-doc,
+gcj-3.4-doc, g77-3.4-doc and gpc-2.1-3.4-doc.
+
+This package was put together by the Debian GCC maintainers
+, with sources obtained from:
+
+ [NOTE: the current prereleases obtained from the CVS archive]
+ ftp://gcc.gnu.org/pub/gcc/releases/gcc-3.4.0.tar.bz2
+
+ http://gnu-pascal.de/alpha/
+
+Changes: See changelog.Debian.gz
+
+GCC is Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
+1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+Free Software Foundation, Inc.
+
+This program 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.
+
+This program 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 this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The libstdc++-v3 library is licensed under the terms of the GNU General
+Public License, with this special exception:
+
+ As a special exception, you may use this file as part of a free software
+ library without restriction. Specifically, if other files instantiate
+ templates or use macros or inline functions from this file, or you compile
+ this file and link it with other files to produce an executable, this
+ file does not by itself cause the resulting executable to be covered by
+ the GNU General Public License. This exception does not however
+ invalidate any other reasons why the executable file might be covered by
+ the GNU General Public License.
+
+gpc is copyright Free Software Foundation, and is licensed under the
+GNU General Public License which on Debian GNU/Linux systems can be
+found as `/usr/share/common-licenses/GPL'.
+
+The libgcj library is licensed under the terms of the GNU General
+Public License, with this special exception:
+
+ As a special exception, if you link this library with other files
+ to produce an executable, this library does not by itself cause
+ the resulting executable to be covered by the GNU General Public
+ License. This exception does not however invalidate any other
+ reasons why the executable file might be covered by the GNU
+ General Public License.
+
+gcc/libgcc2.c (source for libgcc) has the following addition:
+
+ In addition to the permissions in the GNU General Public License,
+ the Free Software Foundation gives you unlimited permission to
+ link the compiled version of this file into combinations with
+ other programs, and to distribute those combinations without any
+ restriction coming from the use of this file. (The General Public
+ License restrictions do apply in other respects; for example, they
+ cover modification of the file, and distribution when not linked
+ into a combine executable.)
+
+gcc/unwind-libunwind.c (source for libgcc) has the following addition:
+
+ As a special exception, if you link this library with other files,
+ some of which are compiled with GCC, to produce an executable,
+ this library does not by itself cause the resulting executable to
+ be covered by the GNU General Public License. This exception does
+ not however invalidate any other reasons why the executable file
+ might be covered by the GNU General Public License.
+
+
+The documentation is licensed under the GNU Free Documentation License
+(v1.2), appended at the end of this file.
+
+
+GNU Free Documentation License
+******************************
+
+ Version 1.2, November 2002
+ Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ 0. PREAMBLE
+
+ The purpose of this License is to make a manual, textbook, or other
+ functional and useful document "free" in the sense of freedom: to
+ assure everyone the effective freedom to copy and redistribute it,
+ with or without modifying it, either commercially or
+ noncommercially. Secondarily, this License preserves for the
+ author and publisher a way to get credit for their work, while not
+ being considered responsible for modifications made by others.
+
+ This License is a kind of "copyleft", which means that derivative
+ works of the document must themselves be free in the same sense.
+ It complements the GNU General Public License, which is a copyleft
+ license designed for free software.
+
+ We have designed this License in order to use it for manuals for
+ free software, because free software needs free documentation: a
+ free program should come with manuals providing the same freedoms
+ that the software does. But this License is not limited to
+ software manuals; it can be used for any textual work, regardless
+ of subject matter or whether it is published as a printed book.
+ We recommend this License principally for works whose purpose is
+ instruction or reference.
+
+ 1. APPLICABILITY AND DEFINITIONS
+
+ This License applies to any manual or other work, in any medium,
+ that contains a notice placed by the copyright holder saying it
+ can be distributed under the terms of this License. Such a notice
+ grants a world-wide, royalty-free license, unlimited in duration,
+ to use that work under the conditions stated herein. The
+ "Document", below, refers to any such manual or work. Any member
+ of the public is a licensee, and is addressed as "you". You
+ accept the license if you copy, modify or distribute the work in a
+ way requiring permission under copyright law.
+
+ A "Modified Version" of the Document means any work containing the
+ Document or a portion of it, either copied verbatim, or with
+ modifications and/or translated into another language.
+
+ A "Secondary Section" is a named appendix or a front-matter section
+ of the Document that deals exclusively with the relationship of the
+ publishers or authors of the Document to the Document's overall
+ subject (or to related matters) and contains nothing that could
+ fall directly within that overall subject. (Thus, if the Document
+ is in part a textbook of mathematics, a Secondary Section may not
+ explain any mathematics.) The relationship could be a matter of
+ historical connection with the subject or with related matters, or
+ of legal, commercial, philosophical, ethical or political position
+ regarding them.
+
+ The "Invariant Sections" are certain Secondary Sections whose
+ titles are designated, as being those of Invariant Sections, in
+ the notice that says that the Document is released under this
+ License. If a section does not fit the above definition of
+ Secondary then it is not allowed to be designated as Invariant.
+ The Document may contain zero Invariant Sections. If the Document
+ does not identify any Invariant Sections then there are none.
+
+ The "Cover Texts" are certain short passages of text that are
+ listed, as Front-Cover Texts or Back-Cover Texts, in the notice
+ that says that the Document is released under this License. A
+ Front-Cover Text may be at most 5 words, and a Back-Cover Text may
+ be at most 25 words.
+
+ A "Transparent" copy of the Document means a machine-readable copy,
+ represented in a format whose specification is available to the
+ general public, that is suitable for revising the document
+ straightforwardly with generic text editors or (for images
+ composed of pixels) generic paint programs or (for drawings) some
+ widely available drawing editor, and that is suitable for input to
+ text formatters or for automatic translation to a variety of
+ formats suitable for input to text formatters. A copy made in an
+ otherwise Transparent file format whose markup, or absence of
+ markup, has been arranged to thwart or discourage subsequent
+ modification by readers is not Transparent. An image format is
+ not Transparent if used for any substantial amount of text. A
+ copy that is not "Transparent" is called "Opaque".
+
+ Examples of suitable formats for Transparent copies include plain
+ ASCII without markup, Texinfo input format, LaTeX input format,
+ SGML or XML using a publicly available DTD, and
+ standard-conforming simple HTML, PostScript or PDF designed for
+ human modification. Examples of transparent image formats include
+ PNG, XCF and JPG. Opaque formats include proprietary formats that
+ can be read and edited only by proprietary word processors, SGML or
+ XML for which the DTD and/or processing tools are not generally
+ available, and the machine-generated HTML, PostScript or PDF
+ produced by some word processors for output purposes only.
+
+ The "Title Page" means, for a printed book, the title page itself,
+ plus such following pages as are needed to hold, legibly, the
+ material this License requires to appear in the title page. For
+ works in formats which do not have any title page as such, "Title
+ Page" means the text near the most prominent appearance of the
+ work's title, preceding the beginning of the body of the text.
+
+ A section "Entitled XYZ" means a named subunit of the Document
+ whose title either is precisely XYZ or contains XYZ in parentheses
+ following text that translates XYZ in another language. (Here XYZ
+ stands for a specific section name mentioned below, such as
+ "Acknowledgements", "Dedications", "Endorsements", or "History".)
+ To "Preserve the Title" of such a section when you modify the
+ Document means that it remains a section "Entitled XYZ" according
+ to this definition.
+
+ The Document may include Warranty Disclaimers next to the notice
+ which states that this License applies to the Document. These
+ Warranty Disclaimers are considered to be included by reference in
+ this License, but only as regards disclaiming warranties: any other
+ implication that these Warranty Disclaimers may have is void and
+ has no effect on the meaning of this License.
+
+ 2. VERBATIM COPYING
+
+ You may copy and distribute the Document in any medium, either
+ commercially or noncommercially, provided that this License, the
+ copyright notices, and the license notice saying this License
+ applies to the Document are reproduced in all copies, and that you
+ add no other conditions whatsoever to those of this License. You
+ may not use technical measures to obstruct or control the reading
+ or further copying of the copies you make or distribute. However,
+ you may accept compensation in exchange for copies. If you
+ distribute a large enough number of copies you must also follow
+ the conditions in section 3.
+
+ You may also lend copies, under the same conditions stated above,
+ and you may publicly display copies.
+
+ 3. COPYING IN QUANTITY
+
+ If you publish printed copies (or copies in media that commonly
+ have printed covers) of the Document, numbering more than 100, and
+ the Document's license notice requires Cover Texts, you must
+ enclose the copies in covers that carry, clearly and legibly, all
+ these Cover Texts: Front-Cover Texts on the front cover, and
+ Back-Cover Texts on the back cover. Both covers must also clearly
+ and legibly identify you as the publisher of these copies. The
+ front cover must present the full title with all words of the
+ title equally prominent and visible. You may add other material
+ on the covers in addition. Copying with changes limited to the
+ covers, as long as they preserve the title of the Document and
+ satisfy these conditions, can be treated as verbatim copying in
+ other respects.
+
+ If the required texts for either cover are too voluminous to fit
+ legibly, you should put the first ones listed (as many as fit
+ reasonably) on the actual cover, and continue the rest onto
+ adjacent pages.
+
+ If you publish or distribute Opaque copies of the Document
+ numbering more than 100, you must either include a
+ machine-readable Transparent copy along with each Opaque copy, or
+ state in or with each Opaque copy a computer-network location from
+ which the general network-using public has access to download
+ using public-standard network protocols a complete Transparent
+ copy of the Document, free of added material. If you use the
+ latter option, you must take reasonably prudent steps, when you
+ begin distribution of Opaque copies in quantity, to ensure that
+ this Transparent copy will remain thus accessible at the stated
+ location until at least one year after the last time you
+ distribute an Opaque copy (directly or through your agents or
+ retailers) of that edition to the public.
+
+ It is requested, but not required, that you contact the authors of
+ the Document well before redistributing any large number of
+ copies, to give them a chance to provide you with an updated
+ version of the Document.
+
+ 4. MODIFICATIONS
+
+ You may copy and distribute a Modified Version of the Document
+ under the conditions of sections 2 and 3 above, provided that you
+ release the Modified Version under precisely this License, with
+ the Modified Version filling the role of the Document, thus
+ licensing distribution and modification of the Modified Version to
+ whoever possesses a copy of it. In addition, you must do these
+ things in the Modified Version:
+
+ A. Use in the Title Page (and on the covers, if any) a title
+ distinct from that of the Document, and from those of
+ previous versions (which should, if there were any, be listed
+ in the History section of the Document). You may use the
+ same title as a previous version if the original publisher of
+ that version gives permission.
+
+ B. List on the Title Page, as authors, one or more persons or
+ entities responsible for authorship of the modifications in
+ the Modified Version, together with at least five of the
+ principal authors of the Document (all of its principal
+ authors, if it has fewer than five), unless they release you
+ from this requirement.
+
+ C. State on the Title page the name of the publisher of the
+ Modified Version, as the publisher.
+
+ D. Preserve all the copyright notices of the Document.
+
+ E. Add an appropriate copyright notice for your modifications
+ adjacent to the other copyright notices.
+
+ F. Include, immediately after the copyright notices, a license
+ notice giving the public permission to use the Modified
+ Version under the terms of this License, in the form shown in
+ the Addendum below.
+
+ G. Preserve in that license notice the full lists of Invariant
+ Sections and required Cover Texts given in the Document's
+ license notice.
+
+ H. Include an unaltered copy of this License.
+
+ I. Preserve the section Entitled "History", Preserve its Title,
+ and add to it an item stating at least the title, year, new
+ authors, and publisher of the Modified Version as given on
+ the Title Page. If there is no section Entitled "History" in
+ the Document, create one stating the title, year, authors,
+ and publisher of the Document as given on its Title Page,
+ then add an item describing the Modified Version as stated in
+ the previous sentence.
+
+ J. Preserve the network location, if any, given in the Document
+ for public access to a Transparent copy of the Document, and
+ likewise the network locations given in the Document for
+ previous versions it was based on. These may be placed in
+ the "History" section. You may omit a network location for a
+ work that was published at least four years before the
+ Document itself, or if the original publisher of the version
+ it refers to gives permission.
+
+ K. For any section Entitled "Acknowledgements" or "Dedications",
+ Preserve the Title of the section, and preserve in the
+ section all the substance and tone of each of the contributor
+ acknowledgements and/or dedications given therein.
+
+ L. Preserve all the Invariant Sections of the Document,
+ unaltered in their text and in their titles. Section numbers
+ or the equivalent are not considered part of the section
+ titles.
+
+ M. Delete any section Entitled "Endorsements". Such a section
+ may not be included in the Modified Version.
+
+ N. Do not retitle any existing section to be Entitled
+ "Endorsements" or to conflict in title with any Invariant
+ Section.
+
+ O. Preserve any Warranty Disclaimers.
+
+ If the Modified Version includes new front-matter sections or
+ appendices that qualify as Secondary Sections and contain no
+ material copied from the Document, you may at your option
+ designate some or all of these sections as invariant. To do this,
+ add their titles to the list of Invariant Sections in the Modified
+ Version's license notice. These titles must be distinct from any
+ other section titles.
+
+ You may add a section Entitled "Endorsements", provided it contains
+ nothing but endorsements of your Modified Version by various
+ parties--for example, statements of peer review or that the text
+ has been approved by an organization as the authoritative
+ definition of a standard.
+
+ You may add a passage of up to five words as a Front-Cover Text,
+ and a passage of up to 25 words as a Back-Cover Text, to the end
+ of the list of Cover Texts in the Modified Version. Only one
+ passage of Front-Cover Text and one of Back-Cover Text may be
+ added by (or through arrangements made by) any one entity. If the
+ Document already includes a cover text for the same cover,
+ previously added by you or by arrangement made by the same entity
+ you are acting on behalf of, you may not add another; but you may
+ replace the old one, on explicit permission from the previous
+ publisher that added the old one.
+
+ The author(s) and publisher(s) of the Document do not by this
+ License give permission to use their names for publicity for or to
+ assert or imply endorsement of any Modified Version.
+
+ 5. COMBINING DOCUMENTS
+
+ You may combine the Document with other documents released under
+ this License, under the terms defined in section 4 above for
+ modified versions, provided that you include in the combination
+ all of the Invariant Sections of all of the original documents,
+ unmodified, and list them all as Invariant Sections of your
+ combined work in its license notice, and that you preserve all
+ their Warranty Disclaimers.
+
+ The combined work need only contain one copy of this License, and
+ multiple identical Invariant Sections may be replaced with a single
+ copy. If there are multiple Invariant Sections with the same name
+ but different contents, make the title of each such section unique
+ by adding at the end of it, in parentheses, the name of the
+ original author or publisher of that section if known, or else a
+ unique number. Make the same adjustment to the section titles in
+ the list of Invariant Sections in the license notice of the
+ combined work.
+
+ In the combination, you must combine any sections Entitled
+ "History" in the various original documents, forming one section
+ Entitled "History"; likewise combine any sections Entitled
+ "Acknowledgements", and any sections Entitled "Dedications". You
+ must delete all sections Entitled "Endorsements."
+
+ 6. COLLECTIONS OF DOCUMENTS
+
+ You may make a collection consisting of the Document and other
+ documents released under this License, and replace the individual
+ copies of this License in the various documents with a single copy
+ that is included in the collection, provided that you follow the
+ rules of this License for verbatim copying of each of the
+ documents in all other respects.
+
+ You may extract a single document from such a collection, and
+ distribute it individually under this License, provided you insert
+ a copy of this License into the extracted document, and follow
+ this License in all other respects regarding verbatim copying of
+ that document.
+
+ 7. AGGREGATION WITH INDEPENDENT WORKS
+
+ A compilation of the Document or its derivatives with other
+ separate and independent documents or works, in or on a volume of
+ a storage or distribution medium, is called an "aggregate" if the
+ copyright resulting from the compilation is not used to limit the
+ legal rights of the compilation's users beyond what the individual
+ works permit. When the Document is included an aggregate, this
+ License does not apply to the other works in the aggregate which
+ are not themselves derivative works of the Document.
+
+ If the Cover Text requirement of section 3 is applicable to these
+ copies of the Document, then if the Document is less than one half
+ of the entire aggregate, the Document's Cover Texts may be placed
+ on covers that bracket the Document within the aggregate, or the
+ electronic equivalent of covers if the Document is in electronic
+ form. Otherwise they must appear on printed covers that bracket
+ the whole aggregate.
+
+ 8. TRANSLATION
+
+ Translation is considered a kind of modification, so you may
+ distribute translations of the Document under the terms of section
+ 4. Replacing Invariant Sections with translations requires special
+ permission from their copyright holders, but you may include
+ translations of some or all Invariant Sections in addition to the
+ original versions of these Invariant Sections. You may include a
+ translation of this License, and all the license notices in the
+ Document, and any Warrany Disclaimers, provided that you also
+ include the original English version of this License and the
+ original versions of those notices and disclaimers. In case of a
+ disagreement between the translation and the original version of
+ this License or a notice or disclaimer, the original version will
+ prevail.
+
+ If a section in the Document is Entitled "Acknowledgements",
+ "Dedications", or "History", the requirement (section 4) to
+ Preserve its Title (section 1) will typically require changing the
+ actual title.
+
+ 9. TERMINATION
+
+ You may not copy, modify, sublicense, or distribute the Document
+ except as expressly provided for under this License. Any other
+ attempt to copy, modify, sublicense or distribute the Document is
+ void, and will automatically terminate your rights under this
+ License. However, parties who have received copies, or rights,
+ from you under this License will not have their licenses
+ terminated so long as such parties remain in full compliance.
+
+ 10. FUTURE REVISIONS OF THIS LICENSE
+
+ The Free Software Foundation may publish new, revised versions of
+ the GNU Free Documentation License from time to time. Such new
+ versions will be similar in spirit to the present version, but may
+ differ in detail to address new problems or concerns. See
+ `http://www.gnu.org/copyleft/'.
+
+ Each version of the License is given a distinguishing version
+ number. If the Document specifies that a particular numbered
+ version of this License "or any later version" applies to it, you
+ have the option of following the terms and conditions either of
+ that specified version or of any later version that has been
+ published (not as a draft) by the Free Software Foundation. If
+ the Document does not specify a version number of this License,
+ you may choose any version ever published (not as a draft) by the
+ Free Software Foundation.
+
+ADDENDUM: How to use this License for your documents
+====================================================
+
+ To use this License in a document you have written, include a copy of
+the License in the document and put the following copyright and license
+notices just after the title page:
+
+ Copyright (C) YEAR YOUR NAME.
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the GNU Free Documentation License, Version 1.2
+ or any later version published by the Free Software Foundation;
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+ A copy of the license is included in the section entitled ``GNU
+ Free Documentation License''.
+
+ If you have Invariant Sections, Front-Cover Texts and Back-Cover
+Texts, replace the "with...Texts." line with this:
+
+ with the Invariant Sections being LIST THEIR TITLES, with
+ the Front-Cover Texts being LIST, and with the Back-Cover Texts
+ being LIST.
+
+ If you have Invariant Sections without Cover Texts, or some other
+combination of the three, merge those two alternatives to suit the
+situation.
+
+ If your document contains nontrivial examples of program code, we
+recommend releasing these examples in parallel under your choice of
+free software license, such as the GNU General Public License, to
+permit their use in free software.
--- gcc-3.4-3.4.6.orig/debian/fastjar.prerm
+++ gcc-3.4-3.4.6/debian/fastjar.prerm
@@ -0,0 +1,16 @@
+#! /bin/sh -e
+
+if [ -f /usr/share/info/fastjar.info.gz ]; then
+ install-info --quiet --remove fastjar
+else
+ # GFDL invariant free
+ true
+fi
+
+if [ "$1" != "upgrade" ]; then
+ update-alternatives --quiet --remove jar /usr/bin/fastjar
+fi
+
+#DEBHELPER#
+
+exit 0
--- gcc-3.4-3.4.6.orig/debian/lib32gcc1.preinst
+++ gcc-3.4-3.4.6/debian/lib32gcc1.preinst
@@ -0,0 +1,8 @@
+#! /bin/sh -e
+
+if [ ! -h /usr/lib32 -a -d /usr/lib32 ]; then
+ rm -rf /usr/lib32
+ ln -s /emul/ia32-linux/usr/lib /usr/lib32
+fi
+
+#DEBHELPER#
--- gcc-3.4-3.4.6.orig/debian/gcc-BV-doc.doc-base.gcc
+++ gcc-3.4-3.4.6/debian/gcc-BV-doc.doc-base.gcc
@@ -0,0 +1,14 @@
+Document: gcc-@BV@
+Title: The GNU C and C++ compiler
+Author: Various
+Abstract: This manual documents how to run, install and port the GNU compiler,
+ as well as its new features and incompatibilities, and how to report bugs.
+Section: Apps/Programming
+
+Format: html
+Index: /usr/share/doc/gcc-@BV@-base/gcc.html
+Files: /usr/share/doc/gcc-@BV@-base/gcc.html
+
+Format: info
+Index: /usr/share/info/gcc-@BV@.info.gz
+Files: /usr/share/info/gcc-@BV@*
--- gcc-3.4-3.4.6.orig/debian/g77-BV-doc.prerm
+++ gcc-3.4-3.4.6/debian/g77-BV-doc.prerm
@@ -0,0 +1,5 @@
+#! /bin/sh -e
+
+install-info --quiet --remove g77-@BV@
+
+#DEBHELPER#
--- gcc-3.4-3.4.6.orig/debian/treelang-BV.doc-base
+++ gcc-3.4-3.4.6/debian/treelang-BV.doc-base
@@ -0,0 +1,15 @@
+Document: treelang-@BV@
+Title: The GNU Treelang Compiler
+Author: Tim Josling
+Abstract: This file documents the use and the internals of the GNU Treelang
+ compiler. At the moment this manual is not incorporated into the main
+ GCC manual as it is too incomplete.
+Section: Apps/Programming
+
+Format: html
+Index: /usr/share/doc/gcc-@BV@-base/treelang/treelang.html
+Files: /usr/share/doc/gcc-@BV@-base/treelang/treelang.html
+
+Format: info
+Index: /usr/share/info/treelang-@BV@.info.gz
+Files: /usr/share/info/treelang-@BV@*
--- gcc-3.4-3.4.6.orig/debian/g77-BV-doc.doc-base
+++ gcc-3.4-3.4.6/debian/g77-BV-doc.doc-base
@@ -0,0 +1,14 @@
+Document: g77-@BV@
+Title: The GNU Fortran 77 Compiler
+Author: Various
+Abstract: This manual documents how to run, install and port `g77', as well as
+ its new features and incompatibilities, and how to report bugs.
+Section: Apps/Programming
+
+Format: html
+Index: /usr/share/doc/gcc-@BV@-base/fortran/g77.html
+Files: /usr/share/doc/gcc-@BV@-base/fortran/g77.html
+
+Format: info
+Index: /usr/share/info/g77-@BV@.info.gz
+Files: /usr/share/info/g77-@BV@*
--- gcc-3.4-3.4.6.orig/debian/libgcj-common.preinst
+++ gcc-3.4-3.4.6/debian/libgcj-common.preinst
@@ -0,0 +1,9 @@
+#! /bin/sh -e
+
+if [ -d /usr/share/doc/libgcj-common ]; then
+ rm -rf /usr/share/doc/libgcj-common
+else
+ true
+fi
+
+#DEBHELPER#
--- gcc-3.4-3.4.6.orig/debian/gcc-cross.prerm
+++ gcc-3.4-3.4.6/debian/gcc-cross.prerm
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+update-alternatives --quiet --remove cross-gcc /usr/bin/cross-gcc-ver
+
+exit 0
--- gcc-3.4-3.4.6.orig/debian/gcc-BV-doc.doc-base.gccint
+++ gcc-3.4-3.4.6/debian/gcc-BV-doc.doc-base.gccint
@@ -0,0 +1,17 @@
+Document: gccint-@BV@
+Title: Internals of the GNU C and C++ compiler
+Author: Various
+Abstract: This manual documents the internals of the GNU compilers,
+ including how to port them to new targets and some information about
+ how to write front ends for new languages. It corresponds to GCC
+ version @BV@.x. The use of the GNU compilers is documented in a
+ separate manual.
+Section: Apps/Programming
+
+Format: html
+Index: /usr/share/doc/gcc-@BV@-base/gccint.html
+Files: /usr/share/doc/gcc-@BV@-base/gccint.html
+
+Format: info
+Index: /usr/share/info/gccint-@BV@.info.gz
+Files: /usr/share/info/gccint-@BV@*
--- gcc-3.4-3.4.6.orig/debian/FAQ.gcj
+++ gcc-3.4-3.4.6/debian/FAQ.gcj
@@ -0,0 +1,494 @@
+The GCJ FAQ
+===========
+
+ The latest version of this document is always available at
+ http://gcc.gnu.org/java/faq.html.
+
+ General Questions
+
+ What license is used for libgcj?
+ How can I report a bug in libgcj?
+ How can I contribute to libgcj
+ Is libgcj part of GCC?
+ Will gcj and libgcj work on my machine?
+ How can I debug my Java program?
+ Can I interface byte-compiled and native java code?
+
+
+ Java Feature Support
+
+ What Java API's are supported? How complete is
+ the support?
+ Does GCJ support using straight C native methods
+ ala JNI?
+ Why does GCJ use CNI?
+ What is the state of AWT support?
+ How about support for Swing ?
+ What support is there for RMI ?
+ Can I use any code from other OpenSource projects
+ to supplement libgcj's current features ?
+ What features of the Java language are/arn't supported
+
+
+ Build Issues
+
+ I need something more recent than the last release; how
+ should I build it?
+ Linker bug on Solaris
+ Can I configure/build in the source tree?
+ My libgcj build fails with "invalid use of undefined type
+ struct sigcontext_struct"
+
+
+ Gcj Compile/Link Questions
+
+ Why do I get undefined reference to `main' errors?
+ Can GCJ only handle source code?
+ "gcj -C" Doesn't seem to work like javac/jikes. Whats going on?
+ Where does GCJ look for files?
+ How does gcj resolve wether to compile .class or .java files?
+ I'm getting link errors!
+ I'm getting 'undefined symbol: __dso_handle'
+
+
+ Runtime Questions
+
+ My program is dumping core! What's going on?
+ When I run the debugger I get a SEGV in the GC! What's going on?
+ I have just compiled and benchmarked my Java application
+ and it seems to be running slower than than XXX JIT JVM. Is there
+ anything I can do to make it go faster?
+ Can I profile Garbage Collection?
+ How do I increase the runtime's initial and maximum heap sizes?
+ How can I profile my application?
+ My program seems to hang and doesn't produce any output
+
+
+ Programming Issues
+
+ Are there any examples of how to use CNI?
+ Is it possible to invoke GCJ compiled Java code from a
+ C++ application?
+
+General Questions
+=================
+
+ 1.1 What license is used for libgcj?
+
+ libgcj is distributed under the GPL, with the 'libgcc exception'.
+ This means that linking with libgcj does not by itself cause
+ your program to fall under the GPL. See LIBGCJ_LICENSE in
+ the source tree for more details.
+
+ 1.2 How can I report a bug in libgcj?
+
+ libgcj has a corresponding Gnats bug database which you can
+ browse. You can also submit new bug reports from the Gnats
+ page.
+
+ 1.3 How can I contribute to libgcj?
+
+ You can send simple bug fixes in as patches. Please follow
+ the GCC guidelines for submitting patches. For more complex
+ changes, you must sign copyright over to the Free Software
+ Foundation. See the contribution page for details.
+
+ 1.4 Is libgcj part of GCC?
+
+ Yes, libgcj is now part of GCC. It can be downloaded,
+ configured and built as one single tree.
+
+ 1.5 Will gcj and libgcj work on my machine?
+
+ Gcj and libgcj are known to work more or less with IA-32 and
+ Sparc Solaris, Tru64 Unix, as well as IA-32, IA-64, Alpha,
+ and PowerPC Linux. They might work on other
+ systems. Generally speaking, porting to a new system should
+ not be hard. This would be a good way to volunteer.
+
+ 1.6 How can I debug my Java program?
+
+ gdb 5.0 includes support for debugging gcj-compiled Java
+ programs. For more information please read Java Debugging
+ with gdb.
+
+ 1.7 Can I interface byte-compiled and native java code
+
+ libgcj has a bytecode interpreter that allows you to mix
+ .class files with compiled code. It works pretty
+ transparently: if a compiled version of a class is not found
+ in the application binary or linked shared libraries, the
+ class loader will search for a bytecode version in your
+ classpath, much like a VM would. Be sure to build libgcj
+ with the --enable-interpreter option to enable this
+ functionality.
+
+ The program "gij" provides a front end to the interpreter
+ that behaves much like a traditional virtual machine. You
+ can even use "gij" to run a shared library which is compiled
+ from java code and contains a main method:
+
+ $ gcj -shared -o lib-HelloWorld.so HelloWorld.java
+ $ gij HelloWorld
+
+ This works because gij uses Class.forName, which knows how
+ to load shared objects.
+
+Java Feature Support
+====================
+
+ 2.1 What Java API's are supported? How complete is
+ the support?
+
+ Matt Welsh writes:
+
+ Just look in the 'libjava' directory of libgcj and see
+ what classes are there. Most GUI stuff isn't there yet,
+ that's true, but many of the other classes are easy to add
+ if they don't yet exist.
+
+ I think it's important to stress that there is a big
+ difference between Java and the many libraries which Java
+ supports. Unfortunately, Sun's promise of "write once, run
+ everywhere" assumes much more than a JVM: you also need
+ the full set of JDK libraries. Considering that new Java
+ APIs come out every week, it's going to be impossible to
+ track everything.
+
+ To make things worse, you can't simply run Sun's JDK
+ classes on any old JVM -- they assume that a bunch of
+ native methods are also defined. Since this native method
+ requirement isn't defined by the JDK specs, you're
+ effectively constrained to using Sun's JVMs if you want to
+ use Sun's JDK libraries. Oh yes -- you could also
+ reimplement all of those native methods yourself, and make
+ sure they behave exactly as Sun's do. Note that they're
+ undocumented!
+
+ 2.2 Does GCJ support using straight C native methods
+ ala JNI?
+
+ Yes. libgcj now has experimental support for JNI, in
+ addition to its native Compiled Native Interface (CNI). gcjh
+ will generate JNI stubs and headers using the "-jni"
+ option. However, we do prefer CNI: it is more efficient,
+ easier to write, and (at least potentially) easier to debug.
+
+ 2.3 Why does GCJ use CNI?
+
+ Per Bothner explains:
+
+ We use CNI because we think it is a better solution,
+ especially for a Java implementation that is based on the
+ idea that Java is just another programming language that
+ can be implemented using standard compilation
+ techniques. Given that, and the idea that languages
+ implemented using Gcc should be compatible where it makes
+ sense, it follows that the Java calling convention should
+ be as similar as practical to that used for other
+ languages, especially C++, since we can think of Java as a
+ subset of C++. CNI is just a set of helper functions and
+ conventions built on the idea that C++ and Java have the
+ *same* calling convention and object layout; they are
+ binary compatible. (This is a simplification, but close
+ enough.)
+
+ 2.4 What is the state of AWT support?
+
+ Work is in progress to implement AWT and Java2D. We intend
+ to support both GTK and xlib peers written using CNI. Some
+ components are already working atop the xlib peers.
+
+ 2.5 How about support for Swing?
+
+ Once AWT support is working then Swing support can be
+ considered. There is at least one free-software partial
+ implementations of Swing that may be usable.
+
+ 2.6 What support is there for RMI?
+
+ RMI code exists on the CVS trunk (aka gcc 3.1), but it has
+ not been heavily tested. This code was donated by
+ Transvirtual Technologies.
+
+ 2.7 Can I use any code from other OpenSource
+ projects to supplement libgcj's current features?
+
+ Certainly. However, in many cases, if you wanted to
+ contribute the code back into the official libgcj
+ distribution, we would require that the original author(s)
+ assign copyright to the Free Software Foundation. As of
+ March 6, 2000, libgcj has been relicenced, and copyright
+ has been assigned to the FSF. This allows us to share and
+ merge much of the libgcj codebase with the Classpath
+ project. Our eventual goal is for Classpath to be an
+ upstream source provider for libgcj, however it will be
+ some time before this becomes reality: libgcj and Classpath
+ have different implementations of many core java
+ classes. In order to merge them, we need to select the best
+ (most efficient, cleanest) implementation of each
+ method/class/package, resolve any conflicts created by the
+ merge, and test the final result. Needless to say, this is
+ a lot of work. If you can help out, please let us know!
+
+ 2.8 What features of the Java language are/aren't supported.
+
+ GCJ supports all Java language constructs as per the Java
+ language Specification. Recent GCJ snapshots have added
+ support for most JDK1.1 (and beyond) language features,
+ including inner classes.
+
+Build Issues
+============
+
+ 3.1 I need something more recent than the last release.
+ How should I build it?
+
+ Please read here: http://gcc.gnu.org/java/build-snapshot.html
+
+ 3.2 Linker bug on Solaris
+
+ There is a known problem with the native Solaris linker when
+ using gcc/gcj. A good indication you've run into this
+ problem is if you get an error that looks like the following
+ when building libgcj:
+
+ld: warning: option -o appears more than once, first setting taken
+ld: fatal: file libfoo.so: cannot open file: No such file or directory
+ld: fatal: File processing errors. No output written to .libs/libfoo.so
+collect2: ld returned 1 exit status
+
+ A known workaround for this and other reported link problems
+ on the various releases of Solaris is to build gcc/gcj with
+ the latest GNU binutils instead of the native Solaris
+ ld. The most straightforward way to do this is to build and
+ install binutils, and then reference it in the configure for
+ gcc via --with-ld=/path_to_binutils_install/bin/ld
+ (--with-as may also be similarly specified but is not
+ believed to be required).
+
+ Please note, gcc/gcj must be built using GNU ld prior to
+ doing a clean build of libgcj!
+
+ 3.3 Can I configure/build in the source tree?
+
+ No. You cannot configure/build in the source tree. If you
+ try, you'll see something like:
+
+ $ ./configure [...]
+ Configuring for a i686-pc-linux-gnu host.
+ *** Cannot currently configure in source tree.
+
+ Instead, you must build in another directory. E.g.:
+
+ $ mkdir build
+ $ cd build
+ $ ../configure [...]
+
+ 3.4 My libgcj build fails with "invalid use of undefined type
+ struct sigcontext_struct"
+
+ If you're using Linux, this probably means you need to
+ upgrade to a newwer, glibc (libc6) based Linux
+ distribution. libgcj does not support the older linux libc5.
+ It might be possible to get a working libgcj by changing
+ occurances of "sigcontext_struct" to "sigcontext", however
+ this has not been tested. Even if it works, it is likely
+ that there are other issues with older libc versions that
+ would prevent libgcj from working correctly (threads bugs,
+ for example).
+
+Gcj Compile/Link Questions
+==========================
+
+ 4.1 Why do I get undefined reference to `main' errors?
+
+ When using gcj to link a Java program, you must use the --main=
+ option to indicate the class that has the desired main method.
+ This is because every Java class can have a main method, thus
+ you have to tell gcj which one to use.
+
+ 4.2 Can GCJ only handle source code?
+
+ GCJ will compile both source (.java) and bytecode (.class)
+ files. However, in many cases the native code produced by
+ compiling from source is better optimized than that compiled
+ from .class files.
+
+ Per Bothner explains:
+
+ The reason is that when you compile to bytecode you lose a
+ lot of information about program structure etc. That
+ information helps in generating better code. We can in
+ theory recover the information we need by analysing the
+ structure of the bytecodes, but it is sometimes difficult
+ - or sometimes it just that no-one has gotten around to
+ it. Specific examples include loop structure (gcc
+ generates better code with explicit loops rather than with
+ the equivalent spaghetti code), array initializers, and
+ the JDK 1.1 `CLASS.class' syntax, all of which are
+ represented using more low-level constructs in bytecode.
+
+ 4.3 "gcj -C" Doesn't seem to work like javac/jikes. Whats going on?
+
+ The behavior of "gcj -C" is not at all like javac or jikes,
+ which will compile (not just scan) all .java's which are out
+ of date with regard to their .class's.
+
+ 4.4 Where does GCJ look for files?
+
+ GCJ looks for classes to compile based on the CLASSPATH
+ environment variable. libgcj.jar and other files are found
+ relative to the path of the compiler itself, so it is safe
+ to move the entire compiler tree to a different path, and
+ there is no need to include libgcj.jar in your CLASSPATH.
+
+ 4.5 How does gcj resolve whether to compile .class or .java files?
+
+ GCJ compiles only the files presented to it on the command
+ line. However, it also needs to scan other files in order to
+ determine the layout of other classes and check for errors
+ in your code. For these dependencies, GCJ will favour
+ .class files if they are available because it is faster to
+ parse a class file than source code.
+
+ 4.6 I'm getting link errors
+
+ If you get errors at link time that refer to 'undefined
+ reference to `java::lang::Object type_info function', verify
+ that you have compiled any CNI C++ files with the -fno-rtti
+ option. This is only required for versions of GCJ earlier
+ than 3.0.
+
+ 4.7 I'm getting 'undefined symbol: __dso_handle'
+
+ Some versions of the GNU linker have broken support for the
+ '.hidden' directive, which results in problems with shared
+ libraries built with recent versions of gcc.
+
+ There are three solutions:
+
+ - downgrade to binutils that don't support .hidden at all,
+ - upgrade to a recent binutils, or
+ - undef the HAVE_GAS_HIDDEN definition in gcc's auto-host.h
+ (and rebuild gcc).
+
+Runtime Questions
+=================
+
+ 5.1 My program is dumping core! What's going on?
+
+ It could be any number of things. One common mistake is
+ having your CLASSPATH environment variable pointing at a
+ third party's java.lang and friends. Either unset CLASSPATH,
+ or make sure it does not refer to core libraries other than
+ those found in libgcj.jar.Note that newwer versions of GCJ
+ will reject the core class library if it wasn't generated by
+ GCJ itself.
+
+ 5.2 When I run the debugger I get a SEGV in the GC! What's going on?
+
+ This is "normal"; the Garbage Collector (GC) uses it to
+ determine stack boundaries. It is ordinarily caught and
+ handled by the GC -- you can see this in the debugger by
+ using cont to continue to the "real" segv.
+
+ 5.3 I have just compiled and benchmarked my Java application
+ and it seems to be running slower than than XXX JIT JVM. Is there
+ anything I can do to make it go faster?
+
+ A few things:
+
+ - If your programs allocate many small, short lived objects,
+ the heap could be filling and triggering GC too
+ regularly. Try increasing the initial and maximum heap sizes
+ as per 5.5 How do I increase the runtime's initial and
+ maximum heap size?
+ - RE - array accesses. We have sub-optimal runtime checking
+ code, and the compiler is still not so smart about
+ automatically removing array checks. If your code is ready,
+ and it doesn't rely on them, try compiling with
+ --no-bounds-check.
+ - Try static linking. On many platforms, dynamic (PIC)
+ function calls are more expensive than static ones. In
+ particular, the interaction with boehm-gc seems to incur
+ extra overhead when shared libraries are used.
+ - If your Java application doesn't need threads, try
+ building libgcj using --enable-threads=none. Portions of the
+ libgcj runtime are still more efficient when
+ single-threaded.
+
+ 5.4 Can I profile Garbage Collection?
+
+ It is possible to turn on verbose GC output by supressing
+ the -DSILENT flag during build. One way to do this is to
+ comment out the line with #define SILENT 1 from
+ boehm-gc/configure before configuring libgcj. The GC will
+ print collection statistics to stdout. (Rebuilding boehm-gc
+ alone without this flag doesn't seem to work.)
+
+ 5.5 How do I increase the runtime's initial and maximum heap sizes?
+
+ Some programs that allocate many small, short-lived objects
+ can cause the default-sized heap to fill quickly and GC
+ often. With the 2.95.1 release there is no means to adjust
+ the heap at runtime. Recent snapshots provide the -ms and
+ -mx arguments to gij to specify the initial and maximum heap
+ sizes, respectively.
+
+ 5.6 How can I profile my application?
+
+ Currently, only single threaded Java code may be used by the
+ profiler (gprof). POSIX threads seem to be incompatible with
+ the gmon stuff. A couple of other tools that have been
+ mentioned on the GCJ mailing list are sprof and cprof. The
+ former is part of GNU libc.
+
+ 5.7 My program seems to hang and doesn't produce any output
+
+ Some versions had a bug in the iconv support. You can work
+ around it by setting LANG=en_US.UTF-8 at runtime, or give
+ the following option during compile time
+ -Dfile.encoding=UTF-8. This problem should no longer occur
+ as of November 1, 2000.
+
+Programming Issues
+==================
+
+ 6.1 Are there any examples of how to use CNI?
+
+ Glenn Chambers has created a couple of trivial examples for
+ version 2.95 and version 3.0. As a comparison, here is the
+ same example as a JNI application using Kaffe. The same
+ code will work with GCJ, as shown here.
+
+ Note that for version 2.95, you must compile the C++ files
+ used for CNI with the -fno-rtti option. This constraint
+ does not apply in version 3.0 and later.
+
+ The primary source of documentation for CNI is at
+ http://gcc.gnu.org/java/papers/cni/t1.html
+
+ 6.2 Is it possible to invoke GCJ compiled Java code from a
+ C++ application?
+
+ Yes, GCJ 3.1 supports a CNI-based invocation interface as
+ well as the traditional JNI invocation API. See the GCJ
+ Manual for more details on how to use the CNI interface.
+
+Please send FSF & GNU inquiries & questions tognu@gnu.org.There are
+also other waysto contact the FSF.
+
+These pages are maintained by The GCC team.
+
+Please send comments on these web pages and GCC to our publicmailing
+list at gcc@gnu.org orgcc@gcc.gnu.org, send other questions to
+gnu@gnu.org.
+
+Copyright (C) Free Software Foundation, Inc.,
+59 Temple Place - Suite 330, Boston, MA 02111, USA.
+
+Verbatim copying and distribution of this entire article is permitted
+in any medium, provided this notice is preserved.
+
+Last modified 2003-04-30
--- gcc-3.4-3.4.6.orig/debian/gij-BV.prerm
+++ gcc-3.4-3.4.6/debian/gij-BV.prerm
@@ -0,0 +1,7 @@
+#! /bin/sh -e
+
+update-alternatives --quiet --remove java /usr/bin/gij-wrapper-@BV@
+
+#DEBHELPER#
+
+exit 0
--- gcc-3.4-3.4.6.orig/debian/control.m4
+++ gcc-3.4-3.4.6/debian/control.m4
@@ -0,0 +1,707 @@
+divert(-1)
+
+define(`checkdef',`ifdef($1, , `errprint(`error: undefined macro $1
+')m4exit(1)')')
+define(`errexit',`errprint(`error: undefined macro `$1'
+')m4exit(1)')
+
+dnl The following macros must be defined, when called:
+dnl ifdef(`SRCNAME', , errexit(`SRCNAME'))
+dnl ifdef(`PV', , errexit(`PV'))
+dnl ifdef(`ARCH', , errexit(`ARCH'))
+
+dnl The architecture will also be defined (-D__i386__, -D__powerpc__, etc.)
+
+define(`PN', `$1')
+ifdef(`PRI', `', `
+ define(`PRI', `$1')
+')
+define(`MAINTAINER', `Debian GCC Maintainers ')
+
+define(`ifenabled', `ifelse(index(enabled_languages, `$1'), -1, `dnl', `$2')')
+
+divert`'dnl
+dnl --------------------------------------------------------------------------
+Source: SRCNAME
+Section: devel
+Priority: PRI(standard)
+Maintainer: MAINTAINER
+Uploaders: Matthias Klose , Gerhard Tonn
+Standards-Version: 3.6.2
+ifdef(`TARGET',`dnl cross
+Build-Depends: dpkg-dev (>= 1.13.9), LIBC_BUILD_DEP, m4, autoconf2.13, autoconf, automake1.4, automake1.7, libtool, autotools-dev, gawk, bzip2, dpkg-cross (>= 1.18.1), BINUTILS_BUILD_DEP, debhelper (>= 4.1), bison (>= 1:1.875), flex (>= 2.5.31-36ubuntu2), realpath (>= 1.9.12), lsb-release`'TARGETBD
+',`dnl native
+Build-Depends: dpkg-dev (>= 1.13.9), LIBC_BUILD_DEP, LIBC_BIARCH_BUILD_DEP libunwind7-dev (>= 0.98.5-7) [ia64], libatomic-ops-dev [ia64], m4, autoconf2.13, autoconf, automake1.4, automake1.7, libtool, autotools-dev, gawk, dejagnu (>= 1.4.3) [check_no_archs], expect-tcl8.3 [check_no_archs], bzip2, BINUTILS_BUILD_DEP, binutils-hppa64 (>= BINUTILSV) [hppa], debhelper (>= 4.1), gperf (>= 2.7-3), bison (>= 1:1.875), flex (>= 2.5.31-36ubuntu2), gettext, texinfo (>= 4.3), zlib1g-dev, gcc-3.4, locales [locale_no_archs !hurd-i386], procps [check_no_archs], sharutils, PASCAL_BUILD_DEP JAVA_BUILD_DEP GNAT_BUILD_DEP realpath (>= 1.9.12), lsb-release
+Build-Depends-Indep: doxygen (>= 1.4.2), graphviz (>= 2.2), gsfonts-x11
+')dnl
+
+ifdef(`TARGET', `', `
+Package: gcc`'PV-base
+Architecture: any
+Section: devel
+Priority: PRI(required)
+Description: The GNU Compiler Collection (base package)
+ This package contains files common to all languages and libraries
+ contained in the GNU Compiler Collection (GCC).
+ifdef(`BASE_ONLY', `dnl
+ .
+ This version of GCC is not yet available for this architecture.
+ Please use the compilers from the gcc-snapshot package for testing.
+')`'dnl
+')`'dnl native
+
+ifenabled(`libgcc',`
+Package: libgcc1`'LS
+Architecture: ifdef(`TARGET',`all',`any')
+Section: ifdef(`TARGET',`devel',`libs')
+Priority: ifdef(`TARGET',`extra',required)
+Depends: ${shlibs:Depends}
+Description: GCC support library`'ifdef(`TARGET)',` (TARGET)', `')
+ Shared version of the support library, a library of internal subroutines
+ that GCC uses to overcome shortcomings of particular machines, or
+ special needs for some languages.
+ifdef(`TARGET', `dnl
+ .
+ This package contains files for TARGET architecture, for use in cross-compile
+ environment.
+')`'dnl
+
+Package: libgcc2`'LS
+Architecture: ifdef(`TARGET',`all',`hppa m68k')
+Section: ifdef(`TARGET',`devel',`libs')
+Priority: ifdef(`TARGET',`extra',PRI(required))
+Depends: ${shlibs:Depends}
+Description: GCC support library`'ifdef(`TARGET)',` (TARGET)', `')
+ Shared version of the support library, a library of internal subroutines
+ that GCC uses to overcome shortcomings of particular machines, or
+ special needs for some languages.
+ifdef(`TARGET', `dnl
+ .
+ This package contains files for TARGET architecture, for use in cross-compile
+ environment.
+')`'dnl
+')`'dnl libgcc
+
+ifenabled(`lib64gcc',`
+Package: lib64gcc1`'LS
+Architecture: ifdef(`TARGET',`all',`biarch64_archs')
+Section: ifdef(`TARGET',`devel',`libs')
+Priority: ifdef(`TARGET',`extra',PRI(optional))
+Depends: ${dep:libcbiarch}
+Conflicts: libgcc`'GCC_SO`'LS (<= 1:3.3-0pre9)
+Description: GCC support library`'ifdef(`TARGET)',` (TARGET)', `') (64bit)
+ Shared version of the support library, a library of internal subroutines
+ that GCC uses to overcome shortcomings of particular machines, or
+ special needs for some languages.
+ifdef(`TARGET', `dnl
+ .
+ This package contains files for TARGET architecture, for use in cross-compile
+ environment.
+')`'dnl
+')`'dnl lib64gcc
+
+ifdef(`TARGET', `', `dnl
+ifenabled(`lib32gcc',`
+Package: lib32gcc1
+Architecture: biarch32_archs
+Section: libs
+Priority: optional
+Depends: ${dep:libcbiarch}
+Conflicts: ia32-libs-openoffice.org (<= 1ubuntu2)
+Replaces: ia32-libs-openoffice.org (<= 1ubuntu2)
+Description: GCC support library (32-bit version)
+ Shared version of the support library, a library of internal subroutines
+ that GCC uses to overcome shortcomings of particular machines, or
+ special needs for some languages.
+')`'dnl
+')`'dnl
+
+ifenabled(`cdev',`
+Package: gcc`'PV`'TS
+Architecture: any
+Section: devel
+Priority: ifdef(`TARGET',`extra',`PRI(standard)')
+Depends: gcc`'PV-base (= ${gcc:Version}), cpp`'PV`'TS (= ${gcc:Version}), binutils`'TS (>= ${binutils:Version}), ${dep:libgcc}, ${dep:libunwinddev}, ${shlibs:Depends}
+Recommends: ${dep:libcdev}
+Conflicts: gcc-3.2`'TS (<= 1:3.2.3-0pre8)
+Suggests: gcc`'PV-doc (>= ${gcc:SoftVersion}), ${dep:libcbiarchdev}, ${dep:libgccbiarch}
+Provides: c-compiler`'TS
+Description: The GNU C compiler`'ifdef(`TARGET)',` (cross compiler for TARGET architecture)', `')
+ This is the GNU C compiler, a fairly portable optimizing compiler for C.
+ .
+ ABIs changed between gcc-3.3 and gcc-3.4 on some architectures (hppa, m68k,
+ mips, mipsel, sparc). Please read /usr/share/doc/gcc-3.4/README.Debian
+ for more details.
+ifdef(`TARGET', `dnl
+ .
+ This package contains C cross-compiler for TARGET architecture.
+')`'dnl
+')`'dnl cdev
+
+ifenabled(`cdev',`
+ifdef(`TARGET', `', `
+Package: gcc`'PV-hppa64
+Architecture: hppa
+Section: devel
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}
+Conflicts: gcc-3.3-hppa64 (<= 1:3.3.4-5), gcc-3.5-hppa64 (<= 3.5-0pre1)
+Description: The GNU C compiler (cross compiler for hppa64)
+ This is the GNU C compiler, a fairly portable optimizing compiler for C.
+')`'dnl native
+')`'dnl cdev
+
+ifenabled(`cdev',`
+Package: cpp`'PV`'TS
+Architecture: any
+Section: ifdef(`TARGET',`devel',`interpreters')
+Priority: ifdef(`TARGET',`extra',`PRI(standard)')
+Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends}
+Description: The GNU C preprocessor
+ A macro processor that is used automatically by the GNU C compiler
+ to transform programs before actual compilation.
+ .
+ This package has been separated from gcc for the benefit of those who
+ require the preprocessor but not the compiler.
+ifdef(`TARGET', `dnl
+ .
+ This package contains preprocessor configured for TARGET architecture.
+')`'dnl
+
+ifdef(`TARGET', `', `
+Package: cpp`'PV-doc
+Architecture: all
+Section: doc
+Priority: PRI(optional)
+Depends: gcc`'PV-base (>= ${gcc:SoftVersion})
+Replaces: cpp (<= 1:2.93.12)
+Description: Documentation for the GNU C preprocessor (cpp)
+ Documentation for the GNU C preprocessor in info `format'.
+')`'dnl native
+')`'dnl cdev
+
+ifenabled(`c++',`
+ifenabled(`c++dev',`
+Package: g++`'PV`'TS
+Architecture: any
+Section: devel
+Priority: ifdef(`TARGET',`extra',`PRI(standard)')
+Depends: gcc`'PV-base (= ${gcc:Version}), gcc`'PV`'TS (= ${gcc:Version}), libstdc++CXX_SO-dev`'LS (= ${gcc:Version}), ${shlibs:Depends}, libstdc++6 (>= 4.0.2-4)
+Replaces: gcc`'TS (<= 2.7.2.3-3)
+Provides: c++-compiler`'TS, c++abi2-dev
+Suggests: gcc`'PV-doc (>= ${gcc:SoftVersion}), ${dep:libcxxbiarch}
+Description: The GNU C++ compiler`'ifdef(`TARGET)',` (cross compiler for TARGET architecture)', `')
+ This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
+ .
+ ABIs changed between gcc-3.3 and gcc-3.4 on some architectures (hppa, m68k,
+ mips, mipsel, sparc). Please read /usr/share/doc/gcc-3.4/README.Debian
+ for more details. Do not mix code compiled with g++-3.3 and g++-3.4.
+ifdef(`TARGET', `dnl
+ .
+ This package contains C++ cross-compiler for TARGET architecture.
+')`'dnl
+')`'dnl c++dev
+')`'dnl c++
+
+ifenabled(`proto',`
+Package: protoize
+Architecture: any
+Priority: PRI(optional)
+Depends: gcc`'PV-base ((= ${gcc:Version}), gcc`'PV (>= ${gcc:Version}), ${shlibs:Depends}
+Description: Create/remove ANSI prototypes from C code
+ "protoize" can be used to add prototypes to a program, thus converting
+ the program to ANSI C in one respect. The companion program "unprotoize"
+ does the reverse: it removes argument types from any prototypes
+ that are found.
+')`'dnl proto
+
+ifenabled(`objc',`
+ifenabled(`objcdev',`
+Package: gobjc`'PV
+Architecture: any
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), gcc`'PV (= ${gcc:Version}), ${shlibs:Depends}, libobjc`'OBJC_SO (>= ${gcc:EpochVersion})
+Suggests: gcc`'PV-doc (>= ${gcc:SoftVersion})
+Provides: objc-compiler
+ifdef(`OBJC_GC',`Recommends: libgc-dev', `dnl')
+ifdef(`__sparc__',`Conflicts: gcc`'PV-sparc64', `dnl')
+Description: The GNU Objective-C compiler
+ This is the GNU Objective-C compiler, which compiles
+ Objective-C on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+')`'dnl objcdev
+
+ifenabled(`libobjc',`
+Package: libobjc`'OBJC_SO
+Section: libs
+Architecture: any
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends}
+Description: Runtime library for GNU Objective-C applications
+ Library needed for GNU ObjC applications linked against the shared library.
+')`'dnl libobjc
+')`'dnl objc
+
+ifenabled(`f77',`
+ifenabled(`fdev',`
+Package: g77`'PV
+Architecture: any
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), gcc`'PV (= ${gcc:Version}), libg2c`'G2C_SO-dev (>= ${gcc:EpochVersion}), ${shlibs:Depends}
+Provides: fortran77-compiler
+Suggests: g77`'PV-doc
+Conflicts: g77-2.95 (<= 1:2.95.4-19), g77-3.0 (<= 1:3.0.4-16), g77-3.2 (<= 1:3.2.3-9), g77-3.3 (<= 1:3.3.4-3)
+Description: The GNU Fortran 77 compiler
+ This is the GNU g77 Fortran compiler, which compiles
+ Fortran 77 on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: g77`'PV-doc
+Architecture: all
+Section: doc
+Priority: PRI(optional)
+Depends: gcc`'PV-base (>= ${gcc:SoftVersion})
+Replaces: g77 (<= 1:2.91.58-3)
+Description: Documentation for the GNU Fortran compiler (g77)
+ Documentation for the GNU Fortran 77 compiler in info `format'.
+')`'dnl fdev
+
+ifenabled(`libg2c',`
+Package: libg2c`'G2C_SO
+Section: libs
+Architecture: any
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends}
+Description: Runtime library for GNU Fortran 77 applications
+ Library needed for GNU Fortran 77 applications linked against the
+ shared library.
+
+Package: libg2c`'G2C_SO-dev
+Section: libdevel
+Architecture: any
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), libg2c`'G2C_SO (= ${gcc:EpochVersion}), ${shlibs:Depends}
+Conflicts: g77-2.95, g77-2.96, g77-3.0 (<= 1:3.0.4-16), g77-3.2 (<= 1:3.2.3-9), g77-3.3 (<= 1:3.3.3-0pre3)
+Description: GNU Fortran 77 library development
+ Headers and static libraries for g2c.
+')`'dnl libg2c
+
+ifenabled(`lib64g2c',`
+Package: lib64g2c`'G2C_SO
+Section: libs
+Architecture: biarch64_archs
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends}
+Replaces: libg2c0 (<< 1:3.4.4-7)
+Description: Runtime library for GNU Fortran 77 applications (64bit)
+ Library needed for GNU Fortran 77 applications linked against the
+ shared library.
+')`'dnl lib64g2c
+
+ifenabled(`lib32g2c',`
+Package: lib32g2c`'G2C_SO
+Section: libs
+Architecture: biarch32_archs
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends}
+Replaces: libg2c0 (<< 1:3.4.4-7)
+Description: Runtime library for GNU Fortran 77 applications (32bit)
+ Library needed for GNU Fortran 77 applications linked against the
+ shared library.
+')`'dnl lib32g2c
+')`'dnl f77
+
+ifenabled(`java',`
+ifenabled(`javadev',`
+Package: gcj`'PV
+Architecture: any
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), g++`'PV (= ${gcc:Version}), libgcj`'GCJ_SO-common (>= ${gcc:SoftVersion}), ${shlibs:Depends}, java-common
+Recommends: fastjar, gij`'PV (>= ${gcc:Version}), libgcj`'GCJ_SO-dev (>= ${gcc:Version})
+Provides: java-compiler
+Suggests: libgcj`'GCJ_SO-awt (>= ${gcc:Version})
+Conflicts: libgcj4-dev, libgcj6-dev, libgcj7-dev
+Description: The GNU compiler for Java(TM)
+ GCJ is a front end to the GCC compiler which can natively compile both
+ Java(tm) source and bytecode files. The compiler can also generate class
+ files.
+')`'dnl javadev
+
+ifenabled(`libgcj',`
+Package: gij`'PV
+Priority: optional
+Architecture: any
+Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends}
+Suggests: fastjar, gcj`'PV (= ${gcc:Version}), libgcj`'GCJ_SO-awt (= ${gcc:Version})
+Provides: java-virtual-machine, java1-runtime
+Description: The GNU Java bytecode interpreter
+ GIJ is not limited to interpreting bytecode. It includes a class loader which
+ can dynamically load shared objects, so it is possible to give it the name
+ of a class which has been compiled and put into a shared library on the
+ class path.
+
+Package: libgcj-common
+Section: libs
+Architecture: all
+Priority: PRI(optional)
+Depends: gcc`'PV-base (>= ${gcc:SoftVersion})
+Conflicts: classpath (<= 0.04-4), libgcj3 (<< 1:3.2-0pre2)
+Description: Java runtime library (common files)
+ This package contains files shared by classpath and libgcj libraries.
+
+Package: libgcj`'GCJ_SO
+Section: libs
+Architecture: any
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), libgcj-common (>= ${gcc:SoftVersion}), ${shlibs:Depends}
+Recommends: libgcj`'GCJ_SO-common (>= ${gcc:SoftVersion})
+Description: Java runtime library for use with gcj
+ This is the runtime that goes along with the gcj front end to
+ gcc. libgcj includes parts of the Java Class Libraries, plus glue to
+ connect the libraries to the compiler and the underlying OS.
+
+Package: libgcj`'GCJ_SO-common
+Section: libs
+Architecture: all
+Priority: PRI(optional)
+Depends: gcc`'PV-base (>= ${gcc:SoftVersion}), libgcj`'GCJ_SO (>= ${gcc:SoftVersion})
+Conflicts: libgcj5 (<< 3.4.0-1)
+Replaces: libgcj5 (<< 3.4.0-1)
+Description: Java runtime library for use with gcj (jar files)
+ This is the jar file that goes along with the gcj front end to gcc.
+
+Package: libgcj`'GCJ_SO-awt
+Section: libs
+Architecture: any
+Priority: PRI(optional)
+Depends: libgcj`'GCJ_SO (= ${gcc:Version}), ${shlibs:Depends}
+Conflicts: libgcj5 (<< 3.4.0-2), libgcj-awt5
+Replaces: libgcj5 (<< 3.4.0-2), libgcj-awt5
+Description: AWT peer runtime libraries for use with gcj
+ These are runtime libraries holding the AWT peer implementations
+ for libgcj (currently only the GTK based peer library).
+')`'dnl libgcj
+
+ifenabled(`javadev',`
+Package: libgcj`'GCJ_SO-dev
+Section: libdevel
+Architecture: any
+Priority: PRI(optional)
+Depends: gcj`'PV (= ${gcc:Version}), libgcj`'GCJ_SO (>= ${gcc:Version}), libgcj`'GCJ_SO-common (>= ${gcc:SoftVersion}), libgcj`'GCJ_SO-awt (>= ${gcc:Version}), zlib1g-dev, ${shlibs:Depends}
+Conflicts: libgcj2-dev, libgcj3-dev, libgcj4-dev
+Description: Java development headers and static library for use with gcj
+ This is the development headers and static libraries that go along
+ with the gcj front end to gcc. libgcj includes parts of the Java Class
+ Libraries, plus glue to connect the libraries to the compiler and the
+ underlying OS.
+')`'dnl javadev
+')`'dnl java
+
+ifenabled(`fastjar',`
+Package: fastjar
+Section: devel
+Architecture: any
+Priority: PRI(optional)
+Depends: ${shlibs:Depends}
+Description: Jar creation utility
+ Replacement for Suns .jar creation program. It is written in C
+ instead of java and is tons faster.
+')`'dnl fastjar
+
+ifenabled(`libffi',`
+Package: libffi`'FFI_SO
+Section: libs
+Architecture: any
+Priority: PRI(optional)
+Depends: gcc`'PV`'-base (= ${gcc:Version}), ${shlibs:Depends}
+Description: Foreign Function Interface library runtime
+ A foreign function interface is the popular name for the interface that
+ allows code written in one language to call code written in another
+ language.
+
+Package: libffi`'FFI_SO-dev
+Section: libdevel
+Architecture: any
+Priority: PRI(optional)
+Depends: gcc`'PV`'-base (= ${gcc:Version}), libffi`'FFI_SO (>= ${gcc:EpochVersion})
+Recommends: gcc-3.4
+Conflicts: libffi1-dev, libffi2-dev
+Description: Foreign Function Interface library (development files)
+ This package contains the headers and static library files necessary for
+ building building programs which use libffi.
+ .
+ Use this package together with gcc-3.4.
+ .
+ A foreign function interface is the popular name for the interface that
+ allows code written in one language to call code written in another
+ language.
+')`'dnl libffi
+
+ifenabled(`c++',`
+ifenabled(`libcxx',`
+Package: libstdc++CXX_SO`'LS
+Architecture: ifdef(`TARGET',`all',`any')
+Section: ifdef(`TARGET',`devel',`libs')
+Priority: ifdef(`TARGET',`extra',PRI(required))
+Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends}
+Conflicts: libstdc++6-0
+Replaces: libstdc++6-0
+Description: The GNU Standard C++ Library v3`'ifdef(`TARGET)',` (TARGET)', `')
+ This package contains an additional runtime library for C++ programs
+ built with the GNU compiler.
+ .
+ libstdc++-v3 is a complete rewrite from the previous libstdc++-v2, which
+ was included up to g++-2.95. The first version of libstdc++-v3 appeared
+ in g++-3.0.
+ifdef(`TARGET', `dnl
+ .
+ This package contains files for TARGET architecture, for use in cross-compile
+ environment.
+')`'dnl
+
+Package: lib32stdc++CXX_SO`'LS
+Architecture: ifdef(`TARGET',`all',`biarch32_archs')
+Section: ifdef(`TARGET',`devel',`libs')
+Priority: ifdef(`TARGET',`extra',PRI(optional))
+Depends: gcc`'PV-base (= ${gcc:Version}), lib32gcc`'GCC_SO`'LS
+Description: The GNU Standard C++ Library v3 (ia32)
+ This package contains an additional runtime library for C++ programs
+ built with the GNU compiler.
+ifdef(`TARGET', `dnl
+ .
+ This package contains files for TARGET architecture, for use in cross-compile
+ environment.
+')`'dnl
+')`'dnl libcxx
+
+ifenabled(`lib64cxx',`
+Package: lib64stdc++CXX_SO`'LS
+Architecture: ifdef(`TARGET',`all',`biarch64_archs')
+Section: ifdef(`TARGET',`devel',`libs')
+Priority: ifdef(`TARGET',`extra',PRI(important))
+Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends}
+Description: The GNU Standard C++ Library v3`'ifdef(`TARGET)',` (TARGET)', `') (64bit)
+ This package contains an additional runtime library for C++ programs
+ built with the GNU compiler.
+ .
+ libstdc++-v3 is a complete rewrite from the previous libstdc++-v2, which
+ was included up to g++-2.95. The first version of libstdc++-v3 appeared
+ in g++-3.0.
+ifdef(`TARGET', `dnl
+ .
+ This package contains files for TARGET architecture, for use in cross-compile
+ environment.
+')`'dnl
+')`'dnl lib64cxx
+
+ifenabled(`c++dev',`
+Package: libstdc++CXX_SO-dev`'LS
+Architecture: ifdef(`TARGET',`all',`any')
+Section: ifdef(`TARGET',`devel',`libdevel')
+Priority: ifdef(`TARGET',`extra',PRI(standard))
+Depends: gcc`'PV-base (= ${gcc:Version}), g++`'PV`'TS (= ${gcc:Version}), libstdc++CXX_SO`'LS (>= ${gcc:Version}), ${dep:libcdev}
+ifdef(`TARGET',`',`dnl
+Conflicts: libstdc++6-0-dev, libg++27-dev, libg++272-dev (<< 2.7.2.8-1), libstdc++2.8-dev, libg++2.8-dev, libstdc++2.9-dev, libstdc++2.9-glibc2.1-dev, libstdc++2.10-dev (<< 1:2.95.3-2), libstdc++3.0-dev
+Replaces: libstdc++6-0-dev
+Suggests: libstdc++CXX_SO-doc
+')`'dnl native
+Provides: libstdc++-dev`'LS
+Description: The GNU Standard C++ Library v3 (development files)`'ifdef(`TARGET)',` (TARGET)', `')
+ This package contains the headers and static library files necessary for
+ building C++ programs which use libstdc++. Be advised that this only works
+ with the GNU C++ compiler (version 3.0), and no earlier library will work it.
+ .
+ libstdc++-v3 is a complete rewrite from the previous libstdc++-v2, which
+ was included up to g++-2.95. The first version of libstdc++-v3 appeared
+ in g++-3.0.
+ifdef(`TARGET', `dnl
+ .
+ This package contains files for TARGET architecture, for use in cross-compile
+ environment.
+')`'dnl
+
+Package: libstdc++CXX_SO-pic`'LS
+Architecture: ifdef(`TARGET',`all',`any')
+Section: ifdef(`TARGET',`devel',`libdevel')
+Priority: extra
+Depends: gcc`'PV-base (= ${gcc:Version}), libstdc++CXX_SO`'LS (>= ${gcc:Version}), libstdc++CXX_SO-dev`'LS (= ${gcc:Version})
+Conflicts: libstdc++6-0-pic
+Replaces: libstdc++6-0-pic
+Description: The GNU Standard C++ Library v3 (shared library subset kit)`'ifdef(`TARGET)',` (TARGET)', `')
+ This is used to develop subsets of the libstdc++ shared libraries for
+ use on custom installation floppies and in embedded systems.
+ .
+ Unless you are making one of those, you will not need this package.
+ifdef(`TARGET', `dnl
+ .
+ This package contains files for TARGET architecture, for use in cross-compile
+ environment.
+')`'dnl
+
+Package: libstdc++CXX_SO-dbg`'LS
+Architecture: ifdef(`TARGET',`all',`any')
+Section: ifdef(`TARGET',`devel',`libdevel')
+Priority: extra
+Depends: gcc`'PV-base (= ${gcc:Version}), libstdc++CXX_SO`'LS (>= ${gcc:Version})
+Recommends: libstdc++CXX_SO-dev`'LS (= ${gcc:Version})
+Conflicts: libstdc++6-0-dbg, libstdc++5-dbg`'LS, libstdc++5-3.3-dbg`'LS, libstdc++6-4.0-dbg`'LS
+Replaces: libstdc++6-0-dbg
+Description: The GNU Standard C++ Library v3 (debugging files)`'ifdef(`TARGET)',` (TARGET)', `')
+ This package contains the shared library of libstdc++ compiled with
+ debugging symbols.
+ifdef(`TARGET', `dnl
+ .
+ This package contains files for TARGET architecture, for use in cross-compile
+ environment.
+')`'dnl
+
+ifdef(`TARGET', `', `
+Package: libstdc++6-doc
+Architecture: all
+Section: doc
+Priority: PRI(optional)
+Depends: gcc`'PV-base (>= ${gcc:SoftVersion})
+Conflicts: libstdc++5-doc, libstdc++5-3.3-doc
+Description: The GNU Standard C++ Library v3 (documentation files)
+ This package contains documentation files for the GNU stdc++ library.
+ .
+ One set is the distribution documentation, the other set is the
+ source documentation including a namespace list, class hierarchy,
+ alphabetical list, compound list, file list, namespace members,
+ compound members and file members.
+')`'dnl native
+')`'dnl c++dev
+')`'dnl c++
+
+ifenabled(`ada',`
+Package: gnat`'-GNAT_V
+Architecture: any
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), gcc`'PV (= ${gcc:Version}), ${dep:libgnat}, ${shlibs:Depends}
+Suggests: gnat`'PV-doc, ada-reference-manual
+Provides: ada-compiler
+Conflicts: gnat, gnat-3.1, gnat-3.2, gnat-3.3
+Provides: gnat
+Description: The GNU Ada compiler
+ This is the GNU Ada compiler, which compiles Ada on platforms supported
+ by the gcc compiler. It uses the gcc backend to generate optimized code.
+
+ifenabled(`libgnat',`
+Package: libgnat`'-GNAT_V
+Section: libs
+Architecture: any
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends}
+Description: Runtime library for GNU Ada applications
+ Library needed for GNU Ada applications linked against the shared library.
+')`'dnl libgnat
+
+Package: gnat`'PV-doc
+Architecture: all
+Section: doc
+Priority: PRI(optional)
+Depends: gcc`'PV-base (>= ${gcc:SoftVersion})
+Suggests: gnat`'PV
+Description: Documentation for the GNU Ada compiler (gnat)
+ Documentation for the GNU Ada compiler in info `format'.
+')`'dnl ada
+
+ifenabled(`pascal',`
+Package: gpc`'GPC_PV
+Architecture: any
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), gcc`'PV (= ${gcc:Version}), ${shlibs:Depends}
+Recommends: libgmp3-dev, libncurses5-dev
+Suggests: gpc`'GPC_PV-doc (>= ${gcc:Version})
+Provides: pascal-compiler
+Description: The GNU Pascal compiler
+ This is the GNU Pascal compiler, which compiles Pascal on platforms supported
+ by the gcc compiler. It uses the gcc backend to generate optimized code.
+ .
+ WARNING: the integration of gpc into gcc-3.x is still in an experimental
+ stage. For production use, please use gpc or gpc-2.95.
+
+Package: gpc`'GPC_PV-doc
+Architecture: all
+Section: doc
+Priority: PRI(optional)
+Depends: gcc`'PV-base (>= ${gcc:SoftVersion})
+Replaces: gpc (<= 2.91.58-3)
+Suggests: gpc`'GPC_PV
+Description: Documentation for the GNU Pascal compiler (gpc)
+ Documentation for the GNU Pascal compiler in info `format'.
+ .
+ WARNING: the integration of gpc into gcc-3.x is still in an experimental
+ stage. For production use, please use gpc or gpc-2.95.
+')`'dnl pascal
+
+ifenabled(`treelang',`
+Package: treelang`'PV
+Architecture: any
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), gcc`'PV (= ${gcc:Version}), ${shlibs:Depends}
+Description: The GNU Treelang compiler
+ Treelang is a sample language, useful only to help people understand how
+ to implement a new language front end to GCC. It is not a useful
+ language in itself other than as an example or basis for building a new
+ language. Therefore only language developers are likely to have an
+ interest in it.
+')`'dnl treelang
+
+ifdef(`TARGET',`',`dnl
+ifenabled(`libs',`
+Package: gcc`'PV-soft-float
+Architecture: arm armeb
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), ifenabled(`cdev',`gcc`'PV (= ${gcc:Version}),') ${shlibs:Depends}
+Replaces: gcc-soft-float-ss
+Description: The soft-floating-point gcc libraries (arm)
+ These are versions of basic static libraries such as libgcc.a compiled
+ with the -msoft-float option, for CPUs without a floating-point unit.
+')`'dnl commonlibs
+')`'dnl
+
+ifenabled(`fixincl',`
+Package: fixincludes
+Architecture: any
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), gcc`'PV (= ${gcc:Version}), ${shlibs:Depends}
+Description: Fix non-ANSI header files
+ FixIncludes was created to fix non-ANSI system header files. Many
+ system manufacturers supply proprietary headers that are not ANSI compliant.
+ The GNU compilers cannot compile non-ANSI headers. Consequently, the
+ FixIncludes shell script was written to fix the header files.
+ .
+ Not all packages with header files are installed at gcc's build time, so
+ we make fixincludes available at build time of other packages, such that
+ checking tools like lintian can make use of it.
+')`'dnl proto
+
+ifenabled(`cdev',`
+ifdef(`TARGET', `', `
+Package: gcc`'PV-doc
+Architecture: all
+Section: doc
+Priority: PRI(optional)
+Depends: gcc`'PV-base (>= ${gcc:SoftVersion})
+Conflicts: gcc-docs (<< 2.95.2)
+Replaces: gcc (<=2.7.2.3-4.3), gcc-docs (<< 2.95.2)
+Description: Documentation for the GNU compilers (gcc, gobjc, g++)
+ Documentation for the GNU compilers in info `format'.
+')`'dnl native
+')`'dnl cdev
+
+ifdef(`TARGET',`',`dnl
+ifenabled(`libnof',`
+Package: gcc`'PV-nof
+Architecture: powerpc
+Priority: PRI(optional)
+Depends: gcc`'PV-base (= ${gcc:Version}), ${shlibs:Depends}ifenabled(`cdev',`, gcc`'PV (= ${gcc:Version})')
+Conflicts: gcc-3.2-nof
+Description: The no-floating-point gcc libraries (powerpc)
+ These are versions of basic static libraries such as libgcc.a compiled
+ with the -msoft-float option, for CPUs without a floating-point unit.
+')`'dnl libnof
+')`'dnl
+dnl
+dnl last line in file
--- gcc-3.4-3.4.6.orig/debian/README.cross
+++ gcc-3.4-3.4.6/debian/README.cross
@@ -0,0 +1,134 @@
+Building cross-compiler Debian packages
+---------------------------------------
+
+It is possible to build C and C++ cross compilers and support libraries
+from gcc-3.4 source package. This document describes how to do so.
+Cross-compiler build support is not perfect yet, please send fixes
+and improvements to debian-gcc@lists.debian.org
+
+Before you start, you should probably check available pre-built
+cross-toolchain debs. At the time of writing (Jul 2004) those are
+available from
+ http://zigzag.lvk.cs.msu.su/~nikita/debian/
+If they are no longer there, you may check EmDebian web site at
+ http://emdebian.sf.net/
+or ask debian-embedded@lists.debian.org for newer location.
+
+
+0. What's wrong with toolchain-source approach
+
+Package toolchain-source contains sources for binutils and gcc, as well as
+some support scripts to build cross-compiler packages. They seem to work.
+
+However, there is one fundamental problem with this approach.
+Gcc package is actively maintained and frequently updated. These updates
+do contain bug fixes and improvements, especially for non-x86 architectures.
+Cross-compilers built using toolchain-source will not get those fixes unless
+toolchain-source package is updated after each binutils and gcc update.
+The later is not hapenning in real life. For example, toolchain-source
+was upgraded from gcc-3.2 to gcc-3.3 half a year later than gcc-3.3 became
+Debian default compiler.
+
+Keeping toolchain-source package up-to-date requires lots of work, and seems
+to be a waste of time. It is much better to build cross-compilers directly
+from gcc source package.
+
+
+1. What is needed to build a cross-compiler from gcc-3.4 source
+
+1.1. dpkg-cross package
+
+Dpkg-cross package contains several tools to manage cross-compile environment.
+
+It can convert native debian library and lib-dev packages for the target
+architecture to binary-all packages that keep libraries and headers under
+/usr/$(TARGET)/.
+
+Also it contains helper tools for cross-compiling debian packages. Some of
+these tools are used while building libgcc1 and libstdc++ library packages.
+The resulting library packages follow the same convensions as library packages
+converted by dpkg-cross.
+
+Currently, at least version 1.18 of dpkg-cross is needed for cross-gcc
+package build.
+
+1.2. cross-binutils for the target
+
+You need cross-binutils for your target to build cross-compiler.
+Binutils-multiarch package will not work because it does not provide cross-
+assemblers.
+
+If you don't want to use pre-built cross-binutils packages, you may build
+your own from binutils debian source package, using patches posted to
+bug #231707. Please use the latest of patch versions available there.
+
+Alternatively, you may use toolchain-source package to build cross-binutils
+(but in this case you will probably also want to use toolchain-source
+to build cross-compiler itself). However, multilib'ed cross-compilers may
+not build or work with these binutils.
+
+1.3. libc for target
+
+You also need libc library and development packages for the target
+architecture installed.
+
+To get those, download linux-kernel-headers, libdb1-compat, libc6,
+and libc6-dev binary debs for your target, convert those using
+dpkg-cross -b, and install resulting -arch-cross debs. Consult dpkg-cross
+manual page for more information.
+
+Building with/for alternative libc's is not supported yet (but this is in
+TODO).
+
+Note that if you plan to use your cross-toolchain to develop kernel drivers
+or similar low-level things, you will probably also need kernel headers
+for the exact kernel version that your target hardware uses.
+
+
+2. Building cross-compiler packages
+
+Get gcc-3.4 source package.
+
+Unpack it using dpkg-source -x, and cd to the package directory.
+
+Set GCC_TARGET environment variable to the target architectire name. Note
+that currently you should use debian architecture name (i.e 'powerpc' or 'arm'),
+not GNU system type (i.e. 'powerpc-linux' or 'arm-linux'). Setting GCC_TARGET
+to GNU system type will cause cross-compiler build to fail.
+
+Instead of setting GCC_TARGET, target architecture name may be put into
+debian/target file. If both GCC_TARGET is defined and debian/target file
+exists, GCC_TARGET is used.
+
+Run debian/rules control. This will change debian/control file, adjusting
+build-depends.
+
+Build the package using dpkg-buildpackage.
+
+
+3. Using crosshurd
+
+Jeff Bailey suggests alternate way to setup
+environment to build cross-compiler, using 'crosshurd' package.
+Crosshurd is like debootstrap but cross-arch, and works on the Hurd,
+Linux and FreeBSD. (The name is historical).
+
+If you setup your environment with crosshurd, you will need to fix symlinks
+in lib and usr/lib to be relative instead of absolute. For example:
+
+lrwxrwxrwx 1 root root 20 2004-05-06 23:02 libcom_err.so -> /lib/libcom_err.so.2
+
+Needs to be changed to:
+
+lrwxrwxrwx 1 root root 20 2004-05-06 23:02 libcom_err.so -> ../../lib/libcom_err.so.2
+
+Also, if you choose this method, set the environment variable 'with_sysroot'
+to point to the ABSOLUTE PATH where the crosshurd was done.
+
+Note however that build-depends of cross-gcc and dependencies in generated
+libgcc1 and libstdc++ packages assume that you use dpkg-cross to set up
+your environment, and may be wrong or incomplete if you use alternate methods.
+But probably you don't care.
+
+--
+Nikita V. Youshchenko
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-cxx.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-cxx.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-proto.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-proto.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-pascal.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-pascal.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-libobjc.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-libobjc.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-libstdcxx.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-libstdcxx.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-base.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-base.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-fortran.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-fortran.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-objc.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-objc.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-java.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-java.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-cpp.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-cpp.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-nof.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-nof.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-libgcc.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-libgcc.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-cross.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-cross.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-fastjar.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-fastjar.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-libffi.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-libffi.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-fixincl.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-fixincl.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-gcc.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-gcc.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-softfloat.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-softfloat.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-treelang.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-treelang.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-ada.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-ada.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/props/binary-gcc-cross.mk.svn-work
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/props/binary-gcc-cross.mk.svn-work
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-base.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-base.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-fortran.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-fortran.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-objc.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-objc.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-java.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-java.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-cpp.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-cpp.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-nof.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-nof.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-libgcc.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-libgcc.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-cross.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-cross.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-fastjar.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-fastjar.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-libffi.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-libffi.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-gcc.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-gcc.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-fixincl.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-fixincl.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-softfloat.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-softfloat.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-cxx.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-cxx.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-proto.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-proto.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-pascal.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-pascal.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-libstdcxx.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-libstdcxx.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-libobjc.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-libobjc.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-treelang.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-treelang.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-ada.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-ada.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/prop-base/binary-gcc-cross.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/prop-base/binary-gcc-cross.mk.svn-base
@@ -0,0 +1 @@
+END
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/format
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/format
@@ -0,0 +1 @@
+4
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/entries
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/entries
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/README.txt
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/README.txt
@@ -0,0 +1,2 @@
+This is a Subversion working copy administrative directory.
+Visit http://subversion.tigris.org/ for more information.
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-libgcc-cross.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-libgcc-cross.mk.svn-base
@@ -0,0 +1,216 @@
+arch_binaries := $(arch_binaries) libgcc
+ifeq ($(with_lib64gcc),yes)
+ arch_binaries := $(arch_binaries) lib64gcc
+endif
+ifeq ($(biarch32),yes)
+ arch_binaries := $(arch_binaries) lib32gcc
+endif
+
+p_lgcc = libgcc$(GCC_SONAME)$(cross_lib_arch)
+d_lgcc = debian/$(p_lgcc)
+
+p_l64gcc = lib32gcc$(GCC_SONAME)$(cross_lib_arch)
+d_l64gcc = debian/$(p_l32gcc)
+
+p_l64gcc = lib64gcc$(GCC_SONAME)$(cross_lib_arch)
+d_l64gcc = debian/$(p_l64gcc)
+
+ifeq ($(with_shared_libgcc),yes)
+files_lgcc = \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib/libgcc_s.so.$(GCC_SONAME)
+files_l64gcc = \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib64/libgcc_s.so.$(GCC_SONAME)
+endif
+
+# ----------------------------------------------------------------------
+ifeq ($(DEB_TARGET_GNU_CPU),ia64)
+$(binary_stamp)-libgcc: $(install_dependencies) $(binary_stamp)-libunwind
+else
+$(binary_stamp)-libgcc: $(install_dependencies)
+endif
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lgcc)
+ dh_installdirs -p$(p_lgcc) \
+ $(docdir)/$(p_lgcc) \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib
+
+ifeq ($(with_shared_libgcc),yes)
+ DH_COMPAT=2 dh_movefiles -p$(p_lgcc) $(files_lgcc)
+endif
+
+ dh_installdocs -p$(p_lgcc)
+ dh_installchangelogs -p$(p_lgcc)
+
+ debian/dh_rmemptydirs -p$(p_lgcc)
+ifeq ($(with_shared_libgcc),yes)
+ ifeq ($(DEB_TARGET_GNU_CPU),ia64)
+ cp -a $(PWD)/$(d)-unwind/usr/lib/libunwind.so.* $(d_lgcc)/usr/$(DEB_TARGET_GNU_TYPE)/lib/
+ dh_makeshlibs -p$(p_lgcc) -V '$(p_lgcc) (>= 1:3.4.3-6)' -n
+ sed s/$(cross_lib_arch)//g < debian/$(p_lgcc)/DEBIAN/shlibs > debian/$(p_lgcc)/DEBIAN/shlibs.fixed
+ mv debian/$(p_lgcc)/DEBIAN/shlibs.fixed debian/$(p_lgcc)/DEBIAN/shlibs
+ touch debian/$(p_lgcc).substvars
+ ARCH=$(DEB_TARGET_ARCH) MAKEFLAGS="CC=something" dh_shlibdeps -p$(p_lgcc) -Xlibgcc_s
+ sed 's/\(lib[^ ]*\) /\1$(cross_lib_arch) /g' < debian/$(p_lgcc).substvars > debian/$(p_lgcc).substvars.new
+ mv debian/$(p_lgcc).substvars.new debian/$(p_lgcc).substvars
+ else
+ dh_makeshlibs -p$(p_lgcc) -V '$(p_lgcc) (>= $(DEB_LIBGCC_SOVERSION))' -n
+ sed s/$(cross_lib_arch)//g < debian/$(p_lgcc)/DEBIAN/shlibs > debian/$(p_lgcc)/DEBIAN/shlibs.fixed
+ mv debian/$(p_lgcc)/DEBIAN/shlibs.fixed debian/$(p_lgcc)/DEBIAN/shlibs
+ touch debian/$(p_lgcc).substvars
+ ARCH=$(DEB_TARGET_ARCH) MAKEFLAGS="CC=something" dh_shlibdeps -p$(p_lgcc)
+ sed 's/\(lib[^ ]*\) /\1$(cross_lib_arch) /g' < debian/$(p_lgcc).substvars > debian/$(p_lgcc).substvars.new
+ mv debian/$(p_lgcc).substvars.new debian/$(p_lgcc).substvars
+ endif
+ cat debian/$(p_lgcc)/DEBIAN/shlibs >> debian/shlibs.local
+endif
+ PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_lgcc)
+ dh_compress -p$(p_lgcc)
+ dh_fixperms -p$(p_lgcc)
+ dh_gencontrol -p$(p_lgcc) \
+ -- -v$(DEB_LIBGCC_VERSION) $(common_substvars)
+ b=libgcc; v=$(GCC_SONAME); \
+ for ext in preinst postinst prerm postrm; do \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done
+ dh_installdeb -p$(p_lgcc)
+ dh_md5sums -p$(p_lgcc)
+ dh_builddeb -p$(p_lgcc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-lib64gcc: $(install_dependencies)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_l64gcc)
+ dh_installdirs -p$(p_l64gcc) \
+ $(docdir)/$(p_l64gcc) \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib64
+
+ifeq ($(with_shared_libgcc),yes)
+ DH_COMPAT=2 dh_movefiles -p$(p_l64gcc) $(files_l64gcc)
+endif
+
+ dh_installdocs -p$(p_l64gcc)
+ dh_installchangelogs -p$(p_l64gcc)
+
+ debian/dh_rmemptydirs -p$(p_l64gcc)
+ PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_l64gcc)
+ dh_compress -p$(p_l64gcc)
+ dh_fixperms -p$(p_l64gcc)
+ifeq ($(with_shared_libgcc),yes)
+ dh_makeshlibs -p$(p_l64gcc) \
+ -V '$(p_l64gcc) (>= $(DEB_LIBGCC_SOVERSION))' -n
+ sed s/$(cross_lib_arch)//g < debian/$(p_l64gcc)/DEBIAN/shlibs > debian/$(p_l64gcc)/DEBIAN/shlibs.fixed
+ mv debian/$(p_l64gcc)/DEBIAN/shlibs.fixed debian/$(p_l64gcc)/DEBIAN/shlibs
+ cat debian/$(p_l64gcc)/DEBIAN/shlibs >> debian/shlibs.local
+endif
+ ARCH=$(DEB_TARGET_ARCH) MAKEFLAGS="CC=something" dh_shlibdeps -p$(p_l64gcc)
+ sed 's/\(lib[^ ]*\) /\1$(cross_lib_arch) /g' < debian/$(p_l64gcc).substvars > debian/$(p_l64gcc).substvars.new
+ mv debian/$(p_l64gcc).substvars.new debian/$(p_l64gcc).substvars
+ dh_gencontrol -p$(p_l64gcc) \
+ -- -v$(DEB_VERSION) $(common_substvars)
+ b=libgcc; v=$(GCC_SONAME); \
+ for ext in preinst postinst prerm postrm; do \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done
+ dh_installdeb -p$(p_l64gcc)
+ dh_md5sums -p$(p_l64gcc)
+ dh_builddeb -p$(p_l64gcc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+
+$(binary_stamp)-lib32gcc: $(install_dependencies)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_l32gcc)
+ dh_installdirs -p$(p_l32gcc) \
+ $(docdir)/$(p_l32gcc) \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib32
+
+ifeq ($(with_shared_libgcc),yes)
+ DH_COMPAT=2 dh_movefiles -p$(p_l32gcc) $(files_l32gcc)
+endif
+
+ dh_installdocs -p$(p_l32gcc)
+ dh_installchangelogs -p$(p_l32gcc)
+
+ debian/dh_rmemptydirs -p$(p_l32gcc)
+ PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_l32gcc)
+ dh_compress -p$(p_l32gcc)
+ dh_fixperms -p$(p_l32gcc)
+ifeq ($(with_shared_libgcc),yes)
+ dh_makeshlibs -p$(p_l32gcc) \
+ -V '$(p_l32gcc) (>= $(DEB_LIBGCC_SOVERSION))' -n
+ sed s/$(cross_lib_arch)//g < debian/$(p_l32gcc)/DEBIAN/shlibs > debian/$(p_l32gcc)/DEBIAN/shlibs.fixed
+ mv debian/$(p_l32gcc)/DEBIAN/shlibs.fixed debian/$(p_l32gcc)/DEBIAN/shlibs
+ cat debian/$(p_l32gcc)/DEBIAN/shlibs >> debian/shlibs.local
+endif
+ ARCH=$(DEB_TARGET_ARCH) MAKEFLAGS="CC=something" dh_shlibdeps -p$(p_l32gcc)
+ sed 's/\(lib[^ ]*\) /\1$(cross_lib_arch) /g' < debian/$(p_l32gcc).substvars > debian/$(p_l32gcc).substvars.new
+ mv debian/$(p_l32gcc).substvars.new debian/$(p_l32gcc).substvars
+ dh_gencontrol -p$(p_l32gcc) \
+ -- -v$(DEB_VERSION) $(common_substvars)
+ b=libgcc; v=$(GCC_SONAME); \
+ for ext in preinst postinst prerm postrm; do \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done
+ dh_installdeb -p$(p_l32gcc)
+ dh_md5sums -p$(p_l32gcc)
+ dh_builddeb -p$(p_l32gcc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+
+unwind_dir = libunwind-0.98.3
+xxx: $(binary_stamp)-libunwind
+$(binary_stamp)-libunwind:
+ rm -rf $(unwind_dir).tar.gz $(unwind_dir) $(d)-unwind
+ uudecode libunwind.uue
+ tar xfz $(unwind_dir).tar.gz
+
+ : Below are several hacks to allow cross-build of libunwind unless
+ : related bugs both at unwind side and at gcc side are fixed
+
+ : Put pre-built Gcursor_i.h and Lcursor_i.h into src/ ...
+ cp debian/cross-unwind/[GL]cursor_i.h $(unwind_dir)/src/
+ touch $(unwind_dir)/src/[GL]cursor_i.h
+
+ : ... and avoid rebuilding of those files
+ sed 's/\(@[GL]cursor_i.h\):/\1DISABLE:/g' $(unwind_dir)/src/Makefile.in > $(unwind_dir)/src/Makefile.in.tmp
+ mv -f $(unwind_dir)/src/Makefile.in.tmp $(unwind_dir)/src/Makefile.in
+
+ : also, alter configure to disable REMOTE_ONLY mode of libunwind
+ : that is turned on with target!=build
+ : /manually checked that the following regexp affects only this/
+ sed 's/test x\$$target_arch != x\$$build_arch/false/g' $(unwind_dir)/configure > $(unwind_dir)/configure.tmp
+ mv $(unwind_dir)/configure.tmp $(unwind_dir)/configure
+ chmod 755 $(unwind_dir)/configure
+
+ : also, patch iseveral files to ensure PATH_MAX is defined
+ : /limits.h does not include it because of some problem/
+ cd $(unwind_dir)/src && patch -p1 < ../../debian/cross-unwind/path_max.patch
+
+ cd $(unwind_dir) && CC="$(PWD)/build/gcc/xgcc -B$(PWD)/build/gcc/" ./configure \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --host=$(DEB_TARGET_GNU_TYPE) \
+ --prefix=/usr
+ $(MAKE) -C $(unwind_dir)
+ $(MAKE) -C $(unwind_dir) install DESTDIR=$(PWD)/$(d)-unwind
+ touch $(binary_stamp)-libunwind
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-base.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-base.mk.svn-base
@@ -0,0 +1,24 @@
+arch_binaries := base $(arch_binaries)
+
+# ---------------------------------------------------------------------------
+# gcc-base
+
+$(binary_stamp)-base: $(install_dependencies)
+ dh_testdir
+ dh_testroot
+ rm -rf $(d_base)
+ dh_installdirs -p$(p_base)
+ dh_installdocs -p$(p_base)
+ cp -p debian/NEWS.sarge $(d_base)/usr/share/doc/$(p_base)/NEWS.Debian
+ifeq ($(with_base_only),yes)
+ dh_installchangelogs -p$(p_base)
+else
+ dh_installchangelogs -p$(p_base) $(srcdir)/ChangeLog
+endif
+ dh_compress -p$(p_base)
+ dh_fixperms -p$(p_base)
+ dh_gencontrol -p$(p_base) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_base)
+ dh_md5sums -p$(p_base)
+ dh_builddeb -p$(p_base)
+ touch $@
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-fortran.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-fortran.mk.svn-base
@@ -0,0 +1,259 @@
+ifeq ($(with_libg2c),yes)
+ arch_binaries := $(arch_binaries) libg2c
+endif
+ifeq ($(with_lib32g2c),yes)
+ arch_binaries := $(arch_binaries) lib32g2c
+endif
+ifeq ($(with_lib64g2c),yes)
+ arch_binaries := $(arch_binaries) lib64g2c
+endif
+
+ifeq ($(with_fdev),yes)
+ arch_binaries := $(arch_binaries) fdev
+ ifneq ($(GFDL_INVARIANT_FREE),yes)
+ indep_binaries := $(indep_binaries) fortran-doc
+ endif
+ arch_binaries := $(arch_binaries) libg2c-dev
+endif
+
+p_g77 = g77$(pkg_ver)
+p_g77d = g77$(pkg_ver)-doc
+p_g2c = libg2c$(F77_SONAME)
+p_g2c32 = lib32g2c$(F77_SONAME)
+p_g2c64 = lib64g2c$(F77_SONAME)
+p_g2cd = libg2c$(F77_SONAME)-dev
+
+d_g77 = debian/$(p_g77)
+d_g77d = debian/$(p_g77d)
+d_g2c = debian/$(p_g2c)
+d_g2c32 = debian/$(p_g2c32)
+d_g2c64 = debian/$(p_g2c64)
+d_g2cd = debian/$(p_g2cd)
+
+dirs_g77 = \
+ $(docdir)/$(p_base)/fortran \
+ $(PF)/bin \
+ $(gcc_lexec_dir) \
+ $(gcc_lib_dir)/include \
+ $(PF)/include \
+ $(PF)/share/man/man1
+files_g77 = \
+ $(PF)/bin/g77$(pkg_ver) \
+ $(gcc_lexec_dir)/f771 \
+ $(PF)/share/man/man1/g77$(pkg_ver).1
+
+dirs_g2c = \
+ $(docdir)/$(p_base)/fortran \
+ $(PF)/$(libdir) \
+
+files_g2c = \
+ $(PF)/$(libdir)/libg2c.so.*
+
+dirs_g2cd = \
+ $(docdir)/$(p_base)/fortran \
+ $(PF)/$(libdir) \
+ $(PF)/include \
+
+files_g2cd = \
+ $(PF)/$(libdir)/libg2c.{a,la,so} \
+ $(PF)/$(libdir)/libfrtbegin.a \
+ $(PF)/include/g2c.h
+
+ifeq ($(with_lib32g2c),yes)
+ dirs_g2cd += $(lib32)
+ files_g2cd += $(lib32)/{libg2c.{a,la,so},libfrtbegin.a}
+endif
+ifeq ($(with_lib64g2c),yes)
+ dirs_g2cd += $(PF)/lib64
+ files_g2cd += $(PF)/lib64/{libg2c.{a,la,so},libfrtbegin.a}
+endif
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-libg2c: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_g2c)
+ dh_installdirs -p$(p_g2c) $(dirs_g2c)
+ DH_COMPAT=2 dh_movefiles -p$(p_g2c) $(files_g2c)
+ debian/dh_doclink -p$(p_g2c) $(p_base)
+ cp -p debian/README.libf2c \
+ $(d_g2c)/$(docdir)/$(p_base)/fortran/README.Debian
+
+ dh_strip -p$(p_g2c)
+ dh_compress -p$(p_g2c)
+ dh_fixperms -p$(p_g2c)
+ dh_makeshlibs -p$(p_g2c) -V '$(p_g2c) (>= $(DEB_F2C_SOVERSION))'
+ dh_shlibdeps -p$(p_g2c)
+ dh_gencontrol -p$(p_g2c) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_g2c)
+ dh_md5sums -p$(p_g2c)
+ dh_builddeb -p$(p_g2c)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-lib64g2c: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_g2c64)
+ dh_installdirs -p$(p_g2c64) \
+ $(PF)/lib64
+ DH_COMPAT=2 dh_movefiles -p$(p_g2c64) \
+ $(PF)/lib64/libg2c.so.*
+
+ debian/dh_doclink -p$(p_g2c64) $(p_base)
+
+ dh_strip -p$(p_g2c64)
+ dh_compress -p$(p_g2c64)
+ dh_fixperms -p$(p_g2c64)
+ dh_makeshlibs -p$(p_g2c64) -V '$(p_g2c64) (>= $(DEB_F2C_SOVERSION))'
+# dh_shlibdeps -p$(p_g2c64)
+ dh_gencontrol -p$(p_g2c64) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_g2c64)
+ dh_md5sums -p$(p_g2c64)
+ dh_builddeb -p$(p_g2c64)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-lib32g2c: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_g2c32)
+ dh_installdirs -p$(p_g2c32) \
+ $(lib32)
+ DH_COMPAT=2 dh_movefiles -p$(p_g2c32) \
+ $(lib32)/libg2c.so.*
+
+ debian/dh_doclink -p$(p_g2c32) $(p_base)
+
+ dh_strip -p$(p_g2c32)
+ dh_compress -p$(p_g2c32)
+ dh_fixperms -p$(p_g2c32)
+ dh_makeshlibs -p$(p_g2c32) -V '$(p_g2c32) (>= $(DEB_F2C_SOVERSION))'
+# dh_shlibdeps -p$(p_g2c32)
+ dh_gencontrol -p$(p_g2c32) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_g2c32)
+ dh_md5sums -p$(p_g2c32)
+ dh_builddeb -p$(p_g2c32)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-libg2c-dev: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_g2cd)
+ dh_installdirs -p$(p_g2cd) $(dirs_g2cd)
+ mv $(d)/$(gcc_lib_dir)/include/g2c.h $(d)/$(PF)/include/
+ dh_movefiles -p$(p_g2cd) $(files_g2cd)
+ debian/dh_doclink -p$(p_g2cd) $(p_base)
+
+ dh_strip -p$(p_g2cd)
+ dh_compress -p$(p_g2cd)
+ dh_fixperms -p$(p_g2cd)
+ dh_shlibdeps -p$(p_g2cd)
+ dh_gencontrol -p$(p_g2cd) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_g2cd)
+ dh_md5sums -p$(p_g2cd)
+ dh_builddeb -p$(p_g2cd)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-fdev: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+# sed "s,^libdir=.*,libdir='/$(gcc_lib_dir)'," \
+# $(d)/$(PF)/$(libdir)/libg2c.la > $(d)/$(gcc_lib_dir)/libg2c.la
+# rm -f $(d)/$(PF)/$(libdir)/libg2c.la
+# mv $(d)/$(PF)/$(libdir)/libg2c.{a,so} $(d)/$(gcc_lib_dir)/
+# ln -sf ../../../libg2c.so.$(F77_SONAME) \
+# $(d)/$(gcc_lib_dir)/libg2c.so
+# mv $(d)/$(PF)/$(libdir)/libfrtbegin.a $(d)/$(gcc_lib_dir)/
+
+#ifeq ($(biarch),yes)
+# ifeq ($(DEB_TARGET_GNU_CPU),i386)
+# mv $(d)/$(PF)/$(lib64)/libg2c.{a,la,so} $(d)/$(gcc_lib_dir)/64
+# ln -sf ../../../../lib64/libg2c.so.$(F77_SONAME) \
+# $(d)/$(gcc_lib_dir)/64/libg2c.so
+# mv $(d)/$(PF)/$(lib64)/libfrtbegin.a $(d)/$(gcc_lib_dir)/64
+# endif
+#endif
+ rm -rf $(d_g77)
+ dh_installdirs -p$(p_g77) $(dirs_g77)
+ DH_COMPAT=2 dh_movefiles -p$(p_g77) $(files_g77)
+
+# dh_installdirs -p$(p_g2cd) $(dirs_g2cd)
+# DH_COMPAT=2 dh_movefiles -p$(p_g2cd) $(files_g2cd)
+
+ ln -sf g77$(pkg_ver) \
+ $(d_g77)/$(PF)/bin/$(DEB_TARGET_GNU_TYPE)-g77$(pkg_ver)
+ ln -sf g77$(pkg_ver).1 \
+ $(d_g77)/$(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-g77$(pkg_ver).1
+ ln -sf g77$(pkg_ver) \
+ $(d_g77)/$(PF)/bin/$(TARGET_ALIAS)-g77$(pkg_ver)
+ ln -sf g77$(pkg_ver).1 \
+ $(d_g77)/$(PF)/share/man/man1/$(TARGET_ALIAS)-g77$(pkg_ver).1
+
+ debian/dh_doclink -p$(p_g77) $(p_base)
+# debian/dh_doclink -p$(p_g2cd) $(p_base)
+
+# #cp -p $(srcdir)/gcc/f/{NEWS,BUGS} \
+# # $(d_g77)/$(docdir)/$(p_base)/fortran/.
+ cp -p $(srcdir)/libf2c/README \
+ $(d_g77)/$(docdir)/$(p_base)/fortran/README.libf2c
+ cp -p $(srcdir)/gcc/f/ChangeLog \
+ $(d_g77)/$(docdir)/$(p_base)/fortran/changelog
+ debian/dh_rmemptydirs -p$(p_g77)
+# debian/dh_rmemptydirs -p$(p_g2cd)
+
+ dh_strip -p$(p_g77)
+ dh_compress -p$(p_g77)
+ dh_fixperms -p$(p_g77)
+ dh_shlibdeps -p$(p_g77)
+ dh_gencontrol -p$(p_g77) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_g77)
+ dh_md5sums -p$(p_g77)
+ dh_builddeb -p$(p_g77)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-fortran-doc: $(build_html_stamp) $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_g77d)
+ dh_installdirs -p$(p_g77d) \
+ $(docdir)/$(p_base)/fortran \
+ $(PF)/share/info
+ DH_COMPAT=2 dh_movefiles -p$(p_g77d) \
+ $(PF)/share/info/g77*
+
+ debian/dh_doclink -p$(p_g77d) $(p_base)
+ifneq ($(GFDL_INVARIANT_FREE),yes)
+ dh_installdocs -p$(p_g77d)
+ rm -f $(d_g77d)/$(docdir)/$(p_base)/copyright
+ cp -p html/g77.html $(d_g77d)/$(docdir)/$(p_base)/fortran/
+endif
+
+ dh_compress -p$(p_g77d)
+ dh_fixperms -p$(p_g77d)
+ dh_installdeb -p$(p_g77d)
+ dh_gencontrol -p$(p_g77d) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_md5sums -p$(p_g77d)
+ dh_builddeb -p$(p_g77d)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-objc.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-objc.mk.svn-base
@@ -0,0 +1,51 @@
+arch_binaries := $(arch_binaries) objc
+
+p_objc = gobjc$(pkg_ver)
+d_objc = debian/$(p_objc)
+
+dirs_objc = \
+ $(docdir)/$(p_base)/ObjC \
+ $(gcc_lexec_dir) \
+ $(gcc_lib_dir)/include
+
+files_objc = \
+ $(gcc_lexec_dir)/cc1obj \
+ $(gcc_lib_dir)/include/objc \
+ $(gcc_lib_dir)/{libobjc*.a,libobjc*.la}
+
+$(binary_stamp)-objc: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ mv $(d)/$(PF)/$(libdir)/libobjc*.{a,la} $(d)/$(gcc_lib_dir)/
+
+ rm -rf $(d_objc)
+ dh_installdirs -p$(p_objc) $(dirs_objc)
+ DH_COMPAT=2 dh_movefiles -p$(p_objc) $(files_objc)
+
+ dh_link -p$(p_objc) \
+ /$(PF)/$(libdir)/libobjc.so.$(OBJC_SONAME) /$(gcc_lib_dir)/libobjc.so
+ifeq ($(with_objc_gc),yes)
+ dh_link -p$(p_objc) \
+ /$(PF)/$(libdir)/libobjc_gc.so.$(OBJC_SONAME) \
+ /$(gcc_lib_dir)/libobjc_gc.so
+endif
+
+ debian/dh_doclink -p$(p_objc) $(p_base)
+ cp -p $(srcdir)/libobjc/{README*,THREADS*} \
+ $(d_objc)/$(docdir)/$(p_base)/ObjC/.
+
+ debian/dh_rmemptydirs -p$(p_objc)
+
+ dh_strip -p$(p_objc)
+ dh_compress -p$(p_objc)
+
+ dh_fixperms -p$(p_objc)
+ dh_shlibdeps -p$(p_objc)
+ dh_gencontrol -p$(p_objc) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_objc)
+ dh_md5sums -p$(p_objc)
+ dh_builddeb -p$(p_objc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-java.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-java.mk.svn-base
@@ -0,0 +1,304 @@
+ifeq ($(with_java),yes)
+ arch_binaries := $(arch_binaries) java
+ indep_binaries := $(indep_binaries) gcjjar
+endif
+
+ifeq ($(with_common_libs),yes)
+ indep_binaries := $(indep_binaries) libgcj-common
+endif
+
+ifeq ($(with_javadev),yes)
+ arch_binaries := $(arch_binaries) javadev
+endif
+
+p_gcj = gcj$(pkg_ver)
+p_gij = gij$(pkg_ver)
+p_jcom = libgcj-common
+p_jlib = libgcj$(GCJ_SONAME)
+p_jlibc = libgcj$(GCJ_SONAME)-common
+p_jlibx = libgcj$(GCJ_SONAME)-awt
+p_jdev = libgcj$(GCJ_SONAME)-dev
+
+d_gcj = debian/$(p_gcj)
+d_gij = debian/$(p_gij)
+d_jcom = debian/$(p_jcom)
+d_jlib = debian/$(p_jlib)
+d_jlibc = debian/$(p_jlibc)
+d_jlibx = debian/$(p_jlibx)
+d_jdev = debian/$(p_jdev)
+
+dirs_gcj = \
+ $(docdir)/$(p_base)/java \
+ $(PF)/bin \
+ $(PF)/share/man/man1 \
+ $(PF)/share/info \
+ $(gcc_lexec_dir)
+files_gcj = \
+ $(PF)/bin/{gcj,gcjh,jv-convert,jv-scan,jcf-dump,rmic}$(pkg_ver) \
+ $(PF)/share/man/man1/{gcj,gcjh,jv-convert,jv-scan,jcf-dump,rmic}$(pkg_ver).1 \
+ $(gcc_lexec_dir)/{jc1,jvgenmain}
+
+ifneq ($(GFDL_INVARIANT_FREE),yes)
+ files_gcj += \
+ $(PF)/share/info/gcj*
+endif
+
+dirs_gij = \
+ $(docdir)/$(p_base)/java \
+ $(PF)/bin \
+ $(PF)/share/man/man1
+
+files_gij = \
+ $(PF)/bin/{gij,rmiregistry}$(pkg_ver) \
+ $(PF)/share/man/man1/{gij,rmiregistry}$(pkg_ver).1
+
+dirs_jcom = \
+ $(PF)/$(libdir)
+
+files_jcom = \
+ $(PF)/$(libdir)/security
+
+dirs_jlib = \
+ $(docdir)/$(p_jlib) \
+ $(PF)/$(libdir)
+
+files_jlib = \
+ $(PF)/$(libdir)/libgcj*.so.* \
+ $(PF)/$(libdir)/lib-org-*.so.*
+
+dirs_jlibc = \
+ $(docdir)/$(p_jlib) \
+ $(PF)/share/java
+
+files_jlibc = \
+ $(PF)/share/java/libgcj-$(VER).jar
+
+dirs_jlibx = \
+ $(docdir)/$(p_jlib) \
+ $(PF)/$(libdir) \
+ $(PF)/share/java
+
+files_jlibx = \
+ $(PF)/lib/lib-gnu-java-awt*.so.*
+
+dirs_jdev = \
+ $(docdir)/$(p_jlib)/examples \
+ $(PF)/include \
+ $(PF)/$(libdir) \
+ $(gcc_lib_dir)/include/gcj
+
+files_jdev = \
+ $(PF)/include/{gcj,java,javax,jni.h,jvmpi.h} \
+ $(PF)/include/gnu/{awt,classpath,gcj,java,javax} \
+ $(PF)/$(libdir)/libgcj*.{a,la} \
+ $(PF)/$(libdir)/{libgcj*.so,libgcj.spec} \
+ $(gcc_lib_dir)/include/gcj/libgcj-config.h \
+ $(PF)/$(libdir)/pkgconfig/libgcj.pc \
+ $(PF)/$(libdir)/lib-gnu-*.{a,la} \
+ $(PF)/$(libdir)/lib-gnu-*.so \
+ $(PF)/$(libdir)/lib-org-*.{a,la} \
+ $(PF)/$(libdir)/lib-org-*.so
+
+ifeq ($(with_lib64gcj),yes)
+ dirs_jlib += $(PF)/$(lib64)
+ files_jlib += $(PF)/$(lib64)/libgcj*.so.* \
+ $(PF)/$(lib64)/lib-org-*.so.*
+
+ dirs_jlibx += $(PF)/$(lib64)
+ files_jlibx += $(PF)/$(lib64)/lib-gnu-java-awt-*.so.*
+
+ dirs_jdev += $(PF)/$(lib64)
+ files_jdev += $(PF)/$(lib64)/libgcj*.{a,so,la} \
+ $(PF)/$(lib64)/lib-gnu-*.{a,so,la} \
+ $(PF)/$(lib64)/lib-org-*.{a,so,la}
+endif
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-libgcj-common: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ dh_installdirs -p$(p_jcom) $(dirs_jcom)
+ [ -d $(d)/$(PF)/$(libdir)/security ] \
+ || mkdir -p $(d)/$(PF)/$(libdir)/security
+ [ -f $(d)/$(PF)/$(libdir)/security/classpath.security ] || \
+ cp $(srcdir)/libjava/java/security/*.security \
+ $(d)/$(PF)/$(libdir)/security/.
+ DH_COMPAT=2 dh_movefiles -p$(p_jcom) $(files_jcom)
+ debian/dh_doclink -p$(p_jcom) $(p_base)
+ debian/dh_rmemptydirs -p$(p_jcom)
+ dh_compress -p$(p_jcom)
+ dh_fixperms -p$(p_jcom)
+ dh_gencontrol -p$(p_jcom) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_jcom)
+ dh_md5sums -p$(p_jcom)
+ dh_builddeb -p$(p_jcom)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-gcjjar: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ dh_installdirs -p$(p_jlibc) $(dirs_jlibc)
+ DH_COMPAT=2 dh_movefiles -p$(p_jlibc) $(files_jlibc)
+ debian/dh_doclink -p$(p_jlibc) $(p_base)
+ debian/dh_rmemptydirs -p$(p_jlibc)
+ dh_compress -p$(p_jlibc)
+ dh_fixperms -p$(p_jlibc)
+ dh_gencontrol -p$(p_jlibc) -u-v$(DEB_VERSION)
+ cp -p debian/libgcj5-common.preinst.in debian/libgcj5-common.preinst
+ dh_installdeb -p$(p_jlibc)
+ dh_md5sums -p$(p_jlibc)
+ dh_builddeb -p$(p_jlibc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-java: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ dh_installdirs -p$(p_gij) $(dirs_gij)
+ dh_installdirs -p$(p_jlib) $(dirs_jlib)
+ dh_installdirs -p$(p_jlibx) $(dirs_jlibx)
+
+ DH_COMPAT=2 dh_movefiles -p$(p_gij) $(files_gij)
+ DH_COMPAT=2 dh_movefiles -p$(p_jlib) $(files_jlib)
+ DH_COMPAT=2 dh_movefiles -p$(p_jlibx) $(files_jlibx)
+
+ debian/dh_doclink -p$(p_gij) $(p_base)
+ dh_installdocs -p$(p_jlib) $(srcdir)/libjava/{NEWS,README,THANKS}
+ dh_installchangelogs -p$(p_jlib)
+ debian/dh_doclink -p$(p_jlibx) $(p_jlib)
+
+ cp -p debian/gij-wrapper $(d_gij)/$(PF)/bin/gij-wrapper$(pkg_ver)
+ chmod 755 $(d_gij)/$(PF)/bin/gij-wrapper$(pkg_ver)
+ cp -p debian/gij-wrapper.1 \
+ $(d_gij)/$(PF)/share/man/man1/gij-wrapper$(pkg_ver).1
+
+ debian/dh_rmemptydirs -p$(p_gij)
+ debian/dh_rmemptydirs -p$(p_jlib)
+ debian/dh_rmemptydirs -p$(p_jlibx)
+
+ dh_makeshlibs -p$(p_jlib) -V '$(p_jlib) (>= $(DEB_SOVERSION))'
+ cat debian/$(p_jlib)/DEBIAN/shlibs >> debian/shlibs.local
+
+ dh_makeshlibs -p$(p_jlibx) -V '$(p_jlibx) (>= $(DEB_SOVERSION))'
+
+ dh_strip -p$(p_gij) -p$(p_jlib) -p$(p_jlibx)
+ dh_compress -p$(p_gij) -p$(p_jlib) -p$(p_jlibx)
+ dh_fixperms -p$(p_gij) -p$(p_jlib) -p$(p_jlibx)
+# the libstdc++ binary packages aren't built yet ...
+ echo 'libstdc++ $(CXX_SONAME) $(p_lib) (>= $(DEB_STDCXX_SOVERSION))' \
+ >> debian/shlibs.local
+# dh_shlibdeps finds libgcc in lib64gcc1 ... move it away for a moment ...
+ -[ -d $(d_l64gcc) ] && mv $(d_l64gcc) $(d_l64gcc).away
+ dh_shlibdeps \
+ -L$(p_lgcc) \
+ -L$(p_jlib) \
+ -l:$(d)/$(PF)/$(libdir):$(d_lib)/$(PF)/$(libdir):$(d_jlib)/$(PF)/$(libdir):$(d_lgcc)/lib \
+ -p$(p_gij) -p$(p_jlib) -p$(p_jlibx)
+ -[ -d $(d_l64gcc).away ] && mv $(d_l64gcc).away $(d_l64gcc)
+ sed -e 's/$(p_jlib)[^,]*//' -e 's/, *,/,/' debian/$(p_jlib).substvars \
+ >> debian/$(p_jlib).substvars.tmp \
+ && mv -f debian/$(p_jlib).substvars.tmp debian/$(p_jlib).substvars
+ dh_gencontrol \
+ -p$(p_gij) -p$(p_jlib) -p$(p_jlibx) \
+ -- -v$(DEB_VERSION) $(common_substvars)
+ b=libgcj; \
+ for ext in preinst postinst prerm postrm; do \
+ for t in '' -awt -dev; do \
+ v=$(GCJ_SONAME); \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done; \
+ done
+ dh_installdeb -p$(p_gij) -p$(p_jlib) -p$(p_jlibx)
+ dh_md5sums -p$(p_gij) -p$(p_jlib) -p$(p_jlibx)
+ dh_builddeb -p$(p_gij) -p$(p_jlib) -p$(p_jlibx)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-javadev: $(build_html_stamp) $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_gcj)
+ dh_installdirs -p$(p_gcj) $(dirs_gcj)
+ dh_installdirs -p$(p_jdev) $(dirs_jdev)
+
+ DH_COMPAT=2 dh_movefiles -p$(p_gcj) $(files_gcj)
+ DH_COMPAT=2 dh_movefiles -p$(p_jdev) $(files_jdev)
+
+ ln -sf gcj$(pkg_ver) \
+ $(d_gcj)/$(PF)/bin/$(DEB_TARGET_GNU_TYPE)-gcj$(pkg_ver)
+ ln -sf gcj$(pkg_ver).1 \
+ $(d_gcj)/$(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-gcj$(pkg_ver).1
+ ln -sf gcj$(pkg_ver) \
+ $(d_gcj)/$(PF)/bin/$(TARGET_ALIAS)-gcj$(pkg_ver)
+ ln -sf gcj$(pkg_ver).1 \
+ $(d_gcj)/$(PF)/share/man/man1/$(TARGET_ALIAS)-gcj$(pkg_ver).1
+
+ debian/dh_doclink -p$(p_gcj) $(p_base)
+ifneq ($(GFDL_INVARIANT_FREE),yes)
+ dh_installdocs -p$(p_gcj)
+ rm -f $(d_gcj)/$(docdir)/$(p_base)/copyright
+ cp -p html/gcj.html $(d_gcj)/$(docdir)/$(p_base)/java/
+endif
+ cp -p $(srcdir)/libjava/doc/cni.sgml $(d_jdev)/$(docdir)/$(p_jlib)/.
+ debian/dh_doclink -p$(p_jdev) $(p_jlib)
+ cp -p debian/FAQ.gcj $(d_gcj)/$(docdir)/$(p_base)/java/.
+ cp -p $(srcdir)/gcc/java/ChangeLog \
+ $(d_gcj)/$(docdir)/$(p_base)/java/changelog
+ cp -p $(srcdir)/libjava/ChangeLog \
+ $(d_jdev)/$(docdir)/$(p_jlib)/changelog
+
+ cp -p $(srcdir)/libjava/gnu/java/awt/peer/gtk/Test* \
+ debian/testswing.java \
+ $(d_jdev)/$(docdir)/$(p_jlib)/examples
+
+ cp -p debian/gcj-wrapper $(d_gcj)/$(PF)/bin/gcj-wrapper$(pkg_ver)
+ chmod 755 $(d_gcj)/$(PF)/bin/gcj-wrapper$(pkg_ver)
+ cp -p debian/gcj-wrapper.1 \
+ $(d_gcj)/$(PF)/share/man/man1/gcj-wrapper$(pkg_ver).1
+
+ cp -p debian/gcjh-wrapper $(d_gcj)/$(PF)/bin/gcjh-wrapper$(pkg_ver)
+ chmod 755 $(d_gcj)/$(PF)/bin/gcjh-wrapper$(pkg_ver)
+ cp -p debian/gcjh-wrapper.1 \
+ $(d_gcj)/$(PF)/share/man/man1/gcjh-wrapper$(pkg_ver).1
+
+ debian/dh_rmemptydirs -p$(p_gcj)
+ debian/dh_rmemptydirs -p$(p_jdev)
+
+ dh_strip -p$(p_gcj) -p$(p_jdev)
+ dh_compress -p$(p_gcj) -p$(p_jdev) -X.java
+ dh_fixperms -p$(p_gcj) -p$(p_jdev)
+ dh_shlibdeps \
+ -L$(p_lgcc) \
+ -l:$(d)/$(PF)/$(libdir):$(d_lib)/$(PF)/$(libdir):$(d_jlib)/$(PF)/$(libdir):$(d_lgcc)/lib \
+ -p$(p_gcj) -p$(p_jdev)
+ dh_gencontrol \
+ -p$(p_gcj) -p$(p_jdev) \
+ -- -v$(DEB_VERSION) $(common_substvars)
+ b=libgcj; \
+ for ext in preinst postinst prerm postrm; do \
+ for t in '' -dev; do \
+ v=$(GCJ_SONAME); \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done; \
+ done
+ dh_installdeb -p$(p_gcj) -p$(p_jdev)
+ dh_md5sums -p$(p_gcj) -p$(p_jdev)
+ dh_builddeb -p$(p_gcj) -p$(p_jdev)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-nof.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-nof.mk.svn-base
@@ -0,0 +1,56 @@
+arch_binaries := $(arch_binaries) nof
+
+p_nof = gcc$(pkg_ver)-nof
+d_nof = debian/$(p_nof)
+
+dirs_nof = \
+ $(docdir) \
+ $(PF)/$(libdir)/nof
+ifeq ($(with_cdev),yes)
+ dirs_nof += \
+ $(gcc_lib_dir)/nof
+endif
+
+ifeq ($(with_cdev),yes)
+ files_nof = \
+ $(libdir)/libgcc_s_nof.so.$(GCC_SONAME) \
+ $(gcc_lib_dir)/libgcc_s_nof.so \
+ $(PF)/$(libdir)/nof \
+ $(gcc_lib_dir)/nof
+else
+ files_nof = \
+ $(libdir)/libgcc_s_nof.so.$(GCC_SONAME)
+endif
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-nof: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ mv $(d)/$(PF)/$(libdir)/libgcc_s_nof.so.$(GCC_SONAME) $(d)/$(libdir)/.
+ rm -f $(d)/$(PF)/$(libdir)/libgcc_s_nof.so
+ ln -sf /$(libdir)/libgcc_s_nof.so.$(GCC_SONAME) \
+ $(d)/$(gcc_lib_dir)/libgcc_s_nof.so
+
+ rm -rf $(d_nof)
+ dh_installdirs -p$(p_nof) $(dirs_nof)
+ DH_COMPAT=2 dh_movefiles -p$(p_nof) $(files_nof)
+ debian/dh_doclink -p$(p_nof) $(p_base)
+ dh_strip -p$(p_nof)
+ dh_compress -p$(p_nof)
+ dh_fixperms -p$(p_nof)
+ dh_shlibdeps -p$(p_nof)
+
+ dh_makeshlibs -p$(p_nof)
+ : # Only keep the shlibs file for the libgcc_s_nof library
+ fgrep libgcc_s_nof debian/$(p_nof)/DEBIAN/shlibs \
+ > debian/$(p_nof)/DEBIAN/shlibs.tmp
+ mv -f debian/$(p_nof)/DEBIAN/shlibs.tmp debian/$(p_nof)/DEBIAN/shlibs
+
+ dh_gencontrol -p$(p_nof) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_nof)
+ dh_md5sums -p$(p_nof)
+ dh_builddeb -p$(p_nof)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-cpp.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-cpp.mk.svn-base
@@ -0,0 +1,73 @@
+arch_binaries := $(arch_binaries) cpp
+indep_binaries := $(indep_binaries) cpp-doc
+
+dirs_cpp = \
+ $(docdir) \
+ $(PF)/share/man/man1 \
+ $(PF)/bin \
+ $(gcc_lexec_dir)
+
+files_cpp = \
+ $(PF)/bin/cpp$(pkg_ver) \
+ $(PF)/share/man/man1/cpp$(pkg_ver).1 \
+ $(gcc_lexec_dir)/cc1
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-cpp: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_cpp)
+ dh_installdirs -p$(p_cpp) $(dirs_cpp)
+ DH_COMPAT=2 dh_movefiles -p$(p_cpp) $(files_cpp)
+
+ ln -sf cpp$(pkg_ver) \
+ $(d_cpp)/$(PF)/bin/$(DEB_TARGET_GNU_TYPE)-cpp$(pkg_ver)
+ ln -sf cpp$(pkg_ver).1 \
+ $(d_cpp)/$(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-cpp$(pkg_ver).1
+ ln -sf cpp$(pkg_ver) \
+ $(d_cpp)/$(PF)/bin/$(TARGET_ALIAS)-cpp$(pkg_ver)
+ ln -sf cpp$(pkg_ver).1 \
+ $(d_cpp)/$(PF)/share/man/man1/$(TARGET_ALIAS)-cpp$(pkg_ver).1
+
+ debian/dh_doclink -p$(p_cpp) $(p_base)
+ debian/dh_rmemptydirs -p$(p_cpp)
+
+ dh_strip -p$(p_cpp)
+ dh_compress -p$(p_cpp)
+ dh_fixperms -p$(p_cpp)
+ dh_shlibdeps -p$(p_cpp)
+ dh_gencontrol -p$(p_cpp) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_cpp)
+ dh_md5sums -p$(p_cpp)
+ dh_builddeb -p$(p_cpp)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-cpp-doc: $(build_html_stamp) $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_cppd)
+ dh_installdirs -p$(p_cppd) \
+ $(docdir)/$(p_base) \
+ $(PF)/share/info
+ DH_COMPAT=2 dh_movefiles -p$(p_cppd) \
+ $(PF)/share/info/cpp*
+
+ debian/dh_doclink -p$(p_cppd) $(p_base)
+ dh_installdocs -p$(p_cppd) html/cpp.html html/cppinternals.html
+ rm -f $(d_cppd)/$(docdir)/$(p_base)/copyright
+ debian/dh_rmemptydirs -p$(p_cppd)
+
+ dh_compress -p$(p_cppd)
+ dh_fixperms -p$(p_cppd)
+ dh_installdeb -p$(p_cppd)
+ dh_gencontrol -p$(p_cppd) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_md5sums -p$(p_cppd)
+ dh_builddeb -p$(p_cppd)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-libgcc.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-libgcc.mk.svn-base
@@ -0,0 +1,165 @@
+ifeq ($(with_libgcc),yes)
+ arch_binaries := $(arch_binaries) libgcc
+endif
+ifeq ($(with_lib32gcc),yes)
+ arch_binaries := $(arch_binaries) lib32gcc
+endif
+ifeq ($(with_lib64gcc),yes)
+ arch_binaries := $(arch_binaries) lib64gcc
+endif
+
+p_lgcc = libgcc$(GCC_SONAME)
+d_lgcc = debian/$(p_lgcc)
+
+p_l32gcc = lib32gcc$(GCC_SONAME)
+d_l32gcc = debian/$(p_l32gcc)
+
+p_l64gcc = lib64gcc$(GCC_SONAME)
+d_l64gcc = debian/$(p_l64gcc)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-libgcc: $(install_dependencies)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lgcc)
+ dh_installdirs -p$(p_lgcc) \
+ $(docdir)/$(p_lgcc) \
+ $(libdir)
+
+ifeq ($(with_shared_libgcc),yes)
+ mv $(d)/$(PF)/lib/libgcc_s.so.$(GCC_SONAME) $(d_lgcc)/$(libdir)/.
+endif
+
+ dh_installdocs -p$(p_lgcc)
+ dh_installchangelogs -p$(p_lgcc)
+
+ debian/dh_rmemptydirs -p$(p_lgcc)
+ifeq ($(with_shared_libgcc),yes)
+ dh_makeshlibs -p$(p_lgcc) -V '$(p_lgcc) (>= $(DEB_LIBGCC_SOVERSION))'
+ dh_shlibdeps -p$(p_lgcc)
+ cat debian/$(p_lgcc)/DEBIAN/shlibs >> debian/shlibs.local
+endif
+ dh_strip -p$(p_lgcc)
+ dh_compress -p$(p_lgcc)
+ dh_fixperms -p$(p_lgcc)
+ dh_gencontrol -p$(p_lgcc) \
+ -- -v$(DEB_LIBGCC_VERSION) $(common_substvars)
+ b=libgcc; v=$(GCC_SONAME); \
+ for ext in preinst postinst prerm postrm; do \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done
+ dh_installdeb -p$(p_lgcc)
+ dh_md5sums -p$(p_lgcc)
+ dh_builddeb -p$(p_lgcc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-lib64gcc: $(install_dependencies)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_l64gcc)
+ dh_installdirs -p$(p_l64gcc) \
+ $(docdir)/$(p_l64gcc) \
+ lib64
+
+ifeq ($(with_shared_libgcc),yes)
+ mv $(d)/$(PF)/lib64/libgcc_s.so.$(GCC_SONAME) $(d_l64gcc)/lib64/.
+endif
+
+ dh_installdocs -p$(p_l64gcc)
+ dh_installchangelogs -p$(p_l64gcc)
+
+ debian/dh_rmemptydirs -p$(p_l64gcc)
+ dh_strip -p$(p_l64gcc)
+ dh_compress -p$(p_l64gcc)
+ dh_fixperms -p$(p_l64gcc)
+ifeq ($(with_shared_libgcc),yes)
+ dh_makeshlibs -p$(p_l64gcc) \
+ -V '$(p_l64gcc) (>= $(DEB_LIBGCC_SOVERSION))'
+# this does not work ... shlibs.local doesn't distinguish 32/64 bit libs
+# cat debian/$(p_l64gcc)/DEBIAN/shlibs >> debian/shlibs.local
+endif
+ifeq ($(DEB_TARGET_ARCH),s390)
+# dh_shlibdeps -p$(p_l64gcc)
+#/usr/bin/ldd: line 1: /lib/ld64.so.1: cannot execute binary file
+#dpkg-shlibdeps: failure: ldd on `debian/lib64gcc1/lib64/libgcc_s.so.1' gave error exit status 1
+ echo 'shlibs:Depends=libc6-s390x (>= 2.3.1-1)' \
+ > debian/$(p_l64gcc).substvars
+else
+ ifeq ($(DEB_TARGET_ARCH),i386)
+ ifeq ($(distribution),Ubuntu)
+ echo 'shlibs:Depends=libc6-amd64' \
+ > debian/$(p_l64gcc).substvars
+ else
+ echo 'shlibs:Depends=libc6-amd64 | amd64-libs (>= 0.1)' \
+ > debian/$(p_l64gcc).substvars
+ endif
+ else
+ ifeq ($(DEB_TARGET_ARCH),powerpc)
+ echo 'shlibs:Depends=libc6-ppc64' \
+ > debian/$(p_l64gcc).substvars
+ else
+ ifeq ($(DEB_TARGET_ARCH),sparc)
+ echo 'shlibs:Depends=libc6-sparc64' \
+ > debian/$(p_l64gcc).substvars
+ else
+ dh_shlibdeps -p$(p_l64gcc)
+ endif
+ endif
+ endif
+endif
+ dh_gencontrol -p$(p_l64gcc) \
+ -- -v$(DEB_LIBGCC_VERSION) $(common_substvars)
+ b=lib64gcc; v=$(GCC_SONAME); \
+ for ext in preinst postinst prerm postrm; do \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done
+ dh_installdeb -p$(p_l64gcc)
+ dh_md5sums -p$(p_l64gcc)
+ dh_builddeb -p$(p_l64gcc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+
+$(binary_stamp)-lib32gcc: $(install_dependencies)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_l32gcc)
+ dh_installdirs -p$(p_l32gcc) \
+ $(docdir)/$(p_l32gcc) \
+ $(lib32)
+ mv $(d)/$(PF)/lib32/libgcc_s.so.$(GCC_SONAME) \
+ $(d_l32gcc)/$(lib32)/.
+
+ dh_installdocs -p$(p_l32gcc)
+ dh_installchangelogs -p$(p_l32gcc)
+
+ debian/dh_rmemptydirs -p$(p_l32gcc)
+ dh_strip -p$(p_l32gcc)
+ dh_compress -p$(p_l32gcc)
+ dh_fixperms -p$(p_l32gcc)
+ dh_gencontrol -p$(p_l32gcc) \
+ -- -v$(DEB_VERSION) $(common_substvars)
+ b=lib32gcc; v=$(GCC_SONAME); \
+ for ext in preinst postinst prerm postrm; do \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done
+ dh_installdeb -p$(p_l32gcc)
+ dh_md5sums -p$(p_l32gcc)
+ dh_builddeb -p$(p_l32gcc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-gcc-cross.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-gcc-cross.mk.svn-base
@@ -0,0 +1,106 @@
+arch_binaries := $(arch_binaries) gcc
+
+# gcc must be moved after g77 and g++
+# not all files $(PF)/include/*.h are part of gcc,
+# but it becomes difficult to name all these files ...
+
+dirs_gcc = \
+ $(PF)/bin \
+ $(gcc_lexec_dir) \
+ $(gcc_lib_dir)/include \
+ $(PF)/share/man/man1 $(libdir)
+
+files_gcc = \
+ $(PF)/bin/$(DEB_TARGET_GNU_TYPE)-gcc$(pkg_ver) \
+ $(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-gcc$(pkg_ver).1 \
+ $(gcc_lexec_dir)/collect2 \
+ $(gcc_lib_dir)/{specs,libgcc*,*.o} \
+ $(gcc_lib_dir)/include/README \
+ $(gcc_lib_dir)/include/{float,iso646,limits,std*,syslimits,unwind,varargs}.h \
+ $(shell for d in asm bits gnu linux; do \
+ test -e $(d)/$(gcc_lib_dir)/include/$$d \
+ && echo $(gcc_lib_dir)/include/$$d; \
+ done)
+
+ifeq ($(biarch),yes)
+ files_gcc += $(gcc_lib_dir)/64/{libgcc*,*.o}
+endif
+
+files_gcc += \
+ $(shell test -e $(d)/$(gcc_lib_dir)/SYSCALLS.c.X \
+ && echo $(gcc_lib_dir)/SYSCALLS.c.X)
+
+ifeq ($(DEB_TARGET_ARCH),ia64)
+ files_gcc += $(gcc_lib_dir)/include/ia64intrin.h
+endif
+
+ifeq ($(DEB_TARGET_ARCH),i386)
+ files_gcc += $(gcc_lib_dir)/include/{,e,p,x}mmintrin.h
+endif
+
+ifeq ($(DEB_TARGET_ARCH),hurd-i386)
+ files_gcc += $(gcc_lib_dir)/include/{,e,p,x}mmintrin.h
+endif
+
+ifeq ($(DEB_TARGET_ARCH),kfreebsd-i386)
+ files_gcc += $(gcc_lib_dir)/include/{,e,p,x}mmintrin.h
+endif
+
+ifeq ($(DEB_TARGET_ARCH),m68k)
+ files_gcc += $(gcc_lib_dir)/include/math-68881.h
+endif
+
+ifeq ($(DEB_TARGET_ARCH),powerpc)
+ files_gcc += $(gcc_lib_dir)/include/{altivec.h,ppc-asm.h}
+endif
+
+usr_doc_files = debian/README.Bugs \
+ $(shell test -f $(srcdir)/FAQ && echo $(srcdir)/FAQ)
+ifeq ($(with_check),yes)
+ usr_doc_files += test-summary
+endif
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-gcc: $(install_dependencies)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_gcc)
+ dh_installdirs -p$(p_gcc) $(dirs_gcc)
+
+ rm -f $(d)/$(PF)/$(libdir)/libgcc_s.so
+ ln -sf /$(PF)/$(DEB_TARGET_GNU_TYPE)/$(libdir)/libgcc_s.so.$(GCC_SONAME) $(d)/$(gcc_lib_dir)/libgcc_s.so
+ifeq ($(biarch),yes)
+ rm -f $(d)/$(PF)/$(lib64)/libgcc_s.so
+ ln -sf /$(PF)/$(DEB_TARGET_GNU_TYPE)/$(lib64)/libgcc_s.so.$(GCC_SONAME) $(d)/$(gcc_lib_dir)/libgcc_s_64.so
+ ln -sf /$(PF)/$(DEB_TARGET_GNU_TYPE)/$(lib64)/libgcc_s.so.$(GCC_SONAME) $(d)/$(gcc_lib_dir)/64/libgcc_s.so
+endif
+
+ DH_COMPAT=2 dh_movefiles -p$(p_gcc) $(files_gcc)
+
+# dh_installdebconf
+ debian/dh_doclink -p$(p_gcc) $(p_base)
+ debian/dh_rmemptydirs -p$(p_gcc)
+ PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_gcc)
+ dh_compress -p$(p_gcc)
+ dh_fixperms -p$(p_gcc)
+ dh_shlibdeps -p$(p_gcc)
+ dh_gencontrol -p$(p_gcc) -- -v$(DEB_VERSION) $(common_substvars)
+ sed 's/cross-/$(TP)/g;s/-ver/$(pkg_ver)/g' < debian/gcc-cross.postinst > debian/$(p_gcc)/DEBIAN/postinst
+ sed 's/cross-/$(TP)/g;s/-ver/$(pkg_ver)/g' < debian/gcc-cross.prerm > debian/$(p_gcc)/DEBIAN/prerm
+ chmod 755 debian/$(p_gcc)/DEBIAN/{postinst,prerm}
+ dh_installdeb -p$(p_gcc)
+ dh_md5sums -p$(p_gcc)
+ dh_builddeb -p$(p_gcc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+ : # remove empty directories, when all components are in place
+ for d in `find $(d) -depth -type d -empty 2> /dev/null`; do \
+ while rmdir $$d 2> /dev/null; do d=`dirname $$d`; done; \
+ done
+
+ @echo "Listing installed files not included in any package:"
+ -find $(d) ! -type d
+
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-ada.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-ada.mk.svn-base
@@ -0,0 +1,196 @@
+arch_binaries := $(arch_binaries) ada
+ifneq ($(GFDL_INVARIANT_FREE),yes)
+ indep_binaries := $(indep_binaries) ada-doc
+endif
+
+ifeq ($(with_libgnat),yes)
+ arch_binaries := $(arch_binaries) libgnat
+endif
+
+p_gnat = gnat-$(GNAT_VERSION)
+p_lgnat = libgnat-$(GNAT_VERSION)
+p_gnatd = $(p_gnat)-doc
+
+d_gnat = debian/$(p_gnat)
+d_lgnat = debian/$(p_lgnat)
+d_gnatd = debian/$(p_gnatd)
+
+GNAT_TOOLS = gnat gnatbind gnatbl gnatchop gnatclean gnatfind gnatkr gnatlink \
+ gnatls gnatmake gnatname gnatprep gnatxref gpr2make gprcmd
+
+dirs_gnat = \
+ $(docdir)/$(p_base)/Ada \
+ $(PF)/bin \
+ $(PF)/share/man/man1 \
+ $(gcc_lib_dir) \
+ $(gcc_lexec_dir) \
+ $(PF)/$(libdir)/gnat
+
+files_gnat = \
+ $(PF)/share/gnat \
+ $(gcc_lexec_dir)/gnat1 \
+ $(gcc_lib_dir)/{adalib,adainclude} \
+ $(foreach i,$(GNAT_TOOLS),$(PF)/bin/$(i))
+
+# $(foreach i,$(GNAT_TOOLS),$(PF)/bin/$(i)-$(GNAT_VERSION))
+
+dirs_lgnat = \
+ $(docdir) \
+ $(PF)/lib
+files_lgnat = \
+ $(PF)/$(libdir)/lib{gnat,gnarl}-$(GNAT_VERSION).so.1
+
+update-ada-files:
+ cd $(builddir) && tar cfj ada-generated.tar.bz2 \
+ gcc/ada/{sinfo.h,einfo.h,nmake.ads,nmake.adb,treeprs.ads}
+ uuencode $(builddir)/ada-generated.tar.bz2 ada-generated.tar.bz2 \
+ > debian/patches/ada-generated.uue
+
+$(binary_stamp)-libgnat: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lgnat)
+ dh_installdirs -p$(p_lgnat) $(dirs_lgnat)
+
+ for lib in lib{gnat,gnarl}; do \
+ vlib=$$lib-$(GNAT_VERSION); \
+ mv $(d)/$(gcc_lib_dir)/adalib/$$vlib.so.1 $(d)/$(PF)/$(libdir)/. ; \
+ rm -f $(d)/$(gcc_lib_dir)/adalib/$$lib.so.1; \
+ done
+
+ DH_COMPAT=2 dh_movefiles -p$(p_lgnat) $(files_lgnat)
+
+ debian/dh_doclink -p$(p_lgnat) $(p_base)
+
+ debian/dh_rmemptydirs -p$(p_lgnat)
+
+ dh_strip -p$(p_lgnat)
+ dh_compress -p$(p_lgnat)
+ dh_fixperms -p$(p_lgnat)
+ b=libgnat; \
+ for ext in preinst postinst prerm postrm; do \
+ for t in '' -dev -dbg; do \
+ v=$(GNAT_VERSION); \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done; \
+ done
+
+ dh_makeshlibs -p$(p_lgnat) -V '$(p_lgnat) (>= $(DEB_SOVERSION))'
+ cat debian/$(p_lgnat)/DEBIAN/shlibs >> debian/shlibs.local
+
+ mkdir -p debian/$(p_lgnat)/usr/share/lintian/overrides
+ cp -p debian/$(p_lgnat).overrides \
+ debian/$(p_lgnat)/usr/share/lintian/overrides/$(p_lgnat)
+
+ dh_shlibdeps -p$(p_lgnat)
+ dh_gencontrol -p$(p_lgnat) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_lgnat)
+ dh_md5sums -p$(p_lgnat)
+ dh_builddeb -p$(p_lgnat)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+ifeq ($(with_libgnat),yes)
+$(binary_stamp)-ada: $(install_stamp) $(binary_stamp)-libgnat
+else
+$(binary_stamp)-ada: $(install_stamp)
+endif
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_gnat)
+ dh_installdirs -p$(p_gnat) $(dirs_gnat)
+
+ DH_COMPAT=2 dh_movefiles -p$(p_gnat) $(files_gnat)
+
+ifeq ($(with_libgnat),yes)
+ for lib in lib{gnat,gnarl}; do \
+ vlib=$$lib-$(GNAT_VERSION); \
+ dh_link -p$(p_gnat) \
+ /$(PF)/$(libdir)/$$vlib.so.1 /$(gcc_lib_dir)/adalib/$$vlib.so \
+ /$(PF)/$(libdir)/$$vlib.so.1 /$(gcc_lib_dir)/adalib/$$lib.so; \
+ done
+endif
+
+ debian/dh_doclink -p$(p_gnat) $(p_base)
+
+ cp -p $(srcdir)/gcc/ada/ChangeLog \
+ $(d_gnat)/$(docdir)/$(p_base)/Ada/changelog
+
+ for i in $(GNAT_TOOLS); do \
+ case "$$i" in \
+ gnat) cp -p debian/gnat.1 $(d_gnat)/$(PF)/share/man/man1/ ;; \
+ *) ln -sf gnat.1 $(d_gnat)/$(PF)/share/man/man1/$$i.1; \
+ esac; \
+ done
+
+ ln -sf gcc$(pkg_ver) $(d_gnat)/$(PF)/bin/gnatgcc
+ ln -sf gcc$(pkg_ver).1.gz $(d_gnat)/$(PF)/share/man/man1/gnatgcc.1.gz
+
+ mkdir -p $(d_gnat)/usr/share/lintian/overrides
+ cp -p debian/$(p_gnat).overrides \
+ $(d_gnat)/usr/share/lintian/overrides/$(p_gnat)
+
+ debian/dh_rmemptydirs -p$(p_gnat)
+
+ dh_strip -p$(p_gnat)
+ dh_compress -p$(p_gnat)
+ dh_fixperms -p$(p_gnat)
+ifeq ($(with_libgnat),yes)
+ dh_shlibdeps -p$(p_gnat) -L $(p_lgnat) -l $(d_lgnat)/$(PF)/$(libdir)
+else
+ dh_shlibdeps -p$(p_gnat)
+endif
+ perl -pi -e 's/, *libgnat[^,]*//' debian/$(p_gnat).substvars
+ dh_gencontrol -p$(p_gnat) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_gnat)
+ dh_md5sums -p$(p_gnat)
+ dh_builddeb -p$(p_gnat)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+
+ada_info_dir = $(d_gnatd)/$(PF)/share/info
+
+$(binary_stamp)-ada-doc: $(build_html_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_gnatd)
+ dh_installdirs -p$(p_gnatd) \
+ $(docdir)/$(p_base)/Ada \
+ $(PF)/share/info
+
+ cd $(ada_info_dir) && \
+ makeinfo -I $(srcdir)/gcc/doc/include -I $(srcdir)/gcc/ada \
+ -o gnat_ugn_unw-$(GNAT_VERSION).info \
+ $(builddir)/gcc/doc/gnat_ugn_unw.texi
+ cd $(ada_info_dir) && \
+ makeinfo -I $(srcdir)/gcc/doc/include -I $(srcdir)/gcc/ada \
+ -o gnat_rm-$(GNAT_VERSION).info \
+ $(srcdir)/gcc/ada/gnat_rm.texi
+ cd $(ada_info_dir) && \
+ makeinfo -I $(srcdir)/gcc/doc/include -I $(srcdir)/gcc/ada \
+ -o gnat-style-$(GNAT_VERSION).info \
+ $(srcdir)/gcc/ada/gnat-style.texi
+
+ debian/dh_doclink -p$(p_gnatd) $(p_base)
+ dh_installdocs -p$(p_gnatd)
+ rm -f $(d_gnatd)/$(docdir)/$(p_base)/copyright
+ cp -p html/gnat_ugn_unw.html html/gnat_rm.html html/gnat-style.html \
+ $(d_gnatd)/$(docdir)/$(p_base)/Ada/
+
+ dh_compress -p$(p_gnatd)
+ dh_fixperms -p$(p_gnatd)
+ dh_installdeb -p$(p_gnatd)
+ dh_gencontrol -p$(p_gnatd) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_md5sums -p$(p_gnatd)
+ dh_builddeb -p$(p_gnatd)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-cross.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-cross.mk.svn-base
@@ -0,0 +1,57 @@
+arch_binaries := $(arch_binaries) gcc-cross
+
+dirs_gcc = \
+ $(docdir)/$(p_base)/gcc \
+ $(PF)/bin \
+ $(gcc_lib_dir)/include \
+ $(PF)/share/man/man1
+
+files_gcc = \
+ $(PF)/bin/{$(GCC_TARGET)-linux-gcc,$(GCC_TARGET)-linux-cpp}$(pkg_ver) \
+ $(PF)/share/man/man1/{$(GCC_TARGET)-linux-gcc}$(pkg_ver).1 \
+ $(gcc_lib_dir) \
+
+
+files_gcc += \
+ $(shell test -e $(d)/$(gcc_lib_dir)/SYSCALLS.c.X \
+ && echo $(gcc_lib_dir)/SYSCALLS.c.X)
+
+usr_doc_files = debian/README.Bugs \
+ $(shell test -f $(srcdir)/FAQ && echo $(srcdir)/FAQ)
+ifeq ($(with_check),yes)
+ usr_doc_files += test-summary
+endif
+ifeq ($(DEB_HOST_ARCH),sparc)
+ usr_doc_files += debian/README.sparc
+endif
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-gcc-cross: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ rm -rf $(d_gcc)
+ dh_installdirs -p$(p_gcc) $(dirs_gcc)
+ $(IS) debian/c89 $(d)/$(PF)/bin/
+ $(IR) debian/c89.1 $(d)/$(PF)/share/man/man1/
+
+ rm -f $(d)/$(PF)/$(libdir)/libgcc_s.so
+ ln -sf /$(libdir)/libgcc_s.so.$(GCC_SONAME) $(d)/$(gcc_lib_dir)/libgcc_s.so
+
+ DH_COMPAT=2 dh_movefiles -p$(p_gcc) $(files_gcc)
+
+# dh_installdebconf
+ debian/dh_doclink -p$(p_gcc) $(p_base)
+ cp -p $(usr_doc_files) $(d_gcc)/$(docdir)/$(p_base)/.
+ cp -p debian/NEWS.gcc $(d_gcc)/$(docdir)/$(p_base)/NEWS
+ dh_undocumented -p$(p_gcc) gccbug$(pkg_ver).1
+ debian/dh_rmemptydirs -p$(p_gcc)
+ dh_strip -p$(p_gcc)
+ dh_compress -p$(p_gcc)
+ dh_fixperms -p$(p_gcc)
+ dh_shlibdeps -p$(p_gcc)
+ dh_gencontrol -p$(p_gcc) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_gcc)
+ dh_md5sums -p$(p_gcc)
+ dh_builddeb -p$(p_gcc)
+ touch $@
+
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-cxx-cross.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-cxx-cross.mk.svn-base
@@ -0,0 +1,42 @@
+arch_binaries := $(arch_binaries) cxx
+
+dirs_cxx = \
+ $(docdir) \
+ $(PF)/bin \
+ $(gcc_lib_dir) \
+ $(PF)/share/man/man1
+files_cxx = \
+ $(PF)/bin/$(DEB_TARGET_GNU_TYPE)-g++$(pkg_ver) \
+ $(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-g++$(pkg_ver).1 \
+ $(gcc_lib_dir)/cc1plus
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-cxx: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_cxx)
+ dh_installdirs -p$(p_cxx) $(dirs_cxx)
+ DH_COMPAT=2 dh_movefiles -p$(p_cxx) $(files_cxx)
+# g++ man page is a .so link
+ rm -f $(d_cxx)/$(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-g++$(pkg_ver).1
+ ln -sf $(DEB_TARGET_GNU_TYPE)-gcc$(pkg_ver).1.gz \
+ $(d_cxx)/$(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-g++$(pkg_ver).1.gz
+
+ debian/dh_doclink -p$(p_cxx) $(p_base)
+ debian/dh_rmemptydirs -p$(p_cxx)
+
+ dh_strip -p$(p_cxx)
+ dh_compress -p$(p_cxx)
+ dh_fixperms -p$(p_cxx)
+ dh_shlibdeps -p$(p_cxx)
+ dh_gencontrol -p$(p_cxx) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_cxx)
+ sed 's/cross-/$(TP)/g;s/-ver/$(pkg_ver)/g;s/gcc/g++/g' < debian/gcc-cross.postinst > debian/$(p_cxx)/DEBIAN/postinst
+ sed 's/cross-/$(TP)/g;s/-ver/$(pkg_ver)/g;s/gcc/g++/g' < debian/gcc-cross.prerm > debian/$(p_cxx)/DEBIAN/prerm
+ chmod 755 debian/$(p_cxx)/DEBIAN/{postinst,prerm}
+ dh_md5sums -p$(p_cxx)
+ dh_builddeb -p$(p_cxx)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-fastjar.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-fastjar.mk.svn-base
@@ -0,0 +1,54 @@
+arch_binaries := $(arch_binaries) fastjar
+
+p_jar = fastjar
+d_jar = debian/$(p_jar)
+
+dirs_jar = \
+ $(docdir)/$(p_jar) \
+ $(PF)/bin \
+ $(PF)/share/man/man1 \
+ $(PF)/share/info
+
+files_jar = \
+ $(PF)/bin/{fastjar,grepjar} \
+ $(PF)/share/man/man1/{fastjar,grepjar}.1 \
+ $(PF)/share/info/fastjar.info
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-fastjar: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_jar)
+ dh_installdirs -p$(p_jar) $(dirs_jar)
+
+ifeq ($(versioned_packages),yes)
+ : # rename versioned files back to unversioned ones.
+ for i in jar grepjar; do \
+ mv $(d)/$(PF)/bin/$$i$(pkg_ver) $(d)/$(PF)/bin/$$i; \
+ mv $(d)/$(PF)/share/man/man1/$$i$(pkg_ver).1 \
+ $(d)/$(PF)/share/man/man1/$$i.1; \
+ done
+endif
+
+ mv $(d)/$(PF)/bin/jar $(d)/$(PF)/bin/fastjar
+ mv $(d)/$(PF)/share/man/man1/jar.1 $(d)/$(PF)/share/man/man1/fastjar.1
+
+ DH_COMPAT=2 dh_movefiles -p$(p_jar) $(files_jar)
+
+ dh_installdocs -p$(p_jar) $(srcdir)/fastjar/{CHANGES,NEWS,README}
+ dh_installchangelogs -p$(p_jar) $(srcdir)/fastjar/ChangeLog
+
+ debian/dh_rmemptydirs -p$(p_jar)
+
+ dh_strip -p$(p_jar)
+ dh_compress -p$(p_jar)
+ dh_fixperms -p$(p_jar)
+ dh_shlibdeps -p$(p_jar)
+ dh_gencontrol -p$(p_jar) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_jar)
+ dh_md5sums -p$(p_jar)
+ dh_builddeb -p$(p_jar)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-libstdcxx-cross.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-libstdcxx-cross.mk.svn-base
@@ -0,0 +1,243 @@
+ifeq ($(with_libcxx),yes)
+ arch_binaries := $(arch_binaries) libstdcxx
+endif
+ifeq ($(with_lib64cxx),yes)
+ arch_binaries := $(arch_binaries) lib64stdcxx
+endif
+ifeq ($(biarch_ia32),yes)
+ arch_binaries := $(arch_binaries) lib32stdcxx
+endif
+
+ifeq ($(with_cxxdev),yes)
+ arch_binaries := $(arch_binaries) libstdcxx-dev
+endif
+
+p_lib = libstdc++$(CXX_SONAME)$(cross_lib_arch)
+p_dev = $(p_lib:%$(cross_lib_arch)=%-dev$(cross_lib_arch))
+p_pic = $(p_lib:%$(cross_lib_arch)=%-pic$(cross_lib_arch))
+p_dbg = $(p_lib:%$(cross_lib_arch)=%-dbg$(cross_lib_arch))
+p_lib64 = lib64stdc++$(CXX_SONAME)$(cross_lib_arch)
+p_lib32 = lib32stdc++$(CXX_SONAME)$(cross_lib_arch)
+
+d_lib = debian/$(p_lib)
+d_lib64 = debian/$(p_lib64)
+d_lib32 = debian/$(p_lib32)
+d_dev = debian/$(p_dev)
+d_pic = debian/$(p_pic)
+d_dbg = debian/$(p_dbg)
+
+dirs_lib = \
+ $(docdir) \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib
+
+dirs_lib64 = \
+ $(docdir) \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib64
+
+files_lib = \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib/libstdc++.so.*
+
+files_lib64 = \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib64/libstdc++.so.*
+
+dirs_dev = \
+ $(docdir)/$(p_lib) \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib \
+ $(gcc_lib_dir)/include \
+ $(cxx_inc_dir)
+
+files_dev = \
+ $(cxx_inc_dir)/ \
+ $(gcc_lib_dir)/libstdc++.{a,so} \
+ $(gcc_lib_dir)/libsupc++.a
+# Not yet...
+# $(PF)/$(libdir)/lib{supc,stdc}++.la
+
+dirs_dbg = \
+ $(docdir) \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib/debug \
+ $(gcc_lib_dir)
+files_dbg = \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib/debug/libstdc++.*
+
+dirs_pic = \
+ $(docdir) \
+ $(gcc_lib_dir)
+files_pic = \
+ $(gcc_lib_dir)/libstdc++_pic.a
+
+ifeq ($(with_lib64cxx),yes)
+ dirs_dev += $(gcc_lib_dir)/64/
+ files_dev += $(gcc_lib_dir)/64/libstdc++.{a,so} \
+ $(gcc_lib_dir)/64/libsupc++.a
+ dirs_dbg += $(PF)/$(DEB_TARGET_GNU_TYPE)/lib64/debug
+ files_dbg += $(PF)/$(DEB_TARGET_GNU_TYPE)/lib64/debug/libstdc++.*
+ dirs_pic += $(gcc_lib_dir)
+ files_pic += $(gcc_lib_dir)/64/libstdc++_pic.a
+endif
+
+# ----------------------------------------------------------------------
+
+$(binary_stamp)-libstdcxx: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lib)
+ dh_installdirs -p$(p_lib) $(dirs_lib)
+ DH_COMPAT=2 dh_movefiles -p$(p_lib) $(files_lib)
+
+ dh_installdocs -p$(p_lib)
+ echo "See /$(docdir)/$(p_base) for more information" \
+ > $(d_lib)/$(docdir)/$(p_lib)/README.Debian
+
+ dh_installchangelogs -p$(p_lib)
+ debian/dh_rmemptydirs -p$(p_lib)
+
+ PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_lib)
+ dh_compress -p$(p_lib)
+ dh_fixperms -p$(p_lib)
+ dh_makeshlibs -p$(p_lib) -V '$(p_lib) (>= $(DEB_STDCXX_SOVERSION))' -n
+ sed s/$(cross_lib_arch)//g < debian/$(p_lib)/DEBIAN/shlibs > debian/$(p_lib)/DEBIAN/shlibs.fixed
+ mv debian/$(p_lib)/DEBIAN/shlibs.fixed debian/$(p_lib)/DEBIAN/shlibs
+ ARCH=$(DEB_TARGET_ARCH) MAKEFLAGS="CC=something" dh_shlibdeps -p$(p_lib)
+ sed 's/\(lib[^ ]*\) /\1$(cross_lib_arch) /g' < debian/$(p_lib).substvars > debian/$(p_lib).substvars.new
+ mv debian/$(p_lib).substvars.new debian/$(p_lib).substvars
+ dh_gencontrol -p$(p_lib) -- -v$(DEB_VERSION) $(common_substvars)
+
+ dh_installdeb -p$(p_lib)
+ dh_md5sums -p$(p_lib)
+ dh_builddeb -p$(p_lib)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+
+$(binary_stamp)-lib64stdcxx: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lib64)
+ dh_installdirs -p$(p_lib64) $(dirs_lib64)
+ DH_COMPAT=2 dh_movefiles -p$(p_lib64) $(files_lib64)
+
+ dh_installdocs -p$(p_lib64)
+ echo "See /$(docdir)/$(p_base) for more information" \
+ > $(d_lib64)/$(docdir)/$(p_lib64)/README.Debian
+
+ dh_installchangelogs -p$(p_lib64)
+ debian/dh_rmemptydirs -p$(p_lib64)
+
+ PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_lib64)
+ dh_compress -p$(p_lib64)
+ dh_fixperms -p$(p_lib64)
+ dh_makeshlibs -p$(p_lib64) -V '$(p_lib64) (>= $(DEB_STDCXX_SOVERSION))' -n
+ sed s/$(cross_lib_arch)//g < debian/$(p_lib64)/DEBIAN/shlibs > debian/$(p_lib64)/DEBIAN/shlibs.fixed
+ mv debian/$(p_lib64)/DEBIAN/shlibs.fixed debian/$(p_lib64)/DEBIAN/shlibs
+ ARCH=$(DEB_TARGET_ARCH) MAKEFLAGS="CC=something" dh_shlibdeps -p$(p_lib64)
+ sed 's/\(lib[^ ]*\) /\1$(cross_lib_arch) /g' < debian/$(p_lib64).substvars > debian/$(p_lib64).substvars.new
+ mv debian/$(p_lib64).substvars.new debian/$(p_lib64).substvars
+ dh_gencontrol -p$(p_lib64) -- -v$(DEB_VERSION) $(common_substvars)
+
+ dh_installdeb -p$(p_lib64)
+ dh_md5sums -p$(p_lib64)
+ dh_builddeb -p$(p_lib64)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+
+$(binary_stamp)-lib32stdcxx: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lib32)
+ dh_installdirs -p$(p_lib32) $(dirs_lib32)
+ DH_COMPAT=2 dh_movefiles -p$(p_lib32) $(files_lib32)
+
+ dh_installdocs -p$(p_lib32)
+ echo "See /$(docdir)/$(p_base) for more information" \
+ > $(d_lib32)/$(docdir)/$(p_lib32)/README.Debian
+
+ dh_installchangelogs -p$(p_lib32)
+ debian/dh_rmemptydirs -p$(p_lib32)
+
+ PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_lib32)
+ dh_compress -p$(p_lib32)
+ dh_fixperms -p$(p_lib32)
+ dh_makeshlibs -p$(p_lib32) -V '$(p_lib32) (>= $(DEB_STDCXX_SOVERSION))' -n
+ sed s/$(cross_lib_arch)//g < debian/$(p_lib32)/DEBIAN/shlibs > debian/$(p_lib32)/DEBIAN/shlibs.fixed
+ mv debian/$(p_lib32)/DEBIAN/shlibs.fixed debian/$(p_lib32)/DEBIAN/shlibs
+ ARCH=$(DEB_TARGET_ARCH) MAKEFLAGS="CC=something" dh_shlibdeps -p$(p_lib32)
+ sed 's/\(lib[^ ]*\) /\1$(cross_lib_arch) /g' < debian/$(p_lib32).substvars > debian/$(p_lib32).substvars.new
+ mv debian/$(p_lib32).substvars.new debian/$(p_lib32).substvars
+ dh_gencontrol -p$(p_lib32) -- -v$(DEB_VERSION) $(common_substvars)
+
+ dh_installdeb -p$(p_lib32)
+ dh_md5sums -p$(p_lib32)
+ dh_builddeb -p$(p_lib32)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-libstdcxx-dev: $(install_stamp) \
+ $(binary_stamp)-libstdcxx
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_dev) $(d_pic)
+ dh_installdirs -p$(p_dev) $(dirs_dev)
+ dh_installdirs -p$(p_pic) $(dirs_pic)
+ dh_installdirs -p$(p_dbg) $(dirs_dbg)
+
+ : # - correct libstdc++-v3 file locations
+ mv $(d)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib/libsupc++.a $(d)/$(gcc_lib_dir)/
+ mv $(d)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib/libstdc++.{a,so} $(d)/$(gcc_lib_dir)/
+ ln -sf ../../../../$(DEB_TARGET_GNU_TYPE)/lib/libstdc++.so.$(CXX_SONAME) $(d)/$(gcc_lib_dir)/libstdc++.so
+ mv $(d)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib/libstdc++_pic.a \
+ $(d)/$(gcc_lib_dir)/
+
+ rm -f $(d)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib/debug/libstdc++_pic.a
+ rm -f $(d)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib64/debug/libstdc++_pic.a
+
+ : # remove precompiled headers
+ -find $(d) -type d -name '*.gch' | xargs rm -rf
+
+ifeq ($(with_lib64cxx),yes)
+ mv $(d)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib64/lib*c++*.a $(d)/$(gcc_lib_dir)/64/.
+ ln -sf ../../../../../lib64/libstdc++.so.$(CXX_SONAME) \
+ $(d)/$(gcc_lib_dir)/64/libstdc++.so
+endif
+
+ DH_COMPAT=2 dh_movefiles -p$(p_dev) $(files_dev)
+ DH_COMPAT=2 dh_movefiles -p$(p_pic) $(files_pic)
+ DH_COMPAT=2 dh_movefiles -p$(p_dbg) $(files_dbg)
+
+ debian/dh_doclink -p$(p_dev) $(p_lib)
+ debian/dh_doclink -p$(p_pic) $(p_lib)
+ debian/dh_doclink -p$(p_dbg) $(p_lib)
+ cp -p $(srcdir)/libstdc++-v3/ChangeLog \
+ $(d_dev)/usr/share/doc/$(p_lib)/changelog
+ cp -p $(srcdir)/libstdc++-v3/config/linker-map.gnu \
+ $(d_pic)/$(gcc_lib_dir)/libstdc++_pic.map
+
+ifeq ($(with_cxxdev),yes)
+ debian/dh_rmemptydirs -p$(p_dev)
+ debian/dh_rmemptydirs -p$(p_pic)
+ debian/dh_rmemptydirs -p$(p_dbg)
+endif
+
+ PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_dev) -p$(p_pic)
+ dh_compress -p$(p_dev) -p$(p_pic) -p$(p_dbg) -X.txt
+ dh_fixperms -p$(p_dev) -p$(p_pic) -p$(p_dbg)
+ dh_gencontrol -p$(p_dev) -p$(p_pic) -p$(p_dbg) \
+ -- -v$(DEB_VERSION) $(common_substvars)
+
+ dh_installdeb -p$(p_dev) -p$(p_pic) -p$(p_dbg)
+ dh_md5sums -p$(p_dev) -p$(p_pic) -p$(p_dbg)
+ dh_builddeb -p$(p_dev) -p$(p_pic) -p$(p_dbg)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-libffi.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-libffi.mk.svn-base
@@ -0,0 +1,72 @@
+arch_binaries := $(arch_binaries) libffi
+
+p_ffi = libffi$(FFI_SONAME)
+p_ffid = libffi$(FFI_SONAME)-dev
+
+d_ffi = debian/$(p_ffi)
+d_ffid = debian/$(p_ffid)
+
+dirs_ffi = \
+ $(docdir)/$(p_ffi) \
+ $(PF)/$(libdir)
+files_ffi = \
+ $(PF)/$(libdir)/libffi.so.*
+
+dirs_ffid = \
+ $(docdir) \
+ $(PF)/include \
+ $(gcc_lib_dir)/include
+files_ffid = \
+ $(gcc_lib_dir)/include/libffi \
+ $(PF)/include/{ffi.h,ffitarget.h} \
+ $(PF)/$(libdir)/libffi.{a,so,la}
+
+ifeq ($(biarch),yes)
+ dirs_ffi += $(PF)/$(lib64)
+ files_ffi += $(PF)/$(lib64)/libffi.so.*
+ dirs_ffid += $(PF)/$(lib64)
+ files_ffid += $(PF)/$(lib64)/libffi.{a,so,la}
+endif
+
+$(binary_stamp)-libffi: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_ffi) $(d_ffid)
+ dh_installdirs -p$(p_ffi) $(dirs_ffi)
+ dh_installdirs -p$(p_ffid) $(dirs_ffid)
+
+ mv $(d)/$(gcc_lib_dir)/include/libffi/ffitarget.h $(d)/$(PF)/include/.
+
+ DH_COMPAT=2 dh_movefiles -p$(p_ffi) $(files_ffi)
+ DH_COMPAT=2 dh_movefiles -p$(p_ffid) $(files_ffid)
+
+ dh_installdocs -p$(p_ffi) $(srcdir)/libffi/README
+ dh_installchangelogs -p$(p_ffi) $(srcdir)/libffi/ChangeLog
+ cp -p $(srcdir)/libffi/LICENSE $(d_ffi)/$(docdir)/$(p_ffi)/copyright
+ cp -p $(srcdir)/libffi/ChangeLog.libgcj \
+ $(d_ffi)/$(docdir)/$(p_ffi)/changelog.libgcj
+ debian/dh_doclink -p$(p_ffid) $(p_ffi)
+
+ debian/dh_rmemptydirs -p$(p_ffi)
+ debian/dh_rmemptydirs -p$(p_ffid)
+
+ dh_strip -p$(p_ffi) -p$(p_ffid)
+ dh_compress -p$(p_ffi) -p$(p_ffid)
+ dh_fixperms -p$(p_ffi) -p$(p_ffid)
+ dh_makeshlibs -p$(p_ffi) -V '$(p_ffi) (>= $(DEB_FFI_SOVERSION))'
+ dh_shlibdeps -p$(p_ffi) -p$(p_ffid)
+ dh_gencontrol -p$(p_ffi) -p$(p_ffid) \
+ -- -v$(DEB_EVERSION) $(common_substvars)
+ b=libffi; v=$(FFI_SONAME); \
+ for ext in preinst postinst prerm postrm; do \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done
+ dh_installdeb -p$(p_ffi) -p$(p_ffid)
+ dh_md5sums -p$(p_ffi) -p$(p_ffid)
+ dh_builddeb -p$(p_ffi) -p$(p_ffid)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-gcc.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-gcc.mk.svn-base
@@ -0,0 +1,183 @@
+arch_binaries := $(arch_binaries) gcc
+ifneq ($(GFDL_INVARIANT_FREE),yes)
+ indep_binaries := $(indep_binaries) gcc-doc
+endif
+
+# gcc must be moved after g77 and g++
+# not all files $(PF)/include/*.h are part of gcc,
+# but it becomes difficult to name all these files ...
+
+dirs_gcc = \
+ $(docdir)/$(p_base)/gcc \
+ $(PF)/bin \
+ $(gcc_lexec_dir) \
+ $(gcc_lib_dir)/include \
+ $(PF)/share/man/man1 $(libdir)
+
+files_gcc = \
+ $(PF)/bin/{gcc,gcov,gccbug}$(pkg_ver) \
+ $(PF)/share/man/man1/{gcc,gcov,gccbug}$(pkg_ver).1 \
+ $(gcc_lexec_dir)/collect2 \
+ $(gcc_lib_dir)/{specs,libgcc*,libgcov.a,*.o} \
+ $(gcc_lib_dir)/include/README \
+ $(gcc_lib_dir)/include/{float,iso646,limits,std*,syslimits,unwind,varargs}.h \
+ $(shell for d in asm bits gnu linux; do \
+ test -e $(d)/$(gcc_lib_dir)/include/$$d \
+ && echo $(gcc_lib_dir)/include/$$d; \
+ done)
+
+ifeq ($(biarch),yes)
+ files_gcc += $(gcc_lib_dir)/64/{libgcc*,libgcov.a,*.o}
+endif
+ifeq ($(biarch32),yes)
+ files_gcc += $(gcc_lib_dir)/32/{libgcc*,*.o}
+endif
+
+ifeq ($(with_nls),yes)
+ files_gcc += $(PF)/share/locale/*/*/gcc*.*
+endif
+
+files_gcc += \
+ $(shell test -e $(d)/$(gcc_lib_dir)/SYSCALLS.c.X \
+ && echo $(gcc_lib_dir)/SYSCALLS.c.X)
+
+ifeq ($(DEB_HOST_ARCH),ia64)
+ files_gcc += $(gcc_lib_dir)/include/ia64intrin.h
+endif
+
+ifeq ($(DEB_HOST_ARCH),i386)
+ files_gcc += $(gcc_lib_dir)/include/{,e,p,x}mmintrin.h
+endif
+ifeq ($(DEB_HOST_ARCH),amd64)
+ files_gcc += $(gcc_lib_dir)/include/{,e,p,x}mmintrin.h
+endif
+
+ifeq ($(DEB_HOST_ARCH),kfreebsd-i386)
+ files_gcc += $(gcc_lib_dir)/include/{,e,p,x}mmintrin.h
+endif
+
+ifeq ($(DEB_HOST_ARCH),hurd-i386)
+ files_gcc += $(gcc_lib_dir)/include/{,e,p,x}mmintrin.h
+endif
+
+ifeq ($(DEB_HOST_ARCH),m68k)
+ files_gcc += $(gcc_lib_dir)/include/math-68881.h
+endif
+
+ifeq ($(DEB_HOST_ARCH),powerpc)
+ files_gcc += $(gcc_lib_dir)/include/{altivec.h,ppc-asm.h}
+endif
+
+usr_doc_files = debian/README.Bugs \
+ $(shell test -f $(srcdir)/FAQ && echo $(srcdir)/FAQ)
+ifeq ($(with_check),yes)
+ usr_doc_files += test-summary
+endif
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-gcc: $(install_dependencies)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_gcc)
+ dh_installdirs -p$(p_gcc) $(dirs_gcc)
+
+ rm -f $(d)/$(PF)/$(libdir)/libgcc_s.so
+ ln -sf /$(libdir)/libgcc_s.so.$(GCC_SONAME) $(d)/$(gcc_lib_dir)/libgcc_s.so
+ifeq ($(biarch),yes)
+ rm -f $(d)/$(PF)/$(lib64)/libgcc_s.so
+ dh_link -p$(p_gcc) \
+ /$(lib64)/libgcc_s.so.$(GCC_SONAME) $(gcc_lib_dir)/libgcc_s_64.so \
+ /$(lib64)/libgcc_s.so.$(GCC_SONAME) $(gcc_lib_dir)/64/libgcc_s_64.so \
+ /$(lib64)/libgcc_s.so.$(GCC_SONAME) $(gcc_lib_dir)/64/libgcc_s.so
+endif
+ifeq ($(biarch32),yes)
+ mkdir -p $(d_gcc)/$(gcc_lib_dir)
+ mv $(d)/$(gcc_lib_dir)/32 $(d_gcc)/$(gcc_lib_dir)/
+ dh_link -p$(p_gcc) \
+ /$(lib32)/libgcc_s.so.$(GCC_SONAME) /$(gcc_lib_dir)/libgcc_s_32.so \
+ /$(lib32)/libgcc_s.so.$(GCC_SONAME) /$(gcc_lib_dir)/32/libgcc_s_32.so \
+ /$(lib32)/libgcc_s.so.$(GCC_SONAME) /$(gcc_lib_dir)/32/libgcc_s.so
+endif
+ cp -p debian/gccbug.1 $(d)/$(PF)/share/man/man1/gccbug$(pkg_ver).1
+
+ DH_COMPAT=2 dh_movefiles -p$(p_gcc) $(files_gcc)
+
+ ln -sf gcc$(pkg_ver) \
+ $(d_gcc)/$(PF)/bin/$(DEB_TARGET_GNU_TYPE)-gcc$(pkg_ver)
+ ln -sf gcc$(pkg_ver).1 \
+ $(d_gcc)/$(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-gcc$(pkg_ver).1
+ ln -sf gcc$(pkg_ver) \
+ $(d_gcc)/$(PF)/bin/$(TARGET_ALIAS)-gcc$(pkg_ver)
+ ln -sf gcc$(pkg_ver).1 \
+ $(d_gcc)/$(PF)/share/man/man1/$(TARGET_ALIAS)-gcc$(pkg_ver).1
+
+# dh_installdebconf
+ debian/dh_doclink -p$(p_gcc) $(p_base)
+ cp -p $(usr_doc_files) $(d_gcc)/$(docdir)/$(p_base)/.
+ if [ -f testsuite-comparision ]; then \
+ cp -p testsuite-comparision $(d_gcc)/$(docdir)/$(p_base)/. ; \
+ fi
+ cp -p debian/NEWS.gcc $(d_gcc)/$(docdir)/$(p_base)/NEWS
+ cp -p debian/NEWS.html $(d_gcc)/$(docdir)/$(p_base)/NEWS.html
+ cp -p $(srcdir)/gcc/ChangeLog \
+ $(d_gcc)/$(docdir)/$(p_base)/gcc/changelog
+ if [ -f $(builddir)/gcc/.bad_compare ]; then \
+ ( \
+ echo "The comparision of the stage2 and stage3 object files shows differences."; \
+ echo "The Debian package was modified to ignore these differences."; \
+ echo ""; \
+ echo "The following files differ:"; \
+ echo ""; \
+ cat $(builddir)/gcc/.bad_compare; \
+ ) > $(d_gcc)/$(docdir)/$(p_base)/BOOTSTRAP_COMPARISION_FAILURE; \
+ else \
+ true; \
+ fi
+ debian/dh_rmemptydirs -p$(p_gcc)
+ dh_strip -p$(p_gcc)
+ dh_compress -p$(p_gcc) -X README.Bugs
+ dh_fixperms -p$(p_gcc)
+ dh_shlibdeps -p$(p_gcc)
+ dh_gencontrol -p$(p_gcc) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_gcc)
+ dh_md5sums -p$(p_gcc)
+ dh_builddeb -p$(p_gcc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+ : # remove empty directories, when all components are in place
+ for d in `find $(d) -depth -type d -empty 2> /dev/null`; do \
+ while rmdir $$d 2> /dev/null; do d=`dirname $$d`; done; \
+ done
+
+ @echo "Listing installed files not included in any package:"
+ -find $(d) ! -type d
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-gcc-doc: $(build_html_stamp) $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_doc)
+ dh_installdirs -p$(p_doc) \
+ $(docdir)/$(p_base) \
+ $(PF)/share/info
+ DH_COMPAT=2 dh_movefiles -p$(p_doc) \
+ $(PF)/share/info/gcc*
+
+ debian/dh_doclink -p$(p_doc) $(p_base)
+ dh_installdocs -p$(p_doc) html/gcc.html html/gccint.html
+ rm -f $(d_doc)/$(docdir)/$(p_base)/copyright
+ debian/dh_rmemptydirs -p$(p_doc)
+
+ dh_compress -p$(p_doc)
+ dh_fixperms -p$(p_doc)
+ dh_installdeb -p$(p_doc)
+ dh_gencontrol -p$(p_doc) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_md5sums -p$(p_doc)
+ dh_builddeb -p$(p_doc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-fixincl.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-fixincl.mk.svn-base
@@ -0,0 +1,47 @@
+arch_binaries := $(arch_binaries) fixincl
+
+p_fix = fixincludes
+d_fix = debian/$(p_fix)
+
+dirs_fix = \
+ $(docdir)/$(p_base)/fixincludes \
+ $(PF)/share/man/man1 \
+ $(PF)/bin \
+ $(gcc_lexec_dir) \
+ $(gcc_lib_dir)
+files_fix = \
+ $(gcc_lexec_dir)/install-tools \
+ $(gcc_lib_dir)/install-tools
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-fixincl: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_fix)
+ dh_installdirs -p$(p_fix) $(dirs_fix)
+ DH_COMPAT=2 dh_movefiles -p$(p_fix) $(files_fix)
+
+# $(IP) $(builddir)/gcc/fixinc/fixincl $(d_fix)/$(PF)/lib/fixincludes/
+# sed -e "s,^FIXINCL=\(.*\),FIXINCL=/$(PF)/lib/fixincludes/fixincl," \
+# $(builddir)/gcc/fixinc.sh \
+# > $(d_fix)/$(PF)/lib/fixincludes/fixinc.sh
+# chmod 755 $(d_fix)/$(PF)/lib/fixincludes/fixinc.sh
+ $(IR) $(srcdir)/gcc/fixinc/README \
+ $(d_fix)/$(docdir)/$(p_base)/fixincludes
+ sed -e 's,@LIBEXECDIR@,$(gcc_lexec_dir),g' debian/fixincludes.in \
+ > $(d_fix)/$(PF)/bin/fixincludes
+ chmod 755 $(d_fix)/$(PF)/bin/fixincludes
+
+ debian/dh_doclink -p$(p_fix) $(p_base)
+ dh_strip -p$(p_fix)
+ dh_compress -p$(p_fix)
+ dh_fixperms -p$(p_fix)
+ dh_shlibdeps -p$(p_fix)
+ dh_gencontrol -p$(p_fix) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_fix)
+ dh_md5sums -p$(p_fix)
+ dh_builddeb -p$(p_fix)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-treelang.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-treelang.mk.svn-base
@@ -0,0 +1,55 @@
+arch_binaries := $(arch_binaries) treelang
+
+p_tree = treelang$(pkg_ver)
+d_tree = debian/$(p_tree)
+
+dirs_tree = \
+ $(docdir)/$(p_base)/treelang \
+ $(gcc_lexec_dir) \
+ $(PF)/bin \
+ $(PF)/share/info
+
+files_tree = \
+ $(PF)/bin/tree1$(pkg_ver) \
+ $(gcc_lexec_dir)/tree1
+
+ifneq ($(GFDL_INVARIANT_FREE),yes)
+ files_tree += \
+ $(PF)/share/info/treelang*
+endif
+
+$(binary_stamp)-treelang: $(build_html_stamp) $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_tree)
+ dh_installdirs -p$(p_tree) $(dirs_tree)
+ DH_COMPAT=2 dh_movefiles -p$(p_tree) $(files_tree)
+
+ debian/dh_doclink -p$(p_tree) $(p_base)
+ifneq ($(GFDL_INVARIANT_FREE),yes)
+ dh_installdocs -p$(p_tree)
+ rm -f $(d_tree)/$(docdir)/$(p_base)/copyright
+ cp -p html/treelang.html $(d_tree)/$(docdir)/$(p_base)/treelang/
+endif
+ cp -p $(srcdir)/gcc/treelang/README \
+ $(d_tree)/$(docdir)/$(p_base)/treelang/.
+ cp -p $(srcdir)/gcc/treelang/ChangeLog \
+ $(d_tree)/$(docdir)/$(p_base)/treelang/changelog
+ cp -p debian/README.treelang \
+ $(d_tree)/$(docdir)/$(p_base)/treelang/README.Debian
+
+ debian/dh_rmemptydirs -p$(p_tree)
+
+ dh_strip -p$(p_tree)
+ dh_compress -p$(p_tree)
+
+ dh_fixperms -p$(p_tree)
+ dh_shlibdeps -p$(p_tree)
+ dh_gencontrol -p$(p_tree) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_tree)
+ dh_md5sums -p$(p_tree)
+ dh_builddeb -p$(p_tree)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-softfloat.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-softfloat.mk.svn-base
@@ -0,0 +1,33 @@
+arch_binaries := $(arch_binaries) softfloat
+
+p_softfloat = gcc$(pkg_ver)-soft-float
+d_softfloat = debian/$(p_softfloat)
+
+dirs_softfloat = \
+ $(PF)/$(libdir)/soft-float \
+ $(gcc_lib_dir)/soft-float
+
+files_softfloat = \
+ $(PF)/$(libdir)/soft-float \
+ $(gcc_lib_dir)/soft-float
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-softfloat: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_softfloat)
+ dh_installdirs -p$(p_softfloat) $(dirs_softfloat)
+ DH_COMPAT=2 dh_movefiles -p$(p_softfloat) $(files_softfloat)
+ debian/dh_doclink -p$(p_softfloat) $(p_base)
+ dh_strip -p$(p_softfloat) -Xlibgcj.a
+ dh_compress -p$(p_softfloat)
+ dh_fixperms -p$(p_softfloat)
+ dh_shlibdeps -p$(p_softfloat)
+ dh_gencontrol -p$(p_softfloat) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_softfloat)
+ dh_md5sums -p$(p_softfloat)
+ dh_builddeb -p$(p_softfloat)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-hppa64.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-hppa64.mk.svn-base
@@ -0,0 +1,21 @@
+arch_binaries := $(arch_binaries) hppa64
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-hppa64: $(install_hppa64_stamp)
+ dh_testdir
+ dh_testroot
+
+# dh_installdirs -p$(p_hppa64)
+ debian/dh_doclink -p$(p_hppa64) $(p_base)
+ debian/dh_rmemptydirs -p$(p_hppa64)
+
+ dh_strip -p$(p_hppa64) -X.o -Xlibgcc.a -Xlibgcov.a
+ dh_compress -p$(p_hppa64)
+ dh_fixperms -p$(p_hppa64)
+ dh_shlibdeps -p$(p_hppa64)
+ dh_gencontrol -p$(p_hppa64) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_hppa64)
+ dh_md5sums -p$(p_hppa64)
+ dh_builddeb -p$(p_hppa64)
+
+ touch $@
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-cxx.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-cxx.mk.svn-base
@@ -0,0 +1,52 @@
+arch_binaries := $(arch_binaries) cxx
+
+dirs_cxx = \
+ $(docdir)/$(p_base)/C++ \
+ $(PF)/bin \
+ $(PF)/share/info \
+ $(gcc_lexec_dir) \
+ $(PF)/share/man/man1
+files_cxx = \
+ $(PF)/bin/g++$(pkg_ver) \
+ $(PF)/share/man/man1/g++$(pkg_ver).1 \
+ $(gcc_lexec_dir)/cc1plus
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-cxx: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_cxx)
+ dh_installdirs -p$(p_cxx) $(dirs_cxx)
+ DH_COMPAT=2 dh_movefiles -p$(p_cxx) $(files_cxx)
+# g++ man page is a .so link
+ rm -f $(d_cxx)/$(PF)/share/man/man1/g++$(pkg_ver).1
+ ln -sf gcc$(pkg_ver).1.gz \
+ $(d_cxx)/$(PF)/share/man/man1/g++$(pkg_ver).1.gz
+
+ ln -sf g++$(pkg_ver) \
+ $(d_cxx)/$(PF)/bin/$(DEB_TARGET_GNU_TYPE)-g++$(pkg_ver)
+ ln -sf g++$(pkg_ver).1.gz \
+ $(d_cxx)/$(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-g++$(pkg_ver).1.gz
+ ln -sf g++$(pkg_ver) \
+ $(d_cxx)/$(PF)/bin/$(TARGET_ALIAS)-g++$(pkg_ver)
+ ln -sf g++$(pkg_ver).1.gz \
+ $(d_cxx)/$(PF)/share/man/man1/$(TARGET_ALIAS)-g++$(pkg_ver).1.gz
+
+ debian/dh_doclink -p$(p_cxx) $(p_base)
+ cp -p debian/README.C++ $(d_cxx)/$(docdir)/$(p_base)/C++/
+ cp -p $(srcdir)/gcc/cp/ChangeLog \
+ $(d_cxx)/$(docdir)/$(p_base)/C++/changelog
+ debian/dh_rmemptydirs -p$(p_cxx)
+
+ dh_strip -p$(p_cxx)
+ dh_compress -p$(p_cxx)
+ dh_fixperms -p$(p_cxx)
+ dh_shlibdeps -p$(p_cxx)
+ dh_gencontrol -p$(p_cxx) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_cxx)
+ dh_md5sums -p$(p_cxx)
+ dh_builddeb -p$(p_cxx)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-proto.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-proto.mk.svn-base
@@ -0,0 +1,43 @@
+arch_binaries := $(arch_binaries) proto
+
+p_proto = protoize
+d_proto = debian/$(p_proto)
+
+dirs_proto = \
+ $(docdir) \
+ $(PF)/share/man/man1 \
+ $(PF)/bin
+files_proto = \
+ $(PF)/bin/{protoize,unprotoize} \
+ $(PF)/share/man/man1/{protoize,unprotoize}.1
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-proto: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_proto)
+ dh_installdirs -p$(p_proto) $(dirs_proto)
+
+ifeq ($(versioned_packages),yes)
+ : # rename versioned files back to unversioned ones.
+ for i in protoize unprotoize; do \
+ mv $(d)/$(PF)/bin/$$i$(pkg_ver) $(d)/$(PF)/bin/$$i; \
+ done
+endif
+ $(IR) debian/protoize.1 $(d)/$(PF)/share/man/man1/
+ ln -sf protoize.1 $(d)/$(PF)/share/man/man1/unprotoize.1
+ DH_COMPAT=2 dh_movefiles -p$(p_proto) $(files_proto)
+
+ debian/dh_doclink -p$(p_proto) $(p_base)
+ dh_strip -p$(p_proto)
+ dh_compress -p$(p_proto)
+ dh_fixperms -p$(p_proto)
+ dh_shlibdeps -p$(p_proto)
+ dh_gencontrol -p$(p_proto) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_proto)
+ dh_md5sums -p$(p_proto)
+ dh_builddeb -p$(p_proto)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-pascal.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-pascal.mk.svn-base
@@ -0,0 +1,100 @@
+arch_binaries := $(arch_binaries) pascal
+indep_binaries := $(indep_binaries) pascal-doc
+
+p_gpc = gpc$(gpc_pkg_ver)
+p_gpcd = gpc$(gpc_pkg_ver)-doc
+
+d_gpc = debian/$(p_gpc)
+d_gpcd = debian/$(p_gpcd)
+
+dirs_gpc = \
+ $(docdir)/$(p_base)/pascal \
+ $(PF)/bin \
+ $(gcc_lexec_dir) \
+ $(gcc_lib_dir)/{include,units} \
+ $(PF)/share/man/man1
+ifeq ($(with_gpidump),yes)
+ files_gpc = \
+ $(PF)/bin/{binobj,gpc,gpc-run,gpidump}$(gpc_pkg_ver) \
+ $(PF)/share/man/man1/{binobj,gpc,gpc-run,gpidump}$(gpc_pkg_ver).1 \
+ $(gcc_lexec_dir)/gpc1 \
+ $(gcc_lib_dir)/{libgpc.a,units} \
+ $(gcc_lib_dir)/include/gpc-in-c.h
+else
+ files_gpc = \
+ $(PF)/bin/{binobj,gpc,gpc-run}$(gpc_pkg_ver) \
+ $(PF)/share/man/man1/{binobj,gpc,gpc-run}$(gpc_pkg_ver).1 \
+ $(gcc_lexec_dir)/gpc1 \
+ $(gcc_lib_dir)/{libgpc.a,units} \
+ $(gcc_lib_dir)/include/gpc-in-c.h
+endif
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-pascal: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_gpc)
+ dh_installdirs -p$(p_gpc) $(dirs_gpc)
+
+ rm -f $(d)/$(PF)/bin/pc $(d)/$(PF)/share/man/man1/pc.1
+ DH_COMPAT=2 dh_movefiles -p$(p_gpc) $(files_gpc)
+
+ debian/dh_doclink -p$(p_gpc) $(p_base)
+ cp -p $(srcdir)/gcc/p/{AUTHORS,FAQ,NEWS,README} \
+ $(d_gpc)/$(docdir)/$(p_base)/pascal/.
+ cp -p $(srcdir)/gcc/p/test/README \
+ $(d_gpc)/$(docdir)/$(p_base)/pascal/README.gpc-test
+ cp -p $(srcdir)/gcc/p/ChangeLog \
+ $(d_gpc)/$(docdir)/$(p_base)/pascal/changelog
+
+# ln -sf ../$(p_gpc)/examples $(d_gpcd)/$(docdir)/$(p_gpcd)/examples
+# ln -sf ../$(p_gpc)/docdemos $(d_gpcd)/$(docdir)/$(p_gpcd)/docdemos
+
+ dh_strip -p$(p_gpc)
+ dh_compress -p$(p_gpc)
+ dh_fixperms -p$(p_gpc)
+ dh_shlibdeps -p$(p_gpc)
+ dh_gencontrol -p$(p_gpc) -- -v$(DEB_GPC_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_gpc)
+ dh_md5sums -p$(p_gpc)
+ dh_builddeb -p$(p_gpc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-pascal-doc: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_gpcd)
+ dh_installdirs -p$(p_gpcd) \
+ $(docdir)/$(p_base)/pascal \
+ $(PF)/share/info
+ DH_COMPAT=2 dh_movefiles -p$(p_gpcd) \
+ $(PF)/share/info/gpc*$(gpc_pkg_ver)*info*
+ debian/dh_doclink -p$(p_gpcd) $(p_base)
+ dh_installdocs -p$(p_gpcd)
+ rm -f $(d_gpcd)/$(docdir)/$(p_base)/copyright
+ cp -p html/gpc.html html/gpcs.html \
+ $(d_gpcd)/$(docdir)/$(p_base)/pascal/
+ mv $(d)/$(PF)/doc/gpc/demos \
+ $(d_gpcd)/$(docdir)/$(p_base)/pascal/examples
+ mv $(d)/$(PF)/doc/gpc/docdemos \
+ $(d_gpcd)/$(docdir)/$(p_base)/pascal/.
+
+# -$(MAKE) -C $(builddir)/gcc gpc.ps
+# cp -p $(builddir)/gcc/gpc.ps $(d_gpcd)/$(docdir)/$(p_base)/pascal/.
+
+ debian/dh_rmemptydirs -p$(p_gpcd)
+
+ dh_compress -p$(p_gpcd)
+ dh_fixperms -p$(p_gpcd)
+ dh_installdeb -p$(p_gpcd)
+ dh_gencontrol -p$(p_gpcd) -- -v$(DEB_GPC_VERSION) $(common_substvars)
+ dh_md5sums -p$(p_gpcd)
+ dh_builddeb -p$(p_gpcd)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-libobjc.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-libobjc.mk.svn-base
@@ -0,0 +1,67 @@
+ifeq ($(with_objcdev),yes)
+ arch_binaries := $(arch_binaries) libobjc
+endif
+
+p_lobjc = libobjc$(OBJC_SONAME)
+d_lobjc = debian/$(p_lobjc)
+
+dirs_lobjc = \
+ $(docdir)/objc \
+ $(PF)/$(libdir)
+files_lobjc = \
+ $(PF)/$(libdir)/libobjc.so.*
+ifeq ($(with_objc_gc),yes)
+ files_lobjc += \
+ $(PF)/$(libdir)/libobjc_gc.so.*
+endif
+
+ifeq ($(with_lib64objc),yes)
+ dirs_lobjc += $(PF)/$(lib64)
+ files_lobjc += $(PF)/$(lib64)/libobjc.so.*
+ ifeq ($(with_objc_gc),yes)
+ files_lobjc += $(PF)/$(lib64)/libobjc_gc.so.*
+ endif
+endif
+
+
+$(binary_stamp)-libobjc: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lobjc)
+ dh_installdirs -p$(p_lobjc) $(dirs_lobjc)
+# mv $(d)/$(gcc_lib_dir)/libobjc.so.* $(d)/$(PF)/$(libdir)/.
+#ifeq ($(with_objc_gc),yes)
+# mv $(d)/$(gcc_lib_dir)/libobjc_gc.so.* $(d)/$(PF)/$(libdir)/.
+#endif
+ DH_COMPAT=2 dh_movefiles -p$(p_lobjc) $(files_lobjc)
+
+ dh_installdocs -p$(p_lobjc)
+ echo "See /$(docdir)/$(p_base) for more information" \
+ > $(d_lobjc)/$(docdir)/$(p_lobjc)/README.Debian
+ dh_installchangelogs -p$(p_lobjc) $(srcdir)/libobjc/ChangeLog
+
+ debian/dh_rmemptydirs -p$(p_lobjc)
+
+ dh_strip -p$(p_lobjc)
+ dh_compress -p$(p_lobjc)
+
+ dh_fixperms -p$(p_lobjc)
+ b=libobjc; \
+ for ext in preinst postinst prerm postrm; do \
+ for t in '' -dev -dbg; do \
+ v=$(OBJC_SONAME); \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done; \
+ done
+ dh_makeshlibs -p$(p_lobjc) -V '$(p_lobjc) (>= $(DEB_SOEVERSION))'
+ dh_shlibdeps -p$(p_lobjc)
+ dh_gencontrol -p$(p_lobjc) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_lobjc)
+ dh_md5sums -p$(p_lobjc)
+ dh_builddeb -p$(p_lobjc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-libstdcxx.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-libstdcxx.mk.svn-base
@@ -0,0 +1,444 @@
+ifeq ($(with_libcxx),yes)
+ arch_binaries := $(arch_binaries) libstdcxx
+endif
+ifeq ($(with_lib64cxx),yes)
+ arch_binaries := $(arch_binaries) lib64stdcxx
+endif
+ifeq ($(with_lib32cxx),yes)
+ arch_binaries := $(arch_binaries) lib32stdcxx
+endif
+
+ifeq ($(with_cxxdev),yes)
+ arch_binaries := $(arch_binaries) libstdcxx-dev
+ indep_binaries := $(indep_binaries) libstdcxx-doc
+endif
+
+p_lib = libstdc++$(CXX_SONAME)
+p_dev = $(p_lib)-dev
+p_pic = $(p_lib)-pic
+p_dbg = $(p_lib)-dbg
+p_lib64 = lib64stdc++$(CXX_SONAME)
+p_lib32 = lib32stdc++$(CXX_SONAME)
+p_libd = libstdc++6-doc
+
+d_lib = debian/$(p_lib)
+d_lib64 = debian/$(p_lib64)
+d_lib32 = debian/$(p_lib32)
+d_dev = debian/$(p_dev)
+d_pic = debian/$(p_pic)
+d_dbg = debian/$(p_dbg)
+d_libd = debian/$(p_libd)
+
+dirs_lib = \
+ $(docdir) \
+ $(PF)/$(libdir)
+
+dirs_lib64 = \
+ $(docdir) \
+ $(PF)/lib64
+
+files_lib = \
+ $(PF)/$(libdir)/libstdc++.so.*
+
+files_lib64 = \
+ $(PF)/lib64/libstdc++.so.*
+
+dirs_dev = \
+ $(docdir)/$(p_base)/C++ \
+ $(PF)/$(libdir) \
+ $(gcc_lib_dir)/include \
+ $(cxx_inc_dir)
+
+files_dev = \
+ $(cxx_inc_dir)/ \
+ $(gcc_lib_dir)/libstdc++.{a,so} \
+ $(gcc_lib_dir)/libsupc++.a
+# Not yet...
+# $(PF)/$(libdir)/lib{supc,stdc}++.la
+
+dirs_dbg = \
+ $(docdir) \
+ $(PF)/$(libdir)/debug \
+ $(gcc_lib_dir)
+files_dbg = \
+ $(PF)/$(libdir)/debug/libstdc++.*
+
+dirs_pic = \
+ $(docdir) \
+ $(gcc_lib_dir)
+files_pic = \
+ $(gcc_lib_dir)/libstdc++_pic.a
+
+ifeq ($(biarch),yes)
+ dirs_dev += $(gcc_lib_dir)/64/
+ files_dev += $(gcc_lib_dir)/64/libstdc++.{a,so} \
+ $(gcc_lib_dir)/64/libsupc++.a
+ dirs_dbg += $(PF)/lib64/debug
+ files_dbg += $(PF)/lib64/debug/libstdc++.*
+ dirs_pic += $(gcc_lib_dir)
+ files_pic += $(gcc_lib_dir)/64/libstdc++_pic.a
+endif
+ifeq ($(biarch32),yes)
+ dirs_dev += $(gcc_lib_dir)/32/
+ files_dev += $(gcc_lib_dir)/32/libstdc++.{a,so} \
+ $(gcc_lib_dir)/32/libsupc++.a
+ dirs_dbg += $(PF)/lib32/debug
+ files_dbg += $(PF)/lib32/debug/libstdc++.*
+ dirs_pic += $(gcc_lib_dir)
+ files_pic += $(gcc_lib_dir)/32/libstdc++_pic.a
+endif
+
+# ----------------------------------------------------------------------
+
+gxx_baseline_dir = $(shell \
+ sed -n '/^baseline_dir *=/s,.*= *\(.*\)\$$.*$$,\1,p' \
+ $(buildlibdir)/libstdc++-v3/testsuite/Makefile)
+gxx_baseline_file = $(gxx_baseline_dir)/baseline_symbols.txt
+
+debian/README.libstdc++-baseline:
+ cat debian/README.libstdc++-baseline.in \
+ > debian/README.libstdc++-baseline
+
+ baseline_name=`basename $(gxx_baseline_dir)`; \
+ baseline_parentdir=`dirname $(gxx_baseline_dir)`; \
+ compat_baseline_name=""; \
+ if [ -f "$(gxx_baseline_file)" ]; then \
+ ( \
+ echo "A baseline file for $$baseline_name was found."; \
+ echo "Running the check-abi script ..."; \
+ echo ""; \
+ $(MAKE) -C $(buildlibdir)/libstdc++-v3/testsuite \
+ check-abi; \
+ ) >> debian/README.libstdc++-baseline; \
+ else \
+ ( \
+ echo "No baseline file found for $$baseline_name."; \
+ echo "Generating a new baseline file ..."; \
+ echo ""; \
+ ) >> debian/README.libstdc++-baseline; \
+ mkdir $(gxx_baseline_dir); \
+ $(MAKE) -C $(buildlibdir)/libstdc++-v3/testsuite new-abi-baseline; \
+ cat $(gxx_baseline_file) >> debian/README.libstdc++-baseline; \
+ fi
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-libstdcxx: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lib)
+ dh_installdirs -p$(p_lib) $(dirs_lib)
+ DH_COMPAT=2 dh_movefiles -p$(p_lib) $(files_lib)
+
+ dh_installdocs -p$(p_lib)
+ echo "See /$(docdir)/$(p_base) for more information" \
+ > $(d_lib)/$(docdir)/$(p_lib)/README.Debian
+
+ dh_installchangelogs -p$(p_lib)
+ debian/dh_rmemptydirs -p$(p_lib)
+
+ dh_strip -p$(p_lib)
+ dh_compress -p$(p_lib)
+ dh_fixperms -p$(p_lib)
+ dh_makeshlibs -p$(p_lib) -V '$(p_lib) (>= $(DEB_STDCXX_SOVERSION))'
+ cat debian/$(p_lib)/DEBIAN/shlibs >> debian/shlibs.local
+ dh_shlibdeps \
+ -L$(p_lgcc) -l:$(d)/$(PF)/lib:$(d_lgcc)/lib:\
+ -p$(p_lib)
+ dh_gencontrol -p$(p_lib) -- -v$(DEB_VERSION) $(common_substvars)
+
+ b=libstdc++; \
+ for ext in preinst postinst prerm postrm; do \
+ for t in ''; do \
+ v=$(CXX_SONAME); \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done; \
+ done
+
+ dh_installdeb -p$(p_lib)
+ dh_md5sums -p$(p_lib)
+ dh_builddeb -p$(p_lib)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-lib64stdcxx: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lib64)
+ dh_installdirs -p$(p_lib64) $(dirs_lib64)
+ install -d $(d)/lib64
+ DH_COMPAT=2 dh_movefiles -p$(p_lib64) $(files_lib64)
+ dh_installdocs -p$(p_lib64)
+ echo "See /$(docdir)/$(p_base) for more information" \
+ > $(d_lib64)/$(docdir)/$(p_lib64)/README.Debian
+ dh_installchangelogs -p$(p_lib64)
+ debian/dh_rmemptydirs -p$(p_lib64)
+ dh_strip -p$(p_lib64)
+ dh_compress -p$(p_lib64)
+ dh_fixperms -p$(p_lib64)
+ dh_makeshlibs -p$(p_lib64) -V '$(p_lib64) (>= $(DEB_STDCXX_SOVERSION))'
+# pass explicit dependencies to dh_shlibdeps
+ifeq ($(DEB_TARGET_GNU_CPU),s390)
+# dh_shlibdeps -p$(p_lib64) -L $(p_l64gcc) -l $(d_l64gcc)/lib
+#/usr/bin/ldd: line 1: /lib/ld64.so.1: cannot execute binary file
+#dpkg-shlibdeps: failure: ldd on `debian/lib64gcc1/lib64/libgcc_s.so.1' gave error exit status 1
+ echo 'shlibs:Depends=libc6-s390x (>= 2.3.1-1), $(p_l64gcc) (>= $(DEB_LIBGCC_SOVERSION))' \
+ > debian/$(p_lib64).substvars
+else
+ ifeq ($(DEB_TARGET_GNU_CPU),i386)
+ ifeq ($(distribution),Ubuntu)
+ echo 'shlibs:Depends=libc6-amd64, $(p_l64gcc) (>= $(DEB_LIBGCC_SOVERSION))' \
+ > debian/$(p_lib64).substvars
+ else
+ echo 'shlibs:Depends=libc6-amd64 | amd64-libs (>= 0.1), $(p_l64gcc) (>= $(DEB_LIBGCC_SOVERSION))' \
+ > debian/$(p_lib64).substvars
+ endif
+ else
+ ifeq ($(DEB_TARGET_GNU_CPU),powerpc)
+ echo 'shlibs:Depends=libc6-ppc64, $(p_l64gcc) (>= $(DEB_LIBGCC_SOVERSION))' \
+ > debian/$(p_lib64).substvars
+ else
+ ifeq ($(DEB_TARGET_GNU_CPU),sparc)
+ echo 'shlibs:Depends=libc6-sparc64 (>= 2.3.2.ds1-21), $(p_l64gcc) (>= $(DEB_LIBGCC_SOVERSION))' \
+ > debian/$(p_lib64).substvars
+ else
+ dh_shlibdeps -p$(p_lib64) -L $(p_l64gcc) -l $(d_l64gcc)/lib
+ endif
+ endif
+ endif
+endif
+ dh_gencontrol -p$(p_lib64) -- -v$(DEB_VERSION) $(common_substvars)
+
+ b=lib64stdc++; \
+ for ext in preinst postinst prerm postrm; do \
+ for t in ''; do \
+ v=$(CXX_SONAME); \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done; \
+ done
+
+ dh_installdeb -p$(p_lib64)
+ dh_md5sums -p$(p_lib64)
+ dh_builddeb -p$(p_lib64)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-lib32stdcxx: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lib32)
+
+ dh_installdirs -p$(p_lib32) \
+ $(docdir)/$(p_lib32) \
+ $(lib32)
+ mv $(d)/$(lib32)/libstdc++.so.* \
+ $(d_lib32)/$(lib32)/.
+
+ dh_installdocs -p$(p_lib32)
+ echo "See /$(docdir)/$(p_base) for more information" \
+ > $(d_lib32)/$(docdir)/$(p_lib32)/README.Debian
+ dh_installchangelogs -p$(p_lib32)
+ debian/dh_rmemptydirs -p$(p_lib32)
+ dh_strip -p$(p_lib32)
+ dh_compress -p$(p_lib32)
+ dh_fixperms -p$(p_lib32)
+ dh_gencontrol -p$(p_lib32) -- -v$(DEB_VERSION) $(common_substvars)
+
+ b=lib32stdc++; \
+ for ext in preinst postinst prerm postrm; do \
+ for t in ''; do \
+ v=$(CXX_SONAME); \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done; \
+ done
+
+ dh_installdeb -p$(p_lib32)
+ dh_md5sums -p$(p_lib32)
+ dh_builddeb -p$(p_lib32)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+libcxxdev_deps = $(install_stamp)
+ifeq ($(with_libcxx),yes)
+ libcxxdev_deps += $(binary_stamp)-libstdcxx
+endif
+ifeq ($(with_check),yes)
+ libcxxdev_deps += debian/README.libstdc++-baseline
+endif
+$(binary_stamp)-libstdcxx-dev: $(libcxxdev_deps)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_dev) $(d_pic)
+ dh_installdirs -p$(p_dev) $(dirs_dev)
+ dh_installdirs -p$(p_pic) $(dirs_pic)
+ dh_installdirs -p$(p_dbg) $(dirs_dbg)
+
+ : # - correct libstdc++-v3 file locations
+ mv $(d)/$(PF)/$(libdir)/libsupc++.a $(d)/$(gcc_lib_dir)/
+ mv $(d)/$(PF)/$(libdir)/libstdc++.{a,so} $(d)/$(gcc_lib_dir)/
+ mv $(d)/$(PF)/$(libdir)/libstdc++_pic.a $(d)/$(gcc_lib_dir)/
+
+ rm -f $(d)/$(PF)/$(libdir)/debug/libstdc++_pic.a
+ rm -f $(d)/$(PF)/lib64/debug/libstdc++_pic.a
+
+ : # remove precompiled headers
+ -find $(d) -type d -name '*.gch' | xargs rm -rf
+
+ifeq ($(biarch),yes)
+ mv $(d)/$(PF)/lib64/lib*c++*.{a,so} $(d)/$(gcc_lib_dir)/64/.
+ ifeq ($(DEB_TARGET_ARCH),i386)
+ mv $(d)/$(cxx_inc_dir)/x86_64-linux $(d)/$(cxx_inc_dir)/x86_64-linux-gnu
+ endif
+endif
+ifeq ($(biarch32),yes)
+ mv $(d)/$(lib32)/lib*c++*.{a,so} $(d)/$(gcc_lib_dir)/32/.
+endif
+
+ DH_COMPAT=2 dh_movefiles -p$(p_dev) $(files_dev)
+ DH_COMPAT=2 dh_movefiles -p$(p_pic) $(files_pic)
+ DH_COMPAT=2 dh_movefiles -p$(p_dbg) $(files_dbg)
+
+ dh_link -p$(p_dev) \
+ /$(PF)/$(libdir)/libstdc++.so.$(CXX_SONAME) \
+ /$(gcc_lib_dir)/libstdc++.so
+ifeq ($(biarch),yes)
+ dh_link -p$(p_dev) \
+ /$(PF)/lib64/libstdc++.so.$(CXX_SONAME) \
+ /$(gcc_lib_dir)/64/libstdc++.so
+endif
+ifeq ($(biarch32),yes)
+ dh_link -p$(p_dev) \
+ /$(lib32)/libstdc++.so.$(CXX_SONAME) \
+ /$(gcc_lib_dir)/32/libstdc++.so
+endif
+
+ debian/dh_doclink -p$(p_dev) $(p_base)
+ debian/dh_doclink -p$(p_pic) $(p_base)
+ debian/dh_doclink -p$(p_dbg) $(p_base)
+ cp -p $(srcdir)/libstdc++-v3/ChangeLog \
+ $(d_dev)/$(docdir)/$(p_base)/C++/changelog.libstdc++
+ifeq ($(with_check),yes)
+ cp -p debian/README.libstdc++-baseline \
+ $(d_dev)/$(docdir)/$(p_base)/C++/README.libstdc++-baseline
+ if [ -f $(buildlibdir)/libstdc++-v3/testsuite/current_symbols.txt ]; \
+ then \
+ cp -p $(buildlibdir)/libstdc++-v3/testsuite/current_symbols.txt \
+ $(d_dev)/$(docdir)/$(p_base)/C++/libstdc++_symbols.txt; \
+ fi
+endif
+ cp -p $(srcdir)/libstdc++-v3/config/linker-map.gnu \
+ $(d_pic)/$(gcc_lib_dir)/libstdc++_pic.map
+
+ifeq ($(with_cxxdev),yes)
+ debian/dh_rmemptydirs -p$(p_dev)
+ debian/dh_rmemptydirs -p$(p_pic)
+ debian/dh_rmemptydirs -p$(p_dbg)
+endif
+
+ dh_strip -p$(p_dev) -p$(p_pic)
+ dh_compress -p$(p_dev) -p$(p_pic) -p$(p_dbg) -X.txt
+ dh_fixperms -p$(p_dev) -p$(p_pic) -p$(p_dbg)
+ifeq ($(biarch),yes)
+ dh_shlibdeps -p$(p_dev) -p$(p_pic) -p$(p_dbg) -Xlib64
+else
+ dh_shlibdeps -p$(p_dev) -p$(p_pic) -p$(p_dbg) -Xlib32/debug
+endif
+ dh_gencontrol -p$(p_dev) -p$(p_pic) -p$(p_dbg) \
+ -- -v$(DEB_VERSION) $(common_substvars)
+
+ b=libstdc++; \
+ for ext in preinst postinst prerm postrm; do \
+ for t in -dev -dbg -pic; do \
+ v=$(CXX_SONAME); \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done; \
+ done
+
+ dh_installdeb -p$(p_dev) -p$(p_pic) -p$(p_dbg)
+ dh_md5sums -p$(p_dev) -p$(p_pic) -p$(p_dbg)
+ dh_builddeb -p$(p_dev) -p$(p_pic) -p$(p_dbg)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+
+doxygen_doc_dir = $(buildlibdir)/libstdc++-v3/docs/doxygen
+
+doxygen-docs: $(build_doxygen_stamp)
+$(build_doxygen_stamp):
+ rm -rf $(doxygen_doc_dir)/html*
+ $(MAKE) -C $(buildlibdir)/libstdc++-v3 SHELL=/bin/bash doxygen; \
+ $(MAKE) -C $(buildlibdir)/libstdc++-v3 SHELL=/bin/bash doxygen-man
+ if [ -f $(doxygen_doc_dir)/html_user/index.html ]; then \
+ sed -e 's,http://gcc\.gnu\.org/onlinedocs/libstdc++,../html,g' \
+ -e 's,Main Page,libstdc++-v3 Source: Main Index,' \
+ $(doxygen_doc_dir)/html_user/index.html \
+ > $(doxygen_doc_dir)/html_user/index.html.new; \
+ mv -f $(doxygen_doc_dir)/html_user/index.html.new \
+ $(doxygen_doc_dir)/html_user/index.html; \
+ else \
+ echo "unable to generate doxygen docs"; \
+ exit 2; \
+ fi
+ touch $@
+
+$(binary_stamp)-libstdcxx-doc: $(install_stamp) doxygen-docs
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_libd)
+ dh_installdirs -p$(p_libd) \
+ $(docdir)/$(p_base)/libstdc++ \
+ $(PF)/share/man
+
+# debian/dh_doclink -p$(p_libd) $(p_base)
+ dh_link -p$(p_libd) /usr/share/doc/$(p_base) /usr/share/doc/$(p_libd)
+ dh_installdocs -p$(p_libd)
+ rm -f $(d_libd)/$(docdir)/$(p_base)/copyright
+
+ cp -a $(srcdir)/libstdc++-v3/docs/html \
+ $(d_libd)/$(docdir)/$(p_base)/libstdc++/.
+ ln -sf documentation.html \
+ $(d_libd)/$(docdir)/$(p_base)/libstdc++/html/index.html
+ -find $(d_libd)/$(docdir)/$(p_base)/libstdc++/ -name CVS -type d \
+ | xargs rm -rf
+
+ cp -a $(doxygen_doc_dir)/html_user \
+ $(d_libd)/$(docdir)/$(p_base)/libstdc++/.
+ cp -a $(doxygen_doc_dir)/man/man3 \
+ $(d_libd)/$(PF)/share/man/.
+ cp -p $(srcdir)/libstdc++-v3/docs/doxygen/Intro.3 \
+ $(d_libd)/$(PF)/share/man/man3/C++Intro.3
+
+ mkdir -p $(d_libd)/usr/share/lintian/overrides
+ cp -p debian/$(p_libd).overrides \
+ $(d_libd)/usr/share/lintian/overrides/$(p_libd)
+
+ dh_compress -p$(p_libd) -Xhtml/17_intro -X.txt -X.tag
+ dh_fixperms -p$(p_libd)
+ dh_gencontrol -p$(p_libd) -- -v$(DEB_VERSION) $(common_substvars)
+
+ dh_installdeb -p$(p_libd)
+ dh_md5sums -p$(p_libd)
+ dh_builddeb -p$(p_libd)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-nof-cross.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-nof-cross.mk.svn-base
@@ -0,0 +1,46 @@
+arch_binaries := $(arch_binaries) nof
+
+p_nof = gcc$(pkg_arch)-nof
+d_nof = debian/$(p_nof)
+
+dirs_nof = \
+ $(docdir) \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib/nof
+ifeq ($(with_cdev),yes)
+ dirs_nof += \
+ $(gcc_lib_dir)/nof
+endif
+
+ifeq ($(with_cdev),yes)
+ files_nof = \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib/libgcc_s_nof.so.$(GCC_SONAME) \
+ $(gcc_lib_dir)/libgcc_s_nof.so \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib/nof \
+ $(gcc_lib_dir)/nof
+else
+ files_nof = \
+ lib/libgcc_s_nof.so.$(GCC_SONAME)
+endif
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-nof: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ ln -sf /$(PF)/$(DEB_TARGET_GNU_TYPE)/lib/libgcc_s_nof.so.$(GCC_SONAME) \
+ $(d)/$(gcc_lib_dir)/libgcc_s_nof.so
+
+ rm -rf $(d_nof)
+ dh_installdirs -p$(p_nof) $(dirs_nof)
+ DH_COMPAT=2 dh_movefiles -p$(p_nof) $(files_nof)
+ debian/dh_doclink -p$(p_nof) $(p_base)
+ dh_strip -p$(p_nof)
+ dh_compress -p$(p_nof)
+ dh_fixperms -p$(p_nof)
+ dh_gencontrol -p$(p_nof) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_nof)
+ dh_md5sums -p$(p_nof)
+ dh_builddeb -p$(p_nof)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/.svn/text-base/binary-cpp-cross.mk.svn-base
+++ gcc-3.4-3.4.6/debian/rules.d/.svn/text-base/binary-cpp-cross.mk.svn-base
@@ -0,0 +1,40 @@
+arch_binaries := $(arch_binaries) cpp
+
+dirs_cpp = \
+ $(docdir) \
+ $(PF)/share/man/man1 \
+ $(PF)/bin \
+ $(gcc_lexec_dir)
+
+files_cpp = \
+ $(PF)/bin/$(DEB_TARGET_GNU_TYPE)-cpp$(pkg_ver) \
+ $(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-cpp$(pkg_ver).1 \
+ $(gcc_lexec_dir)/cc1
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-cpp: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_cpp)
+ dh_installdirs -p$(p_cpp) $(dirs_cpp)
+ DH_COMPAT=2 dh_movefiles -p$(p_cpp) $(files_cpp)
+
+ debian/dh_doclink -p$(p_cpp) $(p_base)
+ debian/dh_rmemptydirs -p$(p_cpp)
+
+ dh_strip -p$(p_cpp)
+ dh_compress -p$(p_cpp)
+ dh_fixperms -p$(p_cpp)
+ dh_shlibdeps -p$(p_cpp)
+ dh_gencontrol -p$(p_cpp) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_cpp)
+ sed 's/cross-/$(TP)/g;s/-ver/$(pkg_ver)/g;s/gcc/cpp/g' < debian/gcc-cross.postinst > debian/$(p_cpp)/DEBIAN/postinst
+ sed 's/cross-/$(TP)/g;s/-ver/$(pkg_ver)/g;s/gcc/cpp/g' < debian/gcc-cross.prerm > debian/$(p_cpp)/DEBIAN/prerm
+ chmod 755 debian/$(p_cpp)/DEBIAN/{postinst,prerm}
+ dh_md5sums -p$(p_cpp)
+ dh_builddeb -p$(p_cpp)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-libgcc-cross.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-libgcc-cross.mk
@@ -0,0 +1,216 @@
+arch_binaries := $(arch_binaries) libgcc
+ifeq ($(with_lib64gcc),yes)
+ arch_binaries := $(arch_binaries) lib64gcc
+endif
+ifeq ($(biarch32),yes)
+ arch_binaries := $(arch_binaries) lib32gcc
+endif
+
+p_lgcc = libgcc$(GCC_SONAME)$(cross_lib_arch)
+d_lgcc = debian/$(p_lgcc)
+
+p_l64gcc = lib32gcc$(GCC_SONAME)$(cross_lib_arch)
+d_l64gcc = debian/$(p_l32gcc)
+
+p_l64gcc = lib64gcc$(GCC_SONAME)$(cross_lib_arch)
+d_l64gcc = debian/$(p_l64gcc)
+
+ifeq ($(with_shared_libgcc),yes)
+files_lgcc = \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib/libgcc_s.so.$(GCC_SONAME)
+files_l64gcc = \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib64/libgcc_s.so.$(GCC_SONAME)
+endif
+
+# ----------------------------------------------------------------------
+ifeq ($(DEB_TARGET_GNU_CPU),ia64)
+$(binary_stamp)-libgcc: $(install_dependencies) $(binary_stamp)-libunwind
+else
+$(binary_stamp)-libgcc: $(install_dependencies)
+endif
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lgcc)
+ dh_installdirs -p$(p_lgcc) \
+ $(docdir)/$(p_lgcc) \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib
+
+ifeq ($(with_shared_libgcc),yes)
+ DH_COMPAT=2 dh_movefiles -p$(p_lgcc) $(files_lgcc)
+endif
+
+ dh_installdocs -p$(p_lgcc)
+ dh_installchangelogs -p$(p_lgcc)
+
+ debian/dh_rmemptydirs -p$(p_lgcc)
+ifeq ($(with_shared_libgcc),yes)
+ ifeq ($(DEB_TARGET_GNU_CPU),ia64)
+ cp -a $(PWD)/$(d)-unwind/usr/lib/libunwind.so.* $(d_lgcc)/usr/$(DEB_TARGET_GNU_TYPE)/lib/
+ dh_makeshlibs -p$(p_lgcc) -V '$(p_lgcc) (>= 1:3.4.3-6)' -n
+ sed s/$(cross_lib_arch)//g < debian/$(p_lgcc)/DEBIAN/shlibs > debian/$(p_lgcc)/DEBIAN/shlibs.fixed
+ mv debian/$(p_lgcc)/DEBIAN/shlibs.fixed debian/$(p_lgcc)/DEBIAN/shlibs
+ touch debian/$(p_lgcc).substvars
+ ARCH=$(DEB_TARGET_ARCH) MAKEFLAGS="CC=something" dh_shlibdeps -p$(p_lgcc) -Xlibgcc_s
+ sed 's/\(lib[^ ]*\) /\1$(cross_lib_arch) /g' < debian/$(p_lgcc).substvars > debian/$(p_lgcc).substvars.new
+ mv debian/$(p_lgcc).substvars.new debian/$(p_lgcc).substvars
+ else
+ dh_makeshlibs -p$(p_lgcc) -V '$(p_lgcc) (>= $(DEB_LIBGCC_SOVERSION))' -n
+ sed s/$(cross_lib_arch)//g < debian/$(p_lgcc)/DEBIAN/shlibs > debian/$(p_lgcc)/DEBIAN/shlibs.fixed
+ mv debian/$(p_lgcc)/DEBIAN/shlibs.fixed debian/$(p_lgcc)/DEBIAN/shlibs
+ touch debian/$(p_lgcc).substvars
+ ARCH=$(DEB_TARGET_ARCH) MAKEFLAGS="CC=something" dh_shlibdeps -p$(p_lgcc)
+ sed 's/\(lib[^ ]*\) /\1$(cross_lib_arch) /g' < debian/$(p_lgcc).substvars > debian/$(p_lgcc).substvars.new
+ mv debian/$(p_lgcc).substvars.new debian/$(p_lgcc).substvars
+ endif
+ cat debian/$(p_lgcc)/DEBIAN/shlibs >> debian/shlibs.local
+endif
+ PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_lgcc)
+ dh_compress -p$(p_lgcc)
+ dh_fixperms -p$(p_lgcc)
+ dh_gencontrol -p$(p_lgcc) \
+ -- -v$(DEB_LIBGCC_VERSION) $(common_substvars)
+ b=libgcc; v=$(GCC_SONAME); \
+ for ext in preinst postinst prerm postrm; do \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done
+ dh_installdeb -p$(p_lgcc)
+ dh_md5sums -p$(p_lgcc)
+ dh_builddeb -p$(p_lgcc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-lib64gcc: $(install_dependencies)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_l64gcc)
+ dh_installdirs -p$(p_l64gcc) \
+ $(docdir)/$(p_l64gcc) \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib64
+
+ifeq ($(with_shared_libgcc),yes)
+ DH_COMPAT=2 dh_movefiles -p$(p_l64gcc) $(files_l64gcc)
+endif
+
+ dh_installdocs -p$(p_l64gcc)
+ dh_installchangelogs -p$(p_l64gcc)
+
+ debian/dh_rmemptydirs -p$(p_l64gcc)
+ PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_l64gcc)
+ dh_compress -p$(p_l64gcc)
+ dh_fixperms -p$(p_l64gcc)
+ifeq ($(with_shared_libgcc),yes)
+ dh_makeshlibs -p$(p_l64gcc) \
+ -V '$(p_l64gcc) (>= $(DEB_LIBGCC_SOVERSION))' -n
+ sed s/$(cross_lib_arch)//g < debian/$(p_l64gcc)/DEBIAN/shlibs > debian/$(p_l64gcc)/DEBIAN/shlibs.fixed
+ mv debian/$(p_l64gcc)/DEBIAN/shlibs.fixed debian/$(p_l64gcc)/DEBIAN/shlibs
+ cat debian/$(p_l64gcc)/DEBIAN/shlibs >> debian/shlibs.local
+endif
+ ARCH=$(DEB_TARGET_ARCH) MAKEFLAGS="CC=something" dh_shlibdeps -p$(p_l64gcc)
+ sed 's/\(lib[^ ]*\) /\1$(cross_lib_arch) /g' < debian/$(p_l64gcc).substvars > debian/$(p_l64gcc).substvars.new
+ mv debian/$(p_l64gcc).substvars.new debian/$(p_l64gcc).substvars
+ dh_gencontrol -p$(p_l64gcc) \
+ -- -v$(DEB_VERSION) $(common_substvars)
+ b=libgcc; v=$(GCC_SONAME); \
+ for ext in preinst postinst prerm postrm; do \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done
+ dh_installdeb -p$(p_l64gcc)
+ dh_md5sums -p$(p_l64gcc)
+ dh_builddeb -p$(p_l64gcc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+
+$(binary_stamp)-lib32gcc: $(install_dependencies)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_l32gcc)
+ dh_installdirs -p$(p_l32gcc) \
+ $(docdir)/$(p_l32gcc) \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib32
+
+ifeq ($(with_shared_libgcc),yes)
+ DH_COMPAT=2 dh_movefiles -p$(p_l32gcc) $(files_l32gcc)
+endif
+
+ dh_installdocs -p$(p_l32gcc)
+ dh_installchangelogs -p$(p_l32gcc)
+
+ debian/dh_rmemptydirs -p$(p_l32gcc)
+ PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_l32gcc)
+ dh_compress -p$(p_l32gcc)
+ dh_fixperms -p$(p_l32gcc)
+ifeq ($(with_shared_libgcc),yes)
+ dh_makeshlibs -p$(p_l32gcc) \
+ -V '$(p_l32gcc) (>= $(DEB_LIBGCC_SOVERSION))' -n
+ sed s/$(cross_lib_arch)//g < debian/$(p_l32gcc)/DEBIAN/shlibs > debian/$(p_l32gcc)/DEBIAN/shlibs.fixed
+ mv debian/$(p_l32gcc)/DEBIAN/shlibs.fixed debian/$(p_l32gcc)/DEBIAN/shlibs
+ cat debian/$(p_l32gcc)/DEBIAN/shlibs >> debian/shlibs.local
+endif
+ ARCH=$(DEB_TARGET_ARCH) MAKEFLAGS="CC=something" dh_shlibdeps -p$(p_l32gcc)
+ sed 's/\(lib[^ ]*\) /\1$(cross_lib_arch) /g' < debian/$(p_l32gcc).substvars > debian/$(p_l32gcc).substvars.new
+ mv debian/$(p_l32gcc).substvars.new debian/$(p_l32gcc).substvars
+ dh_gencontrol -p$(p_l32gcc) \
+ -- -v$(DEB_VERSION) $(common_substvars)
+ b=libgcc; v=$(GCC_SONAME); \
+ for ext in preinst postinst prerm postrm; do \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done
+ dh_installdeb -p$(p_l32gcc)
+ dh_md5sums -p$(p_l32gcc)
+ dh_builddeb -p$(p_l32gcc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+
+unwind_dir = libunwind-0.98.3
+xxx: $(binary_stamp)-libunwind
+$(binary_stamp)-libunwind:
+ rm -rf $(unwind_dir).tar.gz $(unwind_dir) $(d)-unwind
+ uudecode libunwind.uue
+ tar xfz $(unwind_dir).tar.gz
+
+ : Below are several hacks to allow cross-build of libunwind unless
+ : related bugs both at unwind side and at gcc side are fixed
+
+ : Put pre-built Gcursor_i.h and Lcursor_i.h into src/ ...
+ cp debian/cross-unwind/[GL]cursor_i.h $(unwind_dir)/src/
+ touch $(unwind_dir)/src/[GL]cursor_i.h
+
+ : ... and avoid rebuilding of those files
+ sed 's/\(@[GL]cursor_i.h\):/\1DISABLE:/g' $(unwind_dir)/src/Makefile.in > $(unwind_dir)/src/Makefile.in.tmp
+ mv -f $(unwind_dir)/src/Makefile.in.tmp $(unwind_dir)/src/Makefile.in
+
+ : also, alter configure to disable REMOTE_ONLY mode of libunwind
+ : that is turned on with target!=build
+ : /manually checked that the following regexp affects only this/
+ sed 's/test x\$$target_arch != x\$$build_arch/false/g' $(unwind_dir)/configure > $(unwind_dir)/configure.tmp
+ mv $(unwind_dir)/configure.tmp $(unwind_dir)/configure
+ chmod 755 $(unwind_dir)/configure
+
+ : also, patch iseveral files to ensure PATH_MAX is defined
+ : /limits.h does not include it because of some problem/
+ cd $(unwind_dir)/src && patch -p1 < ../../debian/cross-unwind/path_max.patch
+
+ cd $(unwind_dir) && CC="$(PWD)/build/gcc/xgcc -B$(PWD)/build/gcc/" ./configure \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --host=$(DEB_TARGET_GNU_TYPE) \
+ --prefix=/usr
+ $(MAKE) -C $(unwind_dir)
+ $(MAKE) -C $(unwind_dir) install DESTDIR=$(PWD)/$(d)-unwind
+ touch $(binary_stamp)-libunwind
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-ada.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-ada.mk
@@ -0,0 +1,196 @@
+arch_binaries := $(arch_binaries) ada
+ifneq ($(GFDL_INVARIANT_FREE),yes)
+ indep_binaries := $(indep_binaries) ada-doc
+endif
+
+ifeq ($(with_libgnat),yes)
+ arch_binaries := $(arch_binaries) libgnat
+endif
+
+p_gnat = gnat-$(GNAT_VERSION)
+p_lgnat = libgnat-$(GNAT_VERSION)
+p_gnatd = $(p_gnat)-doc
+
+d_gnat = debian/$(p_gnat)
+d_lgnat = debian/$(p_lgnat)
+d_gnatd = debian/$(p_gnatd)
+
+GNAT_TOOLS = gnat gnatbind gnatbl gnatchop gnatclean gnatfind gnatkr gnatlink \
+ gnatls gnatmake gnatname gnatprep gnatxref gpr2make gprcmd
+
+dirs_gnat = \
+ $(docdir)/$(p_base)/Ada \
+ $(PF)/bin \
+ $(PF)/share/man/man1 \
+ $(gcc_lib_dir) \
+ $(gcc_lexec_dir) \
+ $(PF)/$(libdir)/gnat
+
+files_gnat = \
+ $(PF)/share/gnat \
+ $(gcc_lexec_dir)/gnat1 \
+ $(gcc_lib_dir)/{adalib,adainclude} \
+ $(foreach i,$(GNAT_TOOLS),$(PF)/bin/$(i))
+
+# $(foreach i,$(GNAT_TOOLS),$(PF)/bin/$(i)-$(GNAT_VERSION))
+
+dirs_lgnat = \
+ $(docdir) \
+ $(PF)/lib
+files_lgnat = \
+ $(PF)/$(libdir)/lib{gnat,gnarl}-$(GNAT_VERSION).so.1
+
+update-ada-files:
+ cd $(builddir) && tar cfj ada-generated.tar.bz2 \
+ gcc/ada/{sinfo.h,einfo.h,nmake.ads,nmake.adb,treeprs.ads}
+ uuencode $(builddir)/ada-generated.tar.bz2 ada-generated.tar.bz2 \
+ > debian/patches/ada-generated.uue
+
+$(binary_stamp)-libgnat: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lgnat)
+ dh_installdirs -p$(p_lgnat) $(dirs_lgnat)
+
+ for lib in lib{gnat,gnarl}; do \
+ vlib=$$lib-$(GNAT_VERSION); \
+ mv $(d)/$(gcc_lib_dir)/adalib/$$vlib.so.1 $(d)/$(PF)/$(libdir)/. ; \
+ rm -f $(d)/$(gcc_lib_dir)/adalib/$$lib.so.1; \
+ done
+
+ DH_COMPAT=2 dh_movefiles -p$(p_lgnat) $(files_lgnat)
+
+ debian/dh_doclink -p$(p_lgnat) $(p_base)
+
+ debian/dh_rmemptydirs -p$(p_lgnat)
+
+ dh_strip -p$(p_lgnat)
+ dh_compress -p$(p_lgnat)
+ dh_fixperms -p$(p_lgnat)
+ b=libgnat; \
+ for ext in preinst postinst prerm postrm; do \
+ for t in '' -dev -dbg; do \
+ v=$(GNAT_VERSION); \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done; \
+ done
+
+ dh_makeshlibs -p$(p_lgnat) -V '$(p_lgnat) (>= $(DEB_SOVERSION))'
+ cat debian/$(p_lgnat)/DEBIAN/shlibs >> debian/shlibs.local
+
+ mkdir -p debian/$(p_lgnat)/usr/share/lintian/overrides
+ cp -p debian/$(p_lgnat).overrides \
+ debian/$(p_lgnat)/usr/share/lintian/overrides/$(p_lgnat)
+
+ dh_shlibdeps -p$(p_lgnat)
+ dh_gencontrol -p$(p_lgnat) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_lgnat)
+ dh_md5sums -p$(p_lgnat)
+ dh_builddeb -p$(p_lgnat)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+ifeq ($(with_libgnat),yes)
+$(binary_stamp)-ada: $(install_stamp) $(binary_stamp)-libgnat
+else
+$(binary_stamp)-ada: $(install_stamp)
+endif
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_gnat)
+ dh_installdirs -p$(p_gnat) $(dirs_gnat)
+
+ DH_COMPAT=2 dh_movefiles -p$(p_gnat) $(files_gnat)
+
+ifeq ($(with_libgnat),yes)
+ for lib in lib{gnat,gnarl}; do \
+ vlib=$$lib-$(GNAT_VERSION); \
+ dh_link -p$(p_gnat) \
+ /$(PF)/$(libdir)/$$vlib.so.1 /$(gcc_lib_dir)/adalib/$$vlib.so \
+ /$(PF)/$(libdir)/$$vlib.so.1 /$(gcc_lib_dir)/adalib/$$lib.so; \
+ done
+endif
+
+ debian/dh_doclink -p$(p_gnat) $(p_base)
+
+ cp -p $(srcdir)/gcc/ada/ChangeLog \
+ $(d_gnat)/$(docdir)/$(p_base)/Ada/changelog
+
+ for i in $(GNAT_TOOLS); do \
+ case "$$i" in \
+ gnat) cp -p debian/gnat.1 $(d_gnat)/$(PF)/share/man/man1/ ;; \
+ *) ln -sf gnat.1 $(d_gnat)/$(PF)/share/man/man1/$$i.1; \
+ esac; \
+ done
+
+ ln -sf gcc$(pkg_ver) $(d_gnat)/$(PF)/bin/gnatgcc
+ ln -sf gcc$(pkg_ver).1.gz $(d_gnat)/$(PF)/share/man/man1/gnatgcc.1.gz
+
+ mkdir -p $(d_gnat)/usr/share/lintian/overrides
+ cp -p debian/$(p_gnat).overrides \
+ $(d_gnat)/usr/share/lintian/overrides/$(p_gnat)
+
+ debian/dh_rmemptydirs -p$(p_gnat)
+
+ dh_strip -p$(p_gnat)
+ dh_compress -p$(p_gnat)
+ dh_fixperms -p$(p_gnat)
+ifeq ($(with_libgnat),yes)
+ dh_shlibdeps -p$(p_gnat) -L $(p_lgnat) -l $(d_lgnat)/$(PF)/$(libdir)
+else
+ dh_shlibdeps -p$(p_gnat)
+endif
+ perl -pi -e 's/, *libgnat[^,]*//' debian/$(p_gnat).substvars
+ dh_gencontrol -p$(p_gnat) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_gnat)
+ dh_md5sums -p$(p_gnat)
+ dh_builddeb -p$(p_gnat)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+
+ada_info_dir = $(d_gnatd)/$(PF)/share/info
+
+$(binary_stamp)-ada-doc: $(build_html_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_gnatd)
+ dh_installdirs -p$(p_gnatd) \
+ $(docdir)/$(p_base)/Ada \
+ $(PF)/share/info
+
+ cd $(ada_info_dir) && \
+ makeinfo -I $(srcdir)/gcc/doc/include -I $(srcdir)/gcc/ada \
+ -o gnat_ugn_unw-$(GNAT_VERSION).info \
+ $(builddir)/gcc/doc/gnat_ugn_unw.texi
+ cd $(ada_info_dir) && \
+ makeinfo -I $(srcdir)/gcc/doc/include -I $(srcdir)/gcc/ada \
+ -o gnat_rm-$(GNAT_VERSION).info \
+ $(srcdir)/gcc/ada/gnat_rm.texi
+ cd $(ada_info_dir) && \
+ makeinfo -I $(srcdir)/gcc/doc/include -I $(srcdir)/gcc/ada \
+ -o gnat-style-$(GNAT_VERSION).info \
+ $(srcdir)/gcc/ada/gnat-style.texi
+
+ debian/dh_doclink -p$(p_gnatd) $(p_base)
+ dh_installdocs -p$(p_gnatd)
+ rm -f $(d_gnatd)/$(docdir)/$(p_base)/copyright
+ cp -p html/gnat_ugn_unw.html html/gnat_rm.html html/gnat-style.html \
+ $(d_gnatd)/$(docdir)/$(p_base)/Ada/
+
+ dh_compress -p$(p_gnatd)
+ dh_fixperms -p$(p_gnatd)
+ dh_installdeb -p$(p_gnatd)
+ dh_gencontrol -p$(p_gnatd) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_md5sums -p$(p_gnatd)
+ dh_builddeb -p$(p_gnatd)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-cxx-cross.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-cxx-cross.mk
@@ -0,0 +1,42 @@
+arch_binaries := $(arch_binaries) cxx
+
+dirs_cxx = \
+ $(docdir) \
+ $(PF)/bin \
+ $(gcc_lib_dir) \
+ $(PF)/share/man/man1
+files_cxx = \
+ $(PF)/bin/$(DEB_TARGET_GNU_TYPE)-g++$(pkg_ver) \
+ $(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-g++$(pkg_ver).1 \
+ $(gcc_lib_dir)/cc1plus
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-cxx: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_cxx)
+ dh_installdirs -p$(p_cxx) $(dirs_cxx)
+ DH_COMPAT=2 dh_movefiles -p$(p_cxx) $(files_cxx)
+# g++ man page is a .so link
+ rm -f $(d_cxx)/$(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-g++$(pkg_ver).1
+ ln -sf $(DEB_TARGET_GNU_TYPE)-gcc$(pkg_ver).1.gz \
+ $(d_cxx)/$(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-g++$(pkg_ver).1.gz
+
+ debian/dh_doclink -p$(p_cxx) $(p_base)
+ debian/dh_rmemptydirs -p$(p_cxx)
+
+ dh_strip -p$(p_cxx)
+ dh_compress -p$(p_cxx)
+ dh_fixperms -p$(p_cxx)
+ dh_shlibdeps -p$(p_cxx)
+ dh_gencontrol -p$(p_cxx) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_cxx)
+ sed 's/cross-/$(TP)/g;s/-ver/$(pkg_ver)/g;s/gcc/g++/g' < debian/gcc-cross.postinst > debian/$(p_cxx)/DEBIAN/postinst
+ sed 's/cross-/$(TP)/g;s/-ver/$(pkg_ver)/g;s/gcc/g++/g' < debian/gcc-cross.prerm > debian/$(p_cxx)/DEBIAN/prerm
+ chmod 755 debian/$(p_cxx)/DEBIAN/{postinst,prerm}
+ dh_md5sums -p$(p_cxx)
+ dh_builddeb -p$(p_cxx)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-cross.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-cross.mk
@@ -0,0 +1,57 @@
+arch_binaries := $(arch_binaries) gcc-cross
+
+dirs_gcc = \
+ $(docdir)/$(p_base)/gcc \
+ $(PF)/bin \
+ $(gcc_lib_dir)/include \
+ $(PF)/share/man/man1
+
+files_gcc = \
+ $(PF)/bin/{$(GCC_TARGET)-linux-gcc,$(GCC_TARGET)-linux-cpp}$(pkg_ver) \
+ $(PF)/share/man/man1/{$(GCC_TARGET)-linux-gcc}$(pkg_ver).1 \
+ $(gcc_lib_dir) \
+
+
+files_gcc += \
+ $(shell test -e $(d)/$(gcc_lib_dir)/SYSCALLS.c.X \
+ && echo $(gcc_lib_dir)/SYSCALLS.c.X)
+
+usr_doc_files = debian/README.Bugs \
+ $(shell test -f $(srcdir)/FAQ && echo $(srcdir)/FAQ)
+ifeq ($(with_check),yes)
+ usr_doc_files += test-summary
+endif
+ifeq ($(DEB_HOST_ARCH),sparc)
+ usr_doc_files += debian/README.sparc
+endif
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-gcc-cross: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ rm -rf $(d_gcc)
+ dh_installdirs -p$(p_gcc) $(dirs_gcc)
+ $(IS) debian/c89 $(d)/$(PF)/bin/
+ $(IR) debian/c89.1 $(d)/$(PF)/share/man/man1/
+
+ rm -f $(d)/$(PF)/$(libdir)/libgcc_s.so
+ ln -sf /$(libdir)/libgcc_s.so.$(GCC_SONAME) $(d)/$(gcc_lib_dir)/libgcc_s.so
+
+ DH_COMPAT=2 dh_movefiles -p$(p_gcc) $(files_gcc)
+
+# dh_installdebconf
+ debian/dh_doclink -p$(p_gcc) $(p_base)
+ cp -p $(usr_doc_files) $(d_gcc)/$(docdir)/$(p_base)/.
+ cp -p debian/NEWS.gcc $(d_gcc)/$(docdir)/$(p_base)/NEWS
+ dh_undocumented -p$(p_gcc) gccbug$(pkg_ver).1
+ debian/dh_rmemptydirs -p$(p_gcc)
+ dh_strip -p$(p_gcc)
+ dh_compress -p$(p_gcc)
+ dh_fixperms -p$(p_gcc)
+ dh_shlibdeps -p$(p_gcc)
+ dh_gencontrol -p$(p_gcc) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_gcc)
+ dh_md5sums -p$(p_gcc)
+ dh_builddeb -p$(p_gcc)
+ touch $@
+
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-fastjar.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-fastjar.mk
@@ -0,0 +1,54 @@
+arch_binaries := $(arch_binaries) fastjar
+
+p_jar = fastjar
+d_jar = debian/$(p_jar)
+
+dirs_jar = \
+ $(docdir)/$(p_jar) \
+ $(PF)/bin \
+ $(PF)/share/man/man1 \
+ $(PF)/share/info
+
+files_jar = \
+ $(PF)/bin/{fastjar,grepjar} \
+ $(PF)/share/man/man1/{fastjar,grepjar}.1 \
+ $(PF)/share/info/fastjar.info
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-fastjar: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_jar)
+ dh_installdirs -p$(p_jar) $(dirs_jar)
+
+ifeq ($(versioned_packages),yes)
+ : # rename versioned files back to unversioned ones.
+ for i in jar grepjar; do \
+ mv $(d)/$(PF)/bin/$$i$(pkg_ver) $(d)/$(PF)/bin/$$i; \
+ mv $(d)/$(PF)/share/man/man1/$$i$(pkg_ver).1 \
+ $(d)/$(PF)/share/man/man1/$$i.1; \
+ done
+endif
+
+ mv $(d)/$(PF)/bin/jar $(d)/$(PF)/bin/fastjar
+ mv $(d)/$(PF)/share/man/man1/jar.1 $(d)/$(PF)/share/man/man1/fastjar.1
+
+ DH_COMPAT=2 dh_movefiles -p$(p_jar) $(files_jar)
+
+ dh_installdocs -p$(p_jar) $(srcdir)/fastjar/{CHANGES,NEWS,README}
+ dh_installchangelogs -p$(p_jar) $(srcdir)/fastjar/ChangeLog
+
+ debian/dh_rmemptydirs -p$(p_jar)
+
+ dh_strip -p$(p_jar)
+ dh_compress -p$(p_jar)
+ dh_fixperms -p$(p_jar)
+ dh_shlibdeps -p$(p_jar)
+ dh_gencontrol -p$(p_jar) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_jar)
+ dh_md5sums -p$(p_jar)
+ dh_builddeb -p$(p_jar)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-libstdcxx-cross.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-libstdcxx-cross.mk
@@ -0,0 +1,243 @@
+ifeq ($(with_libcxx),yes)
+ arch_binaries := $(arch_binaries) libstdcxx
+endif
+ifeq ($(with_lib64cxx),yes)
+ arch_binaries := $(arch_binaries) lib64stdcxx
+endif
+ifeq ($(biarch_ia32),yes)
+ arch_binaries := $(arch_binaries) lib32stdcxx
+endif
+
+ifeq ($(with_cxxdev),yes)
+ arch_binaries := $(arch_binaries) libstdcxx-dev
+endif
+
+p_lib = libstdc++$(CXX_SONAME)$(cross_lib_arch)
+p_dev = $(p_lib:%$(cross_lib_arch)=%-dev$(cross_lib_arch))
+p_pic = $(p_lib:%$(cross_lib_arch)=%-pic$(cross_lib_arch))
+p_dbg = $(p_lib:%$(cross_lib_arch)=%-dbg$(cross_lib_arch))
+p_lib64 = lib64stdc++$(CXX_SONAME)$(cross_lib_arch)
+p_lib32 = lib32stdc++$(CXX_SONAME)$(cross_lib_arch)
+
+d_lib = debian/$(p_lib)
+d_lib64 = debian/$(p_lib64)
+d_lib32 = debian/$(p_lib32)
+d_dev = debian/$(p_dev)
+d_pic = debian/$(p_pic)
+d_dbg = debian/$(p_dbg)
+
+dirs_lib = \
+ $(docdir) \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib
+
+dirs_lib64 = \
+ $(docdir) \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib64
+
+files_lib = \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib/libstdc++.so.*
+
+files_lib64 = \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib64/libstdc++.so.*
+
+dirs_dev = \
+ $(docdir)/$(p_lib) \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib \
+ $(gcc_lib_dir)/include \
+ $(cxx_inc_dir)
+
+files_dev = \
+ $(cxx_inc_dir)/ \
+ $(gcc_lib_dir)/libstdc++.{a,so} \
+ $(gcc_lib_dir)/libsupc++.a
+# Not yet...
+# $(PF)/$(libdir)/lib{supc,stdc}++.la
+
+dirs_dbg = \
+ $(docdir) \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib/debug \
+ $(gcc_lib_dir)
+files_dbg = \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib/debug/libstdc++.*
+
+dirs_pic = \
+ $(docdir) \
+ $(gcc_lib_dir)
+files_pic = \
+ $(gcc_lib_dir)/libstdc++_pic.a
+
+ifeq ($(with_lib64cxx),yes)
+ dirs_dev += $(gcc_lib_dir)/64/
+ files_dev += $(gcc_lib_dir)/64/libstdc++.{a,so} \
+ $(gcc_lib_dir)/64/libsupc++.a
+ dirs_dbg += $(PF)/$(DEB_TARGET_GNU_TYPE)/lib64/debug
+ files_dbg += $(PF)/$(DEB_TARGET_GNU_TYPE)/lib64/debug/libstdc++.*
+ dirs_pic += $(gcc_lib_dir)
+ files_pic += $(gcc_lib_dir)/64/libstdc++_pic.a
+endif
+
+# ----------------------------------------------------------------------
+
+$(binary_stamp)-libstdcxx: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lib)
+ dh_installdirs -p$(p_lib) $(dirs_lib)
+ DH_COMPAT=2 dh_movefiles -p$(p_lib) $(files_lib)
+
+ dh_installdocs -p$(p_lib)
+ echo "See /$(docdir)/$(p_base) for more information" \
+ > $(d_lib)/$(docdir)/$(p_lib)/README.Debian
+
+ dh_installchangelogs -p$(p_lib)
+ debian/dh_rmemptydirs -p$(p_lib)
+
+ PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_lib)
+ dh_compress -p$(p_lib)
+ dh_fixperms -p$(p_lib)
+ dh_makeshlibs -p$(p_lib) -V '$(p_lib) (>= $(DEB_STDCXX_SOVERSION))' -n
+ sed s/$(cross_lib_arch)//g < debian/$(p_lib)/DEBIAN/shlibs > debian/$(p_lib)/DEBIAN/shlibs.fixed
+ mv debian/$(p_lib)/DEBIAN/shlibs.fixed debian/$(p_lib)/DEBIAN/shlibs
+ ARCH=$(DEB_TARGET_ARCH) MAKEFLAGS="CC=something" dh_shlibdeps -p$(p_lib)
+ sed 's/\(lib[^ ]*\) /\1$(cross_lib_arch) /g' < debian/$(p_lib).substvars > debian/$(p_lib).substvars.new
+ mv debian/$(p_lib).substvars.new debian/$(p_lib).substvars
+ dh_gencontrol -p$(p_lib) -- -v$(DEB_VERSION) $(common_substvars)
+
+ dh_installdeb -p$(p_lib)
+ dh_md5sums -p$(p_lib)
+ dh_builddeb -p$(p_lib)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+
+$(binary_stamp)-lib64stdcxx: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lib64)
+ dh_installdirs -p$(p_lib64) $(dirs_lib64)
+ DH_COMPAT=2 dh_movefiles -p$(p_lib64) $(files_lib64)
+
+ dh_installdocs -p$(p_lib64)
+ echo "See /$(docdir)/$(p_base) for more information" \
+ > $(d_lib64)/$(docdir)/$(p_lib64)/README.Debian
+
+ dh_installchangelogs -p$(p_lib64)
+ debian/dh_rmemptydirs -p$(p_lib64)
+
+ PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_lib64)
+ dh_compress -p$(p_lib64)
+ dh_fixperms -p$(p_lib64)
+ dh_makeshlibs -p$(p_lib64) -V '$(p_lib64) (>= $(DEB_STDCXX_SOVERSION))' -n
+ sed s/$(cross_lib_arch)//g < debian/$(p_lib64)/DEBIAN/shlibs > debian/$(p_lib64)/DEBIAN/shlibs.fixed
+ mv debian/$(p_lib64)/DEBIAN/shlibs.fixed debian/$(p_lib64)/DEBIAN/shlibs
+ ARCH=$(DEB_TARGET_ARCH) MAKEFLAGS="CC=something" dh_shlibdeps -p$(p_lib64)
+ sed 's/\(lib[^ ]*\) /\1$(cross_lib_arch) /g' < debian/$(p_lib64).substvars > debian/$(p_lib64).substvars.new
+ mv debian/$(p_lib64).substvars.new debian/$(p_lib64).substvars
+ dh_gencontrol -p$(p_lib64) -- -v$(DEB_VERSION) $(common_substvars)
+
+ dh_installdeb -p$(p_lib64)
+ dh_md5sums -p$(p_lib64)
+ dh_builddeb -p$(p_lib64)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+
+$(binary_stamp)-lib32stdcxx: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lib32)
+ dh_installdirs -p$(p_lib32) $(dirs_lib32)
+ DH_COMPAT=2 dh_movefiles -p$(p_lib32) $(files_lib32)
+
+ dh_installdocs -p$(p_lib32)
+ echo "See /$(docdir)/$(p_base) for more information" \
+ > $(d_lib32)/$(docdir)/$(p_lib32)/README.Debian
+
+ dh_installchangelogs -p$(p_lib32)
+ debian/dh_rmemptydirs -p$(p_lib32)
+
+ PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_lib32)
+ dh_compress -p$(p_lib32)
+ dh_fixperms -p$(p_lib32)
+ dh_makeshlibs -p$(p_lib32) -V '$(p_lib32) (>= $(DEB_STDCXX_SOVERSION))' -n
+ sed s/$(cross_lib_arch)//g < debian/$(p_lib32)/DEBIAN/shlibs > debian/$(p_lib32)/DEBIAN/shlibs.fixed
+ mv debian/$(p_lib32)/DEBIAN/shlibs.fixed debian/$(p_lib32)/DEBIAN/shlibs
+ ARCH=$(DEB_TARGET_ARCH) MAKEFLAGS="CC=something" dh_shlibdeps -p$(p_lib32)
+ sed 's/\(lib[^ ]*\) /\1$(cross_lib_arch) /g' < debian/$(p_lib32).substvars > debian/$(p_lib32).substvars.new
+ mv debian/$(p_lib32).substvars.new debian/$(p_lib32).substvars
+ dh_gencontrol -p$(p_lib32) -- -v$(DEB_VERSION) $(common_substvars)
+
+ dh_installdeb -p$(p_lib32)
+ dh_md5sums -p$(p_lib32)
+ dh_builddeb -p$(p_lib32)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-libstdcxx-dev: $(install_stamp) \
+ $(binary_stamp)-libstdcxx
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_dev) $(d_pic)
+ dh_installdirs -p$(p_dev) $(dirs_dev)
+ dh_installdirs -p$(p_pic) $(dirs_pic)
+ dh_installdirs -p$(p_dbg) $(dirs_dbg)
+
+ : # - correct libstdc++-v3 file locations
+ mv $(d)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib/libsupc++.a $(d)/$(gcc_lib_dir)/
+ mv $(d)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib/libstdc++.{a,so} $(d)/$(gcc_lib_dir)/
+ ln -sf ../../../../$(DEB_TARGET_GNU_TYPE)/lib/libstdc++.so.$(CXX_SONAME) $(d)/$(gcc_lib_dir)/libstdc++.so
+ mv $(d)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib/libstdc++_pic.a \
+ $(d)/$(gcc_lib_dir)/
+
+ rm -f $(d)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib/debug/libstdc++_pic.a
+ rm -f $(d)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib64/debug/libstdc++_pic.a
+
+ : # remove precompiled headers
+ -find $(d) -type d -name '*.gch' | xargs rm -rf
+
+ifeq ($(with_lib64cxx),yes)
+ mv $(d)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib64/lib*c++*.a $(d)/$(gcc_lib_dir)/64/.
+ ln -sf ../../../../../lib64/libstdc++.so.$(CXX_SONAME) \
+ $(d)/$(gcc_lib_dir)/64/libstdc++.so
+endif
+
+ DH_COMPAT=2 dh_movefiles -p$(p_dev) $(files_dev)
+ DH_COMPAT=2 dh_movefiles -p$(p_pic) $(files_pic)
+ DH_COMPAT=2 dh_movefiles -p$(p_dbg) $(files_dbg)
+
+ debian/dh_doclink -p$(p_dev) $(p_lib)
+ debian/dh_doclink -p$(p_pic) $(p_lib)
+ debian/dh_doclink -p$(p_dbg) $(p_lib)
+ cp -p $(srcdir)/libstdc++-v3/ChangeLog \
+ $(d_dev)/usr/share/doc/$(p_lib)/changelog
+ cp -p $(srcdir)/libstdc++-v3/config/linker-map.gnu \
+ $(d_pic)/$(gcc_lib_dir)/libstdc++_pic.map
+
+ifeq ($(with_cxxdev),yes)
+ debian/dh_rmemptydirs -p$(p_dev)
+ debian/dh_rmemptydirs -p$(p_pic)
+ debian/dh_rmemptydirs -p$(p_dbg)
+endif
+
+ PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_dev) -p$(p_pic)
+ dh_compress -p$(p_dev) -p$(p_pic) -p$(p_dbg) -X.txt
+ dh_fixperms -p$(p_dev) -p$(p_pic) -p$(p_dbg)
+ dh_gencontrol -p$(p_dev) -p$(p_pic) -p$(p_dbg) \
+ -- -v$(DEB_VERSION) $(common_substvars)
+
+ dh_installdeb -p$(p_dev) -p$(p_pic) -p$(p_dbg)
+ dh_md5sums -p$(p_dev) -p$(p_pic) -p$(p_dbg)
+ dh_builddeb -p$(p_dev) -p$(p_pic) -p$(p_dbg)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-gcc.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-gcc.mk
@@ -0,0 +1,183 @@
+arch_binaries := $(arch_binaries) gcc
+ifneq ($(GFDL_INVARIANT_FREE),yes)
+ indep_binaries := $(indep_binaries) gcc-doc
+endif
+
+# gcc must be moved after g77 and g++
+# not all files $(PF)/include/*.h are part of gcc,
+# but it becomes difficult to name all these files ...
+
+dirs_gcc = \
+ $(docdir)/$(p_base)/gcc \
+ $(PF)/bin \
+ $(gcc_lexec_dir) \
+ $(gcc_lib_dir)/include \
+ $(PF)/share/man/man1 $(libdir)
+
+files_gcc = \
+ $(PF)/bin/{gcc,gcov,gccbug}$(pkg_ver) \
+ $(PF)/share/man/man1/{gcc,gcov,gccbug}$(pkg_ver).1 \
+ $(gcc_lexec_dir)/collect2 \
+ $(gcc_lib_dir)/{specs,libgcc*,libgcov.a,*.o} \
+ $(gcc_lib_dir)/include/README \
+ $(gcc_lib_dir)/include/{float,iso646,limits,std*,syslimits,unwind,varargs}.h \
+ $(shell for d in asm bits gnu linux; do \
+ test -e $(d)/$(gcc_lib_dir)/include/$$d \
+ && echo $(gcc_lib_dir)/include/$$d; \
+ done)
+
+ifeq ($(biarch),yes)
+ files_gcc += $(gcc_lib_dir)/64/{libgcc*,libgcov.a,*.o}
+endif
+ifeq ($(biarch32),yes)
+ files_gcc += $(gcc_lib_dir)/32/{libgcc*,*.o}
+endif
+
+ifeq ($(with_nls),yes)
+ files_gcc += $(PF)/share/locale/*/*/gcc*.*
+endif
+
+files_gcc += \
+ $(shell test -e $(d)/$(gcc_lib_dir)/SYSCALLS.c.X \
+ && echo $(gcc_lib_dir)/SYSCALLS.c.X)
+
+ifeq ($(DEB_HOST_ARCH),ia64)
+ files_gcc += $(gcc_lib_dir)/include/ia64intrin.h
+endif
+
+ifeq ($(DEB_HOST_ARCH),i386)
+ files_gcc += $(gcc_lib_dir)/include/{,e,p,x}mmintrin.h
+endif
+ifeq ($(DEB_HOST_ARCH),amd64)
+ files_gcc += $(gcc_lib_dir)/include/{,e,p,x}mmintrin.h
+endif
+
+ifeq ($(DEB_HOST_ARCH),kfreebsd-i386)
+ files_gcc += $(gcc_lib_dir)/include/{,e,p,x}mmintrin.h
+endif
+
+ifeq ($(DEB_HOST_ARCH),hurd-i386)
+ files_gcc += $(gcc_lib_dir)/include/{,e,p,x}mmintrin.h
+endif
+
+ifeq ($(DEB_HOST_ARCH),m68k)
+ files_gcc += $(gcc_lib_dir)/include/math-68881.h
+endif
+
+ifeq ($(DEB_HOST_ARCH),powerpc)
+ files_gcc += $(gcc_lib_dir)/include/{altivec.h,ppc-asm.h}
+endif
+
+usr_doc_files = debian/README.Bugs \
+ $(shell test -f $(srcdir)/FAQ && echo $(srcdir)/FAQ)
+ifeq ($(with_check),yes)
+ usr_doc_files += test-summary
+endif
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-gcc: $(install_dependencies)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_gcc)
+ dh_installdirs -p$(p_gcc) $(dirs_gcc)
+
+ rm -f $(d)/$(PF)/$(libdir)/libgcc_s.so
+ ln -sf /$(libdir)/libgcc_s.so.$(GCC_SONAME) $(d)/$(gcc_lib_dir)/libgcc_s.so
+ifeq ($(biarch),yes)
+ rm -f $(d)/$(PF)/$(lib64)/libgcc_s.so
+ dh_link -p$(p_gcc) \
+ /$(lib64)/libgcc_s.so.$(GCC_SONAME) $(gcc_lib_dir)/libgcc_s_64.so \
+ /$(lib64)/libgcc_s.so.$(GCC_SONAME) $(gcc_lib_dir)/64/libgcc_s_64.so \
+ /$(lib64)/libgcc_s.so.$(GCC_SONAME) $(gcc_lib_dir)/64/libgcc_s.so
+endif
+ifeq ($(biarch32),yes)
+ mkdir -p $(d_gcc)/$(gcc_lib_dir)
+ mv $(d)/$(gcc_lib_dir)/32 $(d_gcc)/$(gcc_lib_dir)/
+ dh_link -p$(p_gcc) \
+ /$(lib32)/libgcc_s.so.$(GCC_SONAME) /$(gcc_lib_dir)/libgcc_s_32.so \
+ /$(lib32)/libgcc_s.so.$(GCC_SONAME) /$(gcc_lib_dir)/32/libgcc_s_32.so \
+ /$(lib32)/libgcc_s.so.$(GCC_SONAME) /$(gcc_lib_dir)/32/libgcc_s.so
+endif
+ cp -p debian/gccbug.1 $(d)/$(PF)/share/man/man1/gccbug$(pkg_ver).1
+
+ DH_COMPAT=2 dh_movefiles -p$(p_gcc) $(files_gcc)
+
+ ln -sf gcc$(pkg_ver) \
+ $(d_gcc)/$(PF)/bin/$(DEB_TARGET_GNU_TYPE)-gcc$(pkg_ver)
+ ln -sf gcc$(pkg_ver).1 \
+ $(d_gcc)/$(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-gcc$(pkg_ver).1
+ ln -sf gcc$(pkg_ver) \
+ $(d_gcc)/$(PF)/bin/$(TARGET_ALIAS)-gcc$(pkg_ver)
+ ln -sf gcc$(pkg_ver).1 \
+ $(d_gcc)/$(PF)/share/man/man1/$(TARGET_ALIAS)-gcc$(pkg_ver).1
+
+# dh_installdebconf
+ debian/dh_doclink -p$(p_gcc) $(p_base)
+ cp -p $(usr_doc_files) $(d_gcc)/$(docdir)/$(p_base)/.
+ if [ -f testsuite-comparision ]; then \
+ cp -p testsuite-comparision $(d_gcc)/$(docdir)/$(p_base)/. ; \
+ fi
+ cp -p debian/NEWS.gcc $(d_gcc)/$(docdir)/$(p_base)/NEWS
+ cp -p debian/NEWS.html $(d_gcc)/$(docdir)/$(p_base)/NEWS.html
+ cp -p $(srcdir)/gcc/ChangeLog \
+ $(d_gcc)/$(docdir)/$(p_base)/gcc/changelog
+ if [ -f $(builddir)/gcc/.bad_compare ]; then \
+ ( \
+ echo "The comparision of the stage2 and stage3 object files shows differences."; \
+ echo "The Debian package was modified to ignore these differences."; \
+ echo ""; \
+ echo "The following files differ:"; \
+ echo ""; \
+ cat $(builddir)/gcc/.bad_compare; \
+ ) > $(d_gcc)/$(docdir)/$(p_base)/BOOTSTRAP_COMPARISION_FAILURE; \
+ else \
+ true; \
+ fi
+ debian/dh_rmemptydirs -p$(p_gcc)
+ dh_strip -p$(p_gcc)
+ dh_compress -p$(p_gcc) -X README.Bugs
+ dh_fixperms -p$(p_gcc)
+ dh_shlibdeps -p$(p_gcc)
+ dh_gencontrol -p$(p_gcc) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_gcc)
+ dh_md5sums -p$(p_gcc)
+ dh_builddeb -p$(p_gcc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+ : # remove empty directories, when all components are in place
+ for d in `find $(d) -depth -type d -empty 2> /dev/null`; do \
+ while rmdir $$d 2> /dev/null; do d=`dirname $$d`; done; \
+ done
+
+ @echo "Listing installed files not included in any package:"
+ -find $(d) ! -type d
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-gcc-doc: $(build_html_stamp) $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_doc)
+ dh_installdirs -p$(p_doc) \
+ $(docdir)/$(p_base) \
+ $(PF)/share/info
+ DH_COMPAT=2 dh_movefiles -p$(p_doc) \
+ $(PF)/share/info/gcc*
+
+ debian/dh_doclink -p$(p_doc) $(p_base)
+ dh_installdocs -p$(p_doc) html/gcc.html html/gccint.html
+ rm -f $(d_doc)/$(docdir)/$(p_base)/copyright
+ debian/dh_rmemptydirs -p$(p_doc)
+
+ dh_compress -p$(p_doc)
+ dh_fixperms -p$(p_doc)
+ dh_installdeb -p$(p_doc)
+ dh_gencontrol -p$(p_doc) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_md5sums -p$(p_doc)
+ dh_builddeb -p$(p_doc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-fixincl.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-fixincl.mk
@@ -0,0 +1,47 @@
+arch_binaries := $(arch_binaries) fixincl
+
+p_fix = fixincludes
+d_fix = debian/$(p_fix)
+
+dirs_fix = \
+ $(docdir)/$(p_base)/fixincludes \
+ $(PF)/share/man/man1 \
+ $(PF)/bin \
+ $(gcc_lexec_dir) \
+ $(gcc_lib_dir)
+files_fix = \
+ $(gcc_lexec_dir)/install-tools \
+ $(gcc_lib_dir)/install-tools
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-fixincl: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_fix)
+ dh_installdirs -p$(p_fix) $(dirs_fix)
+ DH_COMPAT=2 dh_movefiles -p$(p_fix) $(files_fix)
+
+# $(IP) $(builddir)/gcc/fixinc/fixincl $(d_fix)/$(PF)/lib/fixincludes/
+# sed -e "s,^FIXINCL=\(.*\),FIXINCL=/$(PF)/lib/fixincludes/fixincl," \
+# $(builddir)/gcc/fixinc.sh \
+# > $(d_fix)/$(PF)/lib/fixincludes/fixinc.sh
+# chmod 755 $(d_fix)/$(PF)/lib/fixincludes/fixinc.sh
+ $(IR) $(srcdir)/gcc/fixinc/README \
+ $(d_fix)/$(docdir)/$(p_base)/fixincludes
+ sed -e 's,@LIBEXECDIR@,$(gcc_lexec_dir),g' debian/fixincludes.in \
+ > $(d_fix)/$(PF)/bin/fixincludes
+ chmod 755 $(d_fix)/$(PF)/bin/fixincludes
+
+ debian/dh_doclink -p$(p_fix) $(p_base)
+ dh_strip -p$(p_fix)
+ dh_compress -p$(p_fix)
+ dh_fixperms -p$(p_fix)
+ dh_shlibdeps -p$(p_fix)
+ dh_gencontrol -p$(p_fix) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_fix)
+ dh_md5sums -p$(p_fix)
+ dh_builddeb -p$(p_fix)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-softfloat.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-softfloat.mk
@@ -0,0 +1,33 @@
+arch_binaries := $(arch_binaries) softfloat
+
+p_softfloat = gcc$(pkg_ver)-soft-float
+d_softfloat = debian/$(p_softfloat)
+
+dirs_softfloat = \
+ $(PF)/$(libdir)/soft-float \
+ $(gcc_lib_dir)/soft-float
+
+files_softfloat = \
+ $(PF)/$(libdir)/soft-float \
+ $(gcc_lib_dir)/soft-float
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-softfloat: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_softfloat)
+ dh_installdirs -p$(p_softfloat) $(dirs_softfloat)
+ DH_COMPAT=2 dh_movefiles -p$(p_softfloat) $(files_softfloat)
+ debian/dh_doclink -p$(p_softfloat) $(p_base)
+ dh_strip -p$(p_softfloat) -Xlibgcj.a
+ dh_compress -p$(p_softfloat)
+ dh_fixperms -p$(p_softfloat)
+ dh_shlibdeps -p$(p_softfloat)
+ dh_gencontrol -p$(p_softfloat) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_softfloat)
+ dh_md5sums -p$(p_softfloat)
+ dh_builddeb -p$(p_softfloat)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-treelang.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-treelang.mk
@@ -0,0 +1,55 @@
+arch_binaries := $(arch_binaries) treelang
+
+p_tree = treelang$(pkg_ver)
+d_tree = debian/$(p_tree)
+
+dirs_tree = \
+ $(docdir)/$(p_base)/treelang \
+ $(gcc_lexec_dir) \
+ $(PF)/bin \
+ $(PF)/share/info
+
+files_tree = \
+ $(PF)/bin/tree1$(pkg_ver) \
+ $(gcc_lexec_dir)/tree1
+
+ifneq ($(GFDL_INVARIANT_FREE),yes)
+ files_tree += \
+ $(PF)/share/info/treelang*
+endif
+
+$(binary_stamp)-treelang: $(build_html_stamp) $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_tree)
+ dh_installdirs -p$(p_tree) $(dirs_tree)
+ DH_COMPAT=2 dh_movefiles -p$(p_tree) $(files_tree)
+
+ debian/dh_doclink -p$(p_tree) $(p_base)
+ifneq ($(GFDL_INVARIANT_FREE),yes)
+ dh_installdocs -p$(p_tree)
+ rm -f $(d_tree)/$(docdir)/$(p_base)/copyright
+ cp -p html/treelang.html $(d_tree)/$(docdir)/$(p_base)/treelang/
+endif
+ cp -p $(srcdir)/gcc/treelang/README \
+ $(d_tree)/$(docdir)/$(p_base)/treelang/.
+ cp -p $(srcdir)/gcc/treelang/ChangeLog \
+ $(d_tree)/$(docdir)/$(p_base)/treelang/changelog
+ cp -p debian/README.treelang \
+ $(d_tree)/$(docdir)/$(p_base)/treelang/README.Debian
+
+ debian/dh_rmemptydirs -p$(p_tree)
+
+ dh_strip -p$(p_tree)
+ dh_compress -p$(p_tree)
+
+ dh_fixperms -p$(p_tree)
+ dh_shlibdeps -p$(p_tree)
+ dh_gencontrol -p$(p_tree) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_tree)
+ dh_md5sums -p$(p_tree)
+ dh_builddeb -p$(p_tree)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-hppa64.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-hppa64.mk
@@ -0,0 +1,21 @@
+arch_binaries := $(arch_binaries) hppa64
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-hppa64: $(install_hppa64_stamp)
+ dh_testdir
+ dh_testroot
+
+# dh_installdirs -p$(p_hppa64)
+ debian/dh_doclink -p$(p_hppa64) $(p_base)
+ debian/dh_rmemptydirs -p$(p_hppa64)
+
+ dh_strip -p$(p_hppa64) -X.o -Xlibgcc.a -Xlibgcov.a
+ dh_compress -p$(p_hppa64)
+ dh_fixperms -p$(p_hppa64)
+ dh_shlibdeps -p$(p_hppa64)
+ dh_gencontrol -p$(p_hppa64) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_hppa64)
+ dh_md5sums -p$(p_hppa64)
+ dh_builddeb -p$(p_hppa64)
+
+ touch $@
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-cxx.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-cxx.mk
@@ -0,0 +1,52 @@
+arch_binaries := $(arch_binaries) cxx
+
+dirs_cxx = \
+ $(docdir)/$(p_base)/C++ \
+ $(PF)/bin \
+ $(PF)/share/info \
+ $(gcc_lexec_dir) \
+ $(PF)/share/man/man1
+files_cxx = \
+ $(PF)/bin/g++$(pkg_ver) \
+ $(PF)/share/man/man1/g++$(pkg_ver).1 \
+ $(gcc_lexec_dir)/cc1plus
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-cxx: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_cxx)
+ dh_installdirs -p$(p_cxx) $(dirs_cxx)
+ DH_COMPAT=2 dh_movefiles -p$(p_cxx) $(files_cxx)
+# g++ man page is a .so link
+ rm -f $(d_cxx)/$(PF)/share/man/man1/g++$(pkg_ver).1
+ ln -sf gcc$(pkg_ver).1.gz \
+ $(d_cxx)/$(PF)/share/man/man1/g++$(pkg_ver).1.gz
+
+ ln -sf g++$(pkg_ver) \
+ $(d_cxx)/$(PF)/bin/$(DEB_TARGET_GNU_TYPE)-g++$(pkg_ver)
+ ln -sf g++$(pkg_ver).1.gz \
+ $(d_cxx)/$(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-g++$(pkg_ver).1.gz
+ ln -sf g++$(pkg_ver) \
+ $(d_cxx)/$(PF)/bin/$(TARGET_ALIAS)-g++$(pkg_ver)
+ ln -sf g++$(pkg_ver).1.gz \
+ $(d_cxx)/$(PF)/share/man/man1/$(TARGET_ALIAS)-g++$(pkg_ver).1.gz
+
+ debian/dh_doclink -p$(p_cxx) $(p_base)
+ cp -p debian/README.C++ $(d_cxx)/$(docdir)/$(p_base)/C++/
+ cp -p $(srcdir)/gcc/cp/ChangeLog \
+ $(d_cxx)/$(docdir)/$(p_base)/C++/changelog
+ debian/dh_rmemptydirs -p$(p_cxx)
+
+ dh_strip -p$(p_cxx)
+ dh_compress -p$(p_cxx)
+ dh_fixperms -p$(p_cxx)
+ dh_shlibdeps -p$(p_cxx)
+ dh_gencontrol -p$(p_cxx) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_cxx)
+ dh_md5sums -p$(p_cxx)
+ dh_builddeb -p$(p_cxx)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-pascal.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-pascal.mk
@@ -0,0 +1,100 @@
+arch_binaries := $(arch_binaries) pascal
+indep_binaries := $(indep_binaries) pascal-doc
+
+p_gpc = gpc$(gpc_pkg_ver)
+p_gpcd = gpc$(gpc_pkg_ver)-doc
+
+d_gpc = debian/$(p_gpc)
+d_gpcd = debian/$(p_gpcd)
+
+dirs_gpc = \
+ $(docdir)/$(p_base)/pascal \
+ $(PF)/bin \
+ $(gcc_lexec_dir) \
+ $(gcc_lib_dir)/{include,units} \
+ $(PF)/share/man/man1
+ifeq ($(with_gpidump),yes)
+ files_gpc = \
+ $(PF)/bin/{binobj,gpc,gpc-run,gpidump}$(gpc_pkg_ver) \
+ $(PF)/share/man/man1/{binobj,gpc,gpc-run,gpidump}$(gpc_pkg_ver).1 \
+ $(gcc_lexec_dir)/gpc1 \
+ $(gcc_lib_dir)/{libgpc.a,units} \
+ $(gcc_lib_dir)/include/gpc-in-c.h
+else
+ files_gpc = \
+ $(PF)/bin/{binobj,gpc,gpc-run}$(gpc_pkg_ver) \
+ $(PF)/share/man/man1/{binobj,gpc,gpc-run}$(gpc_pkg_ver).1 \
+ $(gcc_lexec_dir)/gpc1 \
+ $(gcc_lib_dir)/{libgpc.a,units} \
+ $(gcc_lib_dir)/include/gpc-in-c.h
+endif
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-pascal: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_gpc)
+ dh_installdirs -p$(p_gpc) $(dirs_gpc)
+
+ rm -f $(d)/$(PF)/bin/pc $(d)/$(PF)/share/man/man1/pc.1
+ DH_COMPAT=2 dh_movefiles -p$(p_gpc) $(files_gpc)
+
+ debian/dh_doclink -p$(p_gpc) $(p_base)
+ cp -p $(srcdir)/gcc/p/{AUTHORS,FAQ,NEWS,README} \
+ $(d_gpc)/$(docdir)/$(p_base)/pascal/.
+ cp -p $(srcdir)/gcc/p/test/README \
+ $(d_gpc)/$(docdir)/$(p_base)/pascal/README.gpc-test
+ cp -p $(srcdir)/gcc/p/ChangeLog \
+ $(d_gpc)/$(docdir)/$(p_base)/pascal/changelog
+
+# ln -sf ../$(p_gpc)/examples $(d_gpcd)/$(docdir)/$(p_gpcd)/examples
+# ln -sf ../$(p_gpc)/docdemos $(d_gpcd)/$(docdir)/$(p_gpcd)/docdemos
+
+ dh_strip -p$(p_gpc)
+ dh_compress -p$(p_gpc)
+ dh_fixperms -p$(p_gpc)
+ dh_shlibdeps -p$(p_gpc)
+ dh_gencontrol -p$(p_gpc) -- -v$(DEB_GPC_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_gpc)
+ dh_md5sums -p$(p_gpc)
+ dh_builddeb -p$(p_gpc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-pascal-doc: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_gpcd)
+ dh_installdirs -p$(p_gpcd) \
+ $(docdir)/$(p_base)/pascal \
+ $(PF)/share/info
+ DH_COMPAT=2 dh_movefiles -p$(p_gpcd) \
+ $(PF)/share/info/gpc*$(gpc_pkg_ver)*info*
+ debian/dh_doclink -p$(p_gpcd) $(p_base)
+ dh_installdocs -p$(p_gpcd)
+ rm -f $(d_gpcd)/$(docdir)/$(p_base)/copyright
+ cp -p html/gpc.html html/gpcs.html \
+ $(d_gpcd)/$(docdir)/$(p_base)/pascal/
+ mv $(d)/$(PF)/doc/gpc/demos \
+ $(d_gpcd)/$(docdir)/$(p_base)/pascal/examples
+ mv $(d)/$(PF)/doc/gpc/docdemos \
+ $(d_gpcd)/$(docdir)/$(p_base)/pascal/.
+
+# -$(MAKE) -C $(builddir)/gcc gpc.ps
+# cp -p $(builddir)/gcc/gpc.ps $(d_gpcd)/$(docdir)/$(p_base)/pascal/.
+
+ debian/dh_rmemptydirs -p$(p_gpcd)
+
+ dh_compress -p$(p_gpcd)
+ dh_fixperms -p$(p_gpcd)
+ dh_installdeb -p$(p_gpcd)
+ dh_gencontrol -p$(p_gpcd) -- -v$(DEB_GPC_VERSION) $(common_substvars)
+ dh_md5sums -p$(p_gpcd)
+ dh_builddeb -p$(p_gpcd)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-proto.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-proto.mk
@@ -0,0 +1,43 @@
+arch_binaries := $(arch_binaries) proto
+
+p_proto = protoize
+d_proto = debian/$(p_proto)
+
+dirs_proto = \
+ $(docdir) \
+ $(PF)/share/man/man1 \
+ $(PF)/bin
+files_proto = \
+ $(PF)/bin/{protoize,unprotoize} \
+ $(PF)/share/man/man1/{protoize,unprotoize}.1
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-proto: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_proto)
+ dh_installdirs -p$(p_proto) $(dirs_proto)
+
+ifeq ($(versioned_packages),yes)
+ : # rename versioned files back to unversioned ones.
+ for i in protoize unprotoize; do \
+ mv $(d)/$(PF)/bin/$$i$(pkg_ver) $(d)/$(PF)/bin/$$i; \
+ done
+endif
+ $(IR) debian/protoize.1 $(d)/$(PF)/share/man/man1/
+ ln -sf protoize.1 $(d)/$(PF)/share/man/man1/unprotoize.1
+ DH_COMPAT=2 dh_movefiles -p$(p_proto) $(files_proto)
+
+ debian/dh_doclink -p$(p_proto) $(p_base)
+ dh_strip -p$(p_proto)
+ dh_compress -p$(p_proto)
+ dh_fixperms -p$(p_proto)
+ dh_shlibdeps -p$(p_proto)
+ dh_gencontrol -p$(p_proto) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_proto)
+ dh_md5sums -p$(p_proto)
+ dh_builddeb -p$(p_proto)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-libobjc.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-libobjc.mk
@@ -0,0 +1,67 @@
+ifeq ($(with_objcdev),yes)
+ arch_binaries := $(arch_binaries) libobjc
+endif
+
+p_lobjc = libobjc$(OBJC_SONAME)
+d_lobjc = debian/$(p_lobjc)
+
+dirs_lobjc = \
+ $(docdir)/objc \
+ $(PF)/$(libdir)
+files_lobjc = \
+ $(PF)/$(libdir)/libobjc.so.*
+ifeq ($(with_objc_gc),yes)
+ files_lobjc += \
+ $(PF)/$(libdir)/libobjc_gc.so.*
+endif
+
+ifeq ($(with_lib64objc),yes)
+ dirs_lobjc += $(PF)/$(lib64)
+ files_lobjc += $(PF)/$(lib64)/libobjc.so.*
+ ifeq ($(with_objc_gc),yes)
+ files_lobjc += $(PF)/$(lib64)/libobjc_gc.so.*
+ endif
+endif
+
+
+$(binary_stamp)-libobjc: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lobjc)
+ dh_installdirs -p$(p_lobjc) $(dirs_lobjc)
+# mv $(d)/$(gcc_lib_dir)/libobjc.so.* $(d)/$(PF)/$(libdir)/.
+#ifeq ($(with_objc_gc),yes)
+# mv $(d)/$(gcc_lib_dir)/libobjc_gc.so.* $(d)/$(PF)/$(libdir)/.
+#endif
+ DH_COMPAT=2 dh_movefiles -p$(p_lobjc) $(files_lobjc)
+
+ dh_installdocs -p$(p_lobjc)
+ echo "See /$(docdir)/$(p_base) for more information" \
+ > $(d_lobjc)/$(docdir)/$(p_lobjc)/README.Debian
+ dh_installchangelogs -p$(p_lobjc) $(srcdir)/libobjc/ChangeLog
+
+ debian/dh_rmemptydirs -p$(p_lobjc)
+
+ dh_strip -p$(p_lobjc)
+ dh_compress -p$(p_lobjc)
+
+ dh_fixperms -p$(p_lobjc)
+ b=libobjc; \
+ for ext in preinst postinst prerm postrm; do \
+ for t in '' -dev -dbg; do \
+ v=$(OBJC_SONAME); \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done; \
+ done
+ dh_makeshlibs -p$(p_lobjc) -V '$(p_lobjc) (>= $(DEB_SOEVERSION))'
+ dh_shlibdeps -p$(p_lobjc)
+ dh_gencontrol -p$(p_lobjc) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_lobjc)
+ dh_md5sums -p$(p_lobjc)
+ dh_builddeb -p$(p_lobjc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-cpp-cross.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-cpp-cross.mk
@@ -0,0 +1,40 @@
+arch_binaries := $(arch_binaries) cpp
+
+dirs_cpp = \
+ $(docdir) \
+ $(PF)/share/man/man1 \
+ $(PF)/bin \
+ $(gcc_lexec_dir)
+
+files_cpp = \
+ $(PF)/bin/$(DEB_TARGET_GNU_TYPE)-cpp$(pkg_ver) \
+ $(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-cpp$(pkg_ver).1 \
+ $(gcc_lexec_dir)/cc1
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-cpp: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_cpp)
+ dh_installdirs -p$(p_cpp) $(dirs_cpp)
+ DH_COMPAT=2 dh_movefiles -p$(p_cpp) $(files_cpp)
+
+ debian/dh_doclink -p$(p_cpp) $(p_base)
+ debian/dh_rmemptydirs -p$(p_cpp)
+
+ dh_strip -p$(p_cpp)
+ dh_compress -p$(p_cpp)
+ dh_fixperms -p$(p_cpp)
+ dh_shlibdeps -p$(p_cpp)
+ dh_gencontrol -p$(p_cpp) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_cpp)
+ sed 's/cross-/$(TP)/g;s/-ver/$(pkg_ver)/g;s/gcc/cpp/g' < debian/gcc-cross.postinst > debian/$(p_cpp)/DEBIAN/postinst
+ sed 's/cross-/$(TP)/g;s/-ver/$(pkg_ver)/g;s/gcc/cpp/g' < debian/gcc-cross.prerm > debian/$(p_cpp)/DEBIAN/prerm
+ chmod 755 debian/$(p_cpp)/DEBIAN/{postinst,prerm}
+ dh_md5sums -p$(p_cpp)
+ dh_builddeb -p$(p_cpp)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-nof-cross.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-nof-cross.mk
@@ -0,0 +1,46 @@
+arch_binaries := $(arch_binaries) nof
+
+p_nof = gcc$(pkg_arch)-nof
+d_nof = debian/$(p_nof)
+
+dirs_nof = \
+ $(docdir) \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib/nof
+ifeq ($(with_cdev),yes)
+ dirs_nof += \
+ $(gcc_lib_dir)/nof
+endif
+
+ifeq ($(with_cdev),yes)
+ files_nof = \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib/libgcc_s_nof.so.$(GCC_SONAME) \
+ $(gcc_lib_dir)/libgcc_s_nof.so \
+ $(PF)/$(DEB_TARGET_GNU_TYPE)/lib/nof \
+ $(gcc_lib_dir)/nof
+else
+ files_nof = \
+ lib/libgcc_s_nof.so.$(GCC_SONAME)
+endif
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-nof: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ ln -sf /$(PF)/$(DEB_TARGET_GNU_TYPE)/lib/libgcc_s_nof.so.$(GCC_SONAME) \
+ $(d)/$(gcc_lib_dir)/libgcc_s_nof.so
+
+ rm -rf $(d_nof)
+ dh_installdirs -p$(p_nof) $(dirs_nof)
+ DH_COMPAT=2 dh_movefiles -p$(p_nof) $(files_nof)
+ debian/dh_doclink -p$(p_nof) $(p_base)
+ dh_strip -p$(p_nof)
+ dh_compress -p$(p_nof)
+ dh_fixperms -p$(p_nof)
+ dh_gencontrol -p$(p_nof) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_nof)
+ dh_md5sums -p$(p_nof)
+ dh_builddeb -p$(p_nof)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-base.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-base.mk
@@ -0,0 +1,24 @@
+arch_binaries := base $(arch_binaries)
+
+# ---------------------------------------------------------------------------
+# gcc-base
+
+$(binary_stamp)-base: $(install_dependencies)
+ dh_testdir
+ dh_testroot
+ rm -rf $(d_base)
+ dh_installdirs -p$(p_base)
+ dh_installdocs -p$(p_base)
+ cp -p debian/NEWS.sarge $(d_base)/usr/share/doc/$(p_base)/NEWS.Debian
+ifeq ($(with_base_only),yes)
+ dh_installchangelogs -p$(p_base)
+else
+ dh_installchangelogs -p$(p_base) $(srcdir)/ChangeLog
+endif
+ dh_compress -p$(p_base)
+ dh_fixperms -p$(p_base)
+ dh_gencontrol -p$(p_base) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_base)
+ dh_md5sums -p$(p_base)
+ dh_builddeb -p$(p_base)
+ touch $@
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-objc.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-objc.mk
@@ -0,0 +1,51 @@
+arch_binaries := $(arch_binaries) objc
+
+p_objc = gobjc$(pkg_ver)
+d_objc = debian/$(p_objc)
+
+dirs_objc = \
+ $(docdir)/$(p_base)/ObjC \
+ $(gcc_lexec_dir) \
+ $(gcc_lib_dir)/include
+
+files_objc = \
+ $(gcc_lexec_dir)/cc1obj \
+ $(gcc_lib_dir)/include/objc \
+ $(gcc_lib_dir)/{libobjc*.a,libobjc*.la}
+
+$(binary_stamp)-objc: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ mv $(d)/$(PF)/$(libdir)/libobjc*.{a,la} $(d)/$(gcc_lib_dir)/
+
+ rm -rf $(d_objc)
+ dh_installdirs -p$(p_objc) $(dirs_objc)
+ DH_COMPAT=2 dh_movefiles -p$(p_objc) $(files_objc)
+
+ dh_link -p$(p_objc) \
+ /$(PF)/$(libdir)/libobjc.so.$(OBJC_SONAME) /$(gcc_lib_dir)/libobjc.so
+ifeq ($(with_objc_gc),yes)
+ dh_link -p$(p_objc) \
+ /$(PF)/$(libdir)/libobjc_gc.so.$(OBJC_SONAME) \
+ /$(gcc_lib_dir)/libobjc_gc.so
+endif
+
+ debian/dh_doclink -p$(p_objc) $(p_base)
+ cp -p $(srcdir)/libobjc/{README*,THREADS*} \
+ $(d_objc)/$(docdir)/$(p_base)/ObjC/.
+
+ debian/dh_rmemptydirs -p$(p_objc)
+
+ dh_strip -p$(p_objc)
+ dh_compress -p$(p_objc)
+
+ dh_fixperms -p$(p_objc)
+ dh_shlibdeps -p$(p_objc)
+ dh_gencontrol -p$(p_objc) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_objc)
+ dh_md5sums -p$(p_objc)
+ dh_builddeb -p$(p_objc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-java.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-java.mk
@@ -0,0 +1,304 @@
+ifeq ($(with_java),yes)
+ arch_binaries := $(arch_binaries) java
+ indep_binaries := $(indep_binaries) gcjjar
+endif
+
+ifeq ($(with_common_libs),yes)
+ indep_binaries := $(indep_binaries) libgcj-common
+endif
+
+ifeq ($(with_javadev),yes)
+ arch_binaries := $(arch_binaries) javadev
+endif
+
+p_gcj = gcj$(pkg_ver)
+p_gij = gij$(pkg_ver)
+p_jcom = libgcj-common
+p_jlib = libgcj$(GCJ_SONAME)
+p_jlibc = libgcj$(GCJ_SONAME)-common
+p_jlibx = libgcj$(GCJ_SONAME)-awt
+p_jdev = libgcj$(GCJ_SONAME)-dev
+
+d_gcj = debian/$(p_gcj)
+d_gij = debian/$(p_gij)
+d_jcom = debian/$(p_jcom)
+d_jlib = debian/$(p_jlib)
+d_jlibc = debian/$(p_jlibc)
+d_jlibx = debian/$(p_jlibx)
+d_jdev = debian/$(p_jdev)
+
+dirs_gcj = \
+ $(docdir)/$(p_base)/java \
+ $(PF)/bin \
+ $(PF)/share/man/man1 \
+ $(PF)/share/info \
+ $(gcc_lexec_dir)
+files_gcj = \
+ $(PF)/bin/{gcj,gcjh,jv-convert,jv-scan,jcf-dump,rmic}$(pkg_ver) \
+ $(PF)/share/man/man1/{gcj,gcjh,jv-convert,jv-scan,jcf-dump,rmic}$(pkg_ver).1 \
+ $(gcc_lexec_dir)/{jc1,jvgenmain}
+
+ifneq ($(GFDL_INVARIANT_FREE),yes)
+ files_gcj += \
+ $(PF)/share/info/gcj*
+endif
+
+dirs_gij = \
+ $(docdir)/$(p_base)/java \
+ $(PF)/bin \
+ $(PF)/share/man/man1
+
+files_gij = \
+ $(PF)/bin/{gij,rmiregistry}$(pkg_ver) \
+ $(PF)/share/man/man1/{gij,rmiregistry}$(pkg_ver).1
+
+dirs_jcom = \
+ $(PF)/$(libdir)
+
+files_jcom = \
+ $(PF)/$(libdir)/security
+
+dirs_jlib = \
+ $(docdir)/$(p_jlib) \
+ $(PF)/$(libdir)
+
+files_jlib = \
+ $(PF)/$(libdir)/libgcj*.so.* \
+ $(PF)/$(libdir)/lib-org-*.so.*
+
+dirs_jlibc = \
+ $(docdir)/$(p_jlib) \
+ $(PF)/share/java
+
+files_jlibc = \
+ $(PF)/share/java/libgcj-$(VER).jar
+
+dirs_jlibx = \
+ $(docdir)/$(p_jlib) \
+ $(PF)/$(libdir) \
+ $(PF)/share/java
+
+files_jlibx = \
+ $(PF)/lib/lib-gnu-java-awt*.so.*
+
+dirs_jdev = \
+ $(docdir)/$(p_jlib)/examples \
+ $(PF)/include \
+ $(PF)/$(libdir) \
+ $(gcc_lib_dir)/include/gcj
+
+files_jdev = \
+ $(PF)/include/{gcj,java,javax,jni.h,jvmpi.h} \
+ $(PF)/include/gnu/{awt,classpath,gcj,java,javax} \
+ $(PF)/$(libdir)/libgcj*.{a,la} \
+ $(PF)/$(libdir)/{libgcj*.so,libgcj.spec} \
+ $(gcc_lib_dir)/include/gcj/libgcj-config.h \
+ $(PF)/$(libdir)/pkgconfig/libgcj.pc \
+ $(PF)/$(libdir)/lib-gnu-*.{a,la} \
+ $(PF)/$(libdir)/lib-gnu-*.so \
+ $(PF)/$(libdir)/lib-org-*.{a,la} \
+ $(PF)/$(libdir)/lib-org-*.so
+
+ifeq ($(with_lib64gcj),yes)
+ dirs_jlib += $(PF)/$(lib64)
+ files_jlib += $(PF)/$(lib64)/libgcj*.so.* \
+ $(PF)/$(lib64)/lib-org-*.so.*
+
+ dirs_jlibx += $(PF)/$(lib64)
+ files_jlibx += $(PF)/$(lib64)/lib-gnu-java-awt-*.so.*
+
+ dirs_jdev += $(PF)/$(lib64)
+ files_jdev += $(PF)/$(lib64)/libgcj*.{a,so,la} \
+ $(PF)/$(lib64)/lib-gnu-*.{a,so,la} \
+ $(PF)/$(lib64)/lib-org-*.{a,so,la}
+endif
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-libgcj-common: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ dh_installdirs -p$(p_jcom) $(dirs_jcom)
+ [ -d $(d)/$(PF)/$(libdir)/security ] \
+ || mkdir -p $(d)/$(PF)/$(libdir)/security
+ [ -f $(d)/$(PF)/$(libdir)/security/classpath.security ] || \
+ cp $(srcdir)/libjava/java/security/*.security \
+ $(d)/$(PF)/$(libdir)/security/.
+ DH_COMPAT=2 dh_movefiles -p$(p_jcom) $(files_jcom)
+ debian/dh_doclink -p$(p_jcom) $(p_base)
+ debian/dh_rmemptydirs -p$(p_jcom)
+ dh_compress -p$(p_jcom)
+ dh_fixperms -p$(p_jcom)
+ dh_gencontrol -p$(p_jcom) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_jcom)
+ dh_md5sums -p$(p_jcom)
+ dh_builddeb -p$(p_jcom)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-gcjjar: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ dh_installdirs -p$(p_jlibc) $(dirs_jlibc)
+ DH_COMPAT=2 dh_movefiles -p$(p_jlibc) $(files_jlibc)
+ debian/dh_doclink -p$(p_jlibc) $(p_base)
+ debian/dh_rmemptydirs -p$(p_jlibc)
+ dh_compress -p$(p_jlibc)
+ dh_fixperms -p$(p_jlibc)
+ dh_gencontrol -p$(p_jlibc) -u-v$(DEB_VERSION)
+ cp -p debian/libgcj5-common.preinst.in debian/libgcj5-common.preinst
+ dh_installdeb -p$(p_jlibc)
+ dh_md5sums -p$(p_jlibc)
+ dh_builddeb -p$(p_jlibc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-java: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ dh_installdirs -p$(p_gij) $(dirs_gij)
+ dh_installdirs -p$(p_jlib) $(dirs_jlib)
+ dh_installdirs -p$(p_jlibx) $(dirs_jlibx)
+
+ DH_COMPAT=2 dh_movefiles -p$(p_gij) $(files_gij)
+ DH_COMPAT=2 dh_movefiles -p$(p_jlib) $(files_jlib)
+ DH_COMPAT=2 dh_movefiles -p$(p_jlibx) $(files_jlibx)
+
+ debian/dh_doclink -p$(p_gij) $(p_base)
+ dh_installdocs -p$(p_jlib) $(srcdir)/libjava/{NEWS,README,THANKS}
+ dh_installchangelogs -p$(p_jlib)
+ debian/dh_doclink -p$(p_jlibx) $(p_jlib)
+
+ cp -p debian/gij-wrapper $(d_gij)/$(PF)/bin/gij-wrapper$(pkg_ver)
+ chmod 755 $(d_gij)/$(PF)/bin/gij-wrapper$(pkg_ver)
+ cp -p debian/gij-wrapper.1 \
+ $(d_gij)/$(PF)/share/man/man1/gij-wrapper$(pkg_ver).1
+
+ debian/dh_rmemptydirs -p$(p_gij)
+ debian/dh_rmemptydirs -p$(p_jlib)
+ debian/dh_rmemptydirs -p$(p_jlibx)
+
+ dh_makeshlibs -p$(p_jlib) -V '$(p_jlib) (>= $(DEB_SOVERSION))'
+ cat debian/$(p_jlib)/DEBIAN/shlibs >> debian/shlibs.local
+
+ dh_makeshlibs -p$(p_jlibx) -V '$(p_jlibx) (>= $(DEB_SOVERSION))'
+
+ dh_strip -p$(p_gij) -p$(p_jlib) -p$(p_jlibx)
+ dh_compress -p$(p_gij) -p$(p_jlib) -p$(p_jlibx)
+ dh_fixperms -p$(p_gij) -p$(p_jlib) -p$(p_jlibx)
+# the libstdc++ binary packages aren't built yet ...
+ echo 'libstdc++ $(CXX_SONAME) $(p_lib) (>= $(DEB_STDCXX_SOVERSION))' \
+ >> debian/shlibs.local
+# dh_shlibdeps finds libgcc in lib64gcc1 ... move it away for a moment ...
+ -[ -d $(d_l64gcc) ] && mv $(d_l64gcc) $(d_l64gcc).away
+ dh_shlibdeps \
+ -L$(p_lgcc) \
+ -L$(p_jlib) \
+ -l:$(d)/$(PF)/$(libdir):$(d_lib)/$(PF)/$(libdir):$(d_jlib)/$(PF)/$(libdir):$(d_lgcc)/lib \
+ -p$(p_gij) -p$(p_jlib) -p$(p_jlibx)
+ -[ -d $(d_l64gcc).away ] && mv $(d_l64gcc).away $(d_l64gcc)
+ sed -e 's/$(p_jlib)[^,]*//' -e 's/, *,/,/' debian/$(p_jlib).substvars \
+ >> debian/$(p_jlib).substvars.tmp \
+ && mv -f debian/$(p_jlib).substvars.tmp debian/$(p_jlib).substvars
+ dh_gencontrol \
+ -p$(p_gij) -p$(p_jlib) -p$(p_jlibx) \
+ -- -v$(DEB_VERSION) $(common_substvars)
+ b=libgcj; \
+ for ext in preinst postinst prerm postrm; do \
+ for t in '' -awt -dev; do \
+ v=$(GCJ_SONAME); \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done; \
+ done
+ dh_installdeb -p$(p_gij) -p$(p_jlib) -p$(p_jlibx)
+ dh_md5sums -p$(p_gij) -p$(p_jlib) -p$(p_jlibx)
+ dh_builddeb -p$(p_gij) -p$(p_jlib) -p$(p_jlibx)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-javadev: $(build_html_stamp) $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_gcj)
+ dh_installdirs -p$(p_gcj) $(dirs_gcj)
+ dh_installdirs -p$(p_jdev) $(dirs_jdev)
+
+ DH_COMPAT=2 dh_movefiles -p$(p_gcj) $(files_gcj)
+ DH_COMPAT=2 dh_movefiles -p$(p_jdev) $(files_jdev)
+
+ ln -sf gcj$(pkg_ver) \
+ $(d_gcj)/$(PF)/bin/$(DEB_TARGET_GNU_TYPE)-gcj$(pkg_ver)
+ ln -sf gcj$(pkg_ver).1 \
+ $(d_gcj)/$(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-gcj$(pkg_ver).1
+ ln -sf gcj$(pkg_ver) \
+ $(d_gcj)/$(PF)/bin/$(TARGET_ALIAS)-gcj$(pkg_ver)
+ ln -sf gcj$(pkg_ver).1 \
+ $(d_gcj)/$(PF)/share/man/man1/$(TARGET_ALIAS)-gcj$(pkg_ver).1
+
+ debian/dh_doclink -p$(p_gcj) $(p_base)
+ifneq ($(GFDL_INVARIANT_FREE),yes)
+ dh_installdocs -p$(p_gcj)
+ rm -f $(d_gcj)/$(docdir)/$(p_base)/copyright
+ cp -p html/gcj.html $(d_gcj)/$(docdir)/$(p_base)/java/
+endif
+ cp -p $(srcdir)/libjava/doc/cni.sgml $(d_jdev)/$(docdir)/$(p_jlib)/.
+ debian/dh_doclink -p$(p_jdev) $(p_jlib)
+ cp -p debian/FAQ.gcj $(d_gcj)/$(docdir)/$(p_base)/java/.
+ cp -p $(srcdir)/gcc/java/ChangeLog \
+ $(d_gcj)/$(docdir)/$(p_base)/java/changelog
+ cp -p $(srcdir)/libjava/ChangeLog \
+ $(d_jdev)/$(docdir)/$(p_jlib)/changelog
+
+ cp -p $(srcdir)/libjava/gnu/java/awt/peer/gtk/Test* \
+ debian/testswing.java \
+ $(d_jdev)/$(docdir)/$(p_jlib)/examples
+
+ cp -p debian/gcj-wrapper $(d_gcj)/$(PF)/bin/gcj-wrapper$(pkg_ver)
+ chmod 755 $(d_gcj)/$(PF)/bin/gcj-wrapper$(pkg_ver)
+ cp -p debian/gcj-wrapper.1 \
+ $(d_gcj)/$(PF)/share/man/man1/gcj-wrapper$(pkg_ver).1
+
+ cp -p debian/gcjh-wrapper $(d_gcj)/$(PF)/bin/gcjh-wrapper$(pkg_ver)
+ chmod 755 $(d_gcj)/$(PF)/bin/gcjh-wrapper$(pkg_ver)
+ cp -p debian/gcjh-wrapper.1 \
+ $(d_gcj)/$(PF)/share/man/man1/gcjh-wrapper$(pkg_ver).1
+
+ debian/dh_rmemptydirs -p$(p_gcj)
+ debian/dh_rmemptydirs -p$(p_jdev)
+
+ dh_strip -p$(p_gcj) -p$(p_jdev)
+ dh_compress -p$(p_gcj) -p$(p_jdev) -X.java
+ dh_fixperms -p$(p_gcj) -p$(p_jdev)
+ dh_shlibdeps \
+ -L$(p_lgcc) \
+ -l:$(d)/$(PF)/$(libdir):$(d_lib)/$(PF)/$(libdir):$(d_jlib)/$(PF)/$(libdir):$(d_lgcc)/lib \
+ -p$(p_gcj) -p$(p_jdev)
+ dh_gencontrol \
+ -p$(p_gcj) -p$(p_jdev) \
+ -- -v$(DEB_VERSION) $(common_substvars)
+ b=libgcj; \
+ for ext in preinst postinst prerm postrm; do \
+ for t in '' -dev; do \
+ v=$(GCJ_SONAME); \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done; \
+ done
+ dh_installdeb -p$(p_gcj) -p$(p_jdev)
+ dh_md5sums -p$(p_gcj) -p$(p_jdev)
+ dh_builddeb -p$(p_gcj) -p$(p_jdev)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-cpp.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-cpp.mk
@@ -0,0 +1,73 @@
+arch_binaries := $(arch_binaries) cpp
+indep_binaries := $(indep_binaries) cpp-doc
+
+dirs_cpp = \
+ $(docdir) \
+ $(PF)/share/man/man1 \
+ $(PF)/bin \
+ $(gcc_lexec_dir)
+
+files_cpp = \
+ $(PF)/bin/cpp$(pkg_ver) \
+ $(PF)/share/man/man1/cpp$(pkg_ver).1 \
+ $(gcc_lexec_dir)/cc1
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-cpp: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_cpp)
+ dh_installdirs -p$(p_cpp) $(dirs_cpp)
+ DH_COMPAT=2 dh_movefiles -p$(p_cpp) $(files_cpp)
+
+ ln -sf cpp$(pkg_ver) \
+ $(d_cpp)/$(PF)/bin/$(DEB_TARGET_GNU_TYPE)-cpp$(pkg_ver)
+ ln -sf cpp$(pkg_ver).1 \
+ $(d_cpp)/$(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-cpp$(pkg_ver).1
+ ln -sf cpp$(pkg_ver) \
+ $(d_cpp)/$(PF)/bin/$(TARGET_ALIAS)-cpp$(pkg_ver)
+ ln -sf cpp$(pkg_ver).1 \
+ $(d_cpp)/$(PF)/share/man/man1/$(TARGET_ALIAS)-cpp$(pkg_ver).1
+
+ debian/dh_doclink -p$(p_cpp) $(p_base)
+ debian/dh_rmemptydirs -p$(p_cpp)
+
+ dh_strip -p$(p_cpp)
+ dh_compress -p$(p_cpp)
+ dh_fixperms -p$(p_cpp)
+ dh_shlibdeps -p$(p_cpp)
+ dh_gencontrol -p$(p_cpp) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_cpp)
+ dh_md5sums -p$(p_cpp)
+ dh_builddeb -p$(p_cpp)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-cpp-doc: $(build_html_stamp) $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_cppd)
+ dh_installdirs -p$(p_cppd) \
+ $(docdir)/$(p_base) \
+ $(PF)/share/info
+ DH_COMPAT=2 dh_movefiles -p$(p_cppd) \
+ $(PF)/share/info/cpp*
+
+ debian/dh_doclink -p$(p_cppd) $(p_base)
+ dh_installdocs -p$(p_cppd) html/cpp.html html/cppinternals.html
+ rm -f $(d_cppd)/$(docdir)/$(p_base)/copyright
+ debian/dh_rmemptydirs -p$(p_cppd)
+
+ dh_compress -p$(p_cppd)
+ dh_fixperms -p$(p_cppd)
+ dh_installdeb -p$(p_cppd)
+ dh_gencontrol -p$(p_cppd) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_md5sums -p$(p_cppd)
+ dh_builddeb -p$(p_cppd)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-nof.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-nof.mk
@@ -0,0 +1,56 @@
+arch_binaries := $(arch_binaries) nof
+
+p_nof = gcc$(pkg_ver)-nof
+d_nof = debian/$(p_nof)
+
+dirs_nof = \
+ $(docdir) \
+ $(PF)/$(libdir)/nof
+ifeq ($(with_cdev),yes)
+ dirs_nof += \
+ $(gcc_lib_dir)/nof
+endif
+
+ifeq ($(with_cdev),yes)
+ files_nof = \
+ $(libdir)/libgcc_s_nof.so.$(GCC_SONAME) \
+ $(gcc_lib_dir)/libgcc_s_nof.so \
+ $(PF)/$(libdir)/nof \
+ $(gcc_lib_dir)/nof
+else
+ files_nof = \
+ $(libdir)/libgcc_s_nof.so.$(GCC_SONAME)
+endif
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-nof: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ mv $(d)/$(PF)/$(libdir)/libgcc_s_nof.so.$(GCC_SONAME) $(d)/$(libdir)/.
+ rm -f $(d)/$(PF)/$(libdir)/libgcc_s_nof.so
+ ln -sf /$(libdir)/libgcc_s_nof.so.$(GCC_SONAME) \
+ $(d)/$(gcc_lib_dir)/libgcc_s_nof.so
+
+ rm -rf $(d_nof)
+ dh_installdirs -p$(p_nof) $(dirs_nof)
+ DH_COMPAT=2 dh_movefiles -p$(p_nof) $(files_nof)
+ debian/dh_doclink -p$(p_nof) $(p_base)
+ dh_strip -p$(p_nof)
+ dh_compress -p$(p_nof)
+ dh_fixperms -p$(p_nof)
+ dh_shlibdeps -p$(p_nof)
+
+ dh_makeshlibs -p$(p_nof)
+ : # Only keep the shlibs file for the libgcc_s_nof library
+ fgrep libgcc_s_nof debian/$(p_nof)/DEBIAN/shlibs \
+ > debian/$(p_nof)/DEBIAN/shlibs.tmp
+ mv -f debian/$(p_nof)/DEBIAN/shlibs.tmp debian/$(p_nof)/DEBIAN/shlibs
+
+ dh_gencontrol -p$(p_nof) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_nof)
+ dh_md5sums -p$(p_nof)
+ dh_builddeb -p$(p_nof)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-gcc-cross.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-gcc-cross.mk
@@ -0,0 +1,106 @@
+arch_binaries := $(arch_binaries) gcc
+
+# gcc must be moved after g77 and g++
+# not all files $(PF)/include/*.h are part of gcc,
+# but it becomes difficult to name all these files ...
+
+dirs_gcc = \
+ $(PF)/bin \
+ $(gcc_lexec_dir) \
+ $(gcc_lib_dir)/include \
+ $(PF)/share/man/man1 $(libdir)
+
+files_gcc = \
+ $(PF)/bin/$(DEB_TARGET_GNU_TYPE)-gcc$(pkg_ver) \
+ $(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-gcc$(pkg_ver).1 \
+ $(gcc_lexec_dir)/collect2 \
+ $(gcc_lib_dir)/{specs,libgcc*,*.o} \
+ $(gcc_lib_dir)/include/README \
+ $(gcc_lib_dir)/include/{float,iso646,limits,std*,syslimits,unwind,varargs}.h \
+ $(shell for d in asm bits gnu linux; do \
+ test -e $(d)/$(gcc_lib_dir)/include/$$d \
+ && echo $(gcc_lib_dir)/include/$$d; \
+ done)
+
+ifeq ($(biarch),yes)
+ files_gcc += $(gcc_lib_dir)/64/{libgcc*,*.o}
+endif
+
+files_gcc += \
+ $(shell test -e $(d)/$(gcc_lib_dir)/SYSCALLS.c.X \
+ && echo $(gcc_lib_dir)/SYSCALLS.c.X)
+
+ifeq ($(DEB_TARGET_ARCH),ia64)
+ files_gcc += $(gcc_lib_dir)/include/ia64intrin.h
+endif
+
+ifeq ($(DEB_TARGET_ARCH),i386)
+ files_gcc += $(gcc_lib_dir)/include/{,e,p,x}mmintrin.h
+endif
+
+ifeq ($(DEB_TARGET_ARCH),hurd-i386)
+ files_gcc += $(gcc_lib_dir)/include/{,e,p,x}mmintrin.h
+endif
+
+ifeq ($(DEB_TARGET_ARCH),kfreebsd-i386)
+ files_gcc += $(gcc_lib_dir)/include/{,e,p,x}mmintrin.h
+endif
+
+ifeq ($(DEB_TARGET_ARCH),m68k)
+ files_gcc += $(gcc_lib_dir)/include/math-68881.h
+endif
+
+ifeq ($(DEB_TARGET_ARCH),powerpc)
+ files_gcc += $(gcc_lib_dir)/include/{altivec.h,ppc-asm.h}
+endif
+
+usr_doc_files = debian/README.Bugs \
+ $(shell test -f $(srcdir)/FAQ && echo $(srcdir)/FAQ)
+ifeq ($(with_check),yes)
+ usr_doc_files += test-summary
+endif
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-gcc: $(install_dependencies)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_gcc)
+ dh_installdirs -p$(p_gcc) $(dirs_gcc)
+
+ rm -f $(d)/$(PF)/$(libdir)/libgcc_s.so
+ ln -sf /$(PF)/$(DEB_TARGET_GNU_TYPE)/$(libdir)/libgcc_s.so.$(GCC_SONAME) $(d)/$(gcc_lib_dir)/libgcc_s.so
+ifeq ($(biarch),yes)
+ rm -f $(d)/$(PF)/$(lib64)/libgcc_s.so
+ ln -sf /$(PF)/$(DEB_TARGET_GNU_TYPE)/$(lib64)/libgcc_s.so.$(GCC_SONAME) $(d)/$(gcc_lib_dir)/libgcc_s_64.so
+ ln -sf /$(PF)/$(DEB_TARGET_GNU_TYPE)/$(lib64)/libgcc_s.so.$(GCC_SONAME) $(d)/$(gcc_lib_dir)/64/libgcc_s.so
+endif
+
+ DH_COMPAT=2 dh_movefiles -p$(p_gcc) $(files_gcc)
+
+# dh_installdebconf
+ debian/dh_doclink -p$(p_gcc) $(p_base)
+ debian/dh_rmemptydirs -p$(p_gcc)
+ PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_gcc)
+ dh_compress -p$(p_gcc)
+ dh_fixperms -p$(p_gcc)
+ dh_shlibdeps -p$(p_gcc)
+ dh_gencontrol -p$(p_gcc) -- -v$(DEB_VERSION) $(common_substvars)
+ sed 's/cross-/$(TP)/g;s/-ver/$(pkg_ver)/g' < debian/gcc-cross.postinst > debian/$(p_gcc)/DEBIAN/postinst
+ sed 's/cross-/$(TP)/g;s/-ver/$(pkg_ver)/g' < debian/gcc-cross.prerm > debian/$(p_gcc)/DEBIAN/prerm
+ chmod 755 debian/$(p_gcc)/DEBIAN/{postinst,prerm}
+ dh_installdeb -p$(p_gcc)
+ dh_md5sums -p$(p_gcc)
+ dh_builddeb -p$(p_gcc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+ : # remove empty directories, when all components are in place
+ for d in `find $(d) -depth -type d -empty 2> /dev/null`; do \
+ while rmdir $$d 2> /dev/null; do d=`dirname $$d`; done; \
+ done
+
+ @echo "Listing installed files not included in any package:"
+ -find $(d) ! -type d
+
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-libffi.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-libffi.mk
@@ -0,0 +1,72 @@
+arch_binaries := $(arch_binaries) libffi
+
+p_ffi = libffi$(FFI_SONAME)
+p_ffid = libffi$(FFI_SONAME)-dev
+
+d_ffi = debian/$(p_ffi)
+d_ffid = debian/$(p_ffid)
+
+dirs_ffi = \
+ $(docdir)/$(p_ffi) \
+ $(PF)/$(libdir)
+files_ffi = \
+ $(PF)/$(libdir)/libffi.so.*
+
+dirs_ffid = \
+ $(docdir) \
+ $(PF)/include \
+ $(gcc_lib_dir)/include
+files_ffid = \
+ $(gcc_lib_dir)/include/libffi \
+ $(PF)/include/{ffi.h,ffitarget.h} \
+ $(PF)/$(libdir)/libffi.{a,so,la}
+
+ifeq ($(biarch),yes)
+ dirs_ffi += $(PF)/$(lib64)
+ files_ffi += $(PF)/$(lib64)/libffi.so.*
+ dirs_ffid += $(PF)/$(lib64)
+ files_ffid += $(PF)/$(lib64)/libffi.{a,so,la}
+endif
+
+$(binary_stamp)-libffi: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_ffi) $(d_ffid)
+ dh_installdirs -p$(p_ffi) $(dirs_ffi)
+ dh_installdirs -p$(p_ffid) $(dirs_ffid)
+
+ mv $(d)/$(gcc_lib_dir)/include/libffi/ffitarget.h $(d)/$(PF)/include/.
+
+ DH_COMPAT=2 dh_movefiles -p$(p_ffi) $(files_ffi)
+ DH_COMPAT=2 dh_movefiles -p$(p_ffid) $(files_ffid)
+
+ dh_installdocs -p$(p_ffi) $(srcdir)/libffi/README
+ dh_installchangelogs -p$(p_ffi) $(srcdir)/libffi/ChangeLog
+ cp -p $(srcdir)/libffi/LICENSE $(d_ffi)/$(docdir)/$(p_ffi)/copyright
+ cp -p $(srcdir)/libffi/ChangeLog.libgcj \
+ $(d_ffi)/$(docdir)/$(p_ffi)/changelog.libgcj
+ debian/dh_doclink -p$(p_ffid) $(p_ffi)
+
+ debian/dh_rmemptydirs -p$(p_ffi)
+ debian/dh_rmemptydirs -p$(p_ffid)
+
+ dh_strip -p$(p_ffi) -p$(p_ffid)
+ dh_compress -p$(p_ffi) -p$(p_ffid)
+ dh_fixperms -p$(p_ffi) -p$(p_ffid)
+ dh_makeshlibs -p$(p_ffi) -V '$(p_ffi) (>= $(DEB_FFI_SOVERSION))'
+ dh_shlibdeps -p$(p_ffi) -p$(p_ffid)
+ dh_gencontrol -p$(p_ffi) -p$(p_ffid) \
+ -- -v$(DEB_EVERSION) $(common_substvars)
+ b=libffi; v=$(FFI_SONAME); \
+ for ext in preinst postinst prerm postrm; do \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done
+ dh_installdeb -p$(p_ffi) -p$(p_ffid)
+ dh_md5sums -p$(p_ffi) -p$(p_ffid)
+ dh_builddeb -p$(p_ffi) -p$(p_ffid)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-libstdcxx.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-libstdcxx.mk
@@ -0,0 +1,444 @@
+ifeq ($(with_libcxx),yes)
+ arch_binaries := $(arch_binaries) libstdcxx
+endif
+ifeq ($(with_lib64cxx),yes)
+ arch_binaries := $(arch_binaries) lib64stdcxx
+endif
+ifeq ($(with_lib32cxx),yes)
+ arch_binaries := $(arch_binaries) lib32stdcxx
+endif
+
+ifeq ($(with_cxxdev),yes)
+ arch_binaries := $(arch_binaries) libstdcxx-dev
+ indep_binaries := $(indep_binaries) libstdcxx-doc
+endif
+
+p_lib = libstdc++$(CXX_SONAME)
+p_dev = $(p_lib)-dev
+p_pic = $(p_lib)-pic
+p_dbg = $(p_lib)-dbg
+p_lib64 = lib64stdc++$(CXX_SONAME)
+p_lib32 = lib32stdc++$(CXX_SONAME)
+p_libd = libstdc++6-doc
+
+d_lib = debian/$(p_lib)
+d_lib64 = debian/$(p_lib64)
+d_lib32 = debian/$(p_lib32)
+d_dev = debian/$(p_dev)
+d_pic = debian/$(p_pic)
+d_dbg = debian/$(p_dbg)
+d_libd = debian/$(p_libd)
+
+dirs_lib = \
+ $(docdir) \
+ $(PF)/$(libdir)
+
+dirs_lib64 = \
+ $(docdir) \
+ $(PF)/lib64
+
+files_lib = \
+ $(PF)/$(libdir)/libstdc++.so.*
+
+files_lib64 = \
+ $(PF)/lib64/libstdc++.so.*
+
+dirs_dev = \
+ $(docdir)/$(p_base)/C++ \
+ $(PF)/$(libdir) \
+ $(gcc_lib_dir)/include \
+ $(cxx_inc_dir)
+
+files_dev = \
+ $(cxx_inc_dir)/ \
+ $(gcc_lib_dir)/libstdc++.{a,so} \
+ $(gcc_lib_dir)/libsupc++.a
+# Not yet...
+# $(PF)/$(libdir)/lib{supc,stdc}++.la
+
+dirs_dbg = \
+ $(docdir) \
+ $(PF)/$(libdir)/debug \
+ $(gcc_lib_dir)
+files_dbg = \
+ $(PF)/$(libdir)/debug/libstdc++.*
+
+dirs_pic = \
+ $(docdir) \
+ $(gcc_lib_dir)
+files_pic = \
+ $(gcc_lib_dir)/libstdc++_pic.a
+
+ifeq ($(biarch),yes)
+ dirs_dev += $(gcc_lib_dir)/64/
+ files_dev += $(gcc_lib_dir)/64/libstdc++.{a,so} \
+ $(gcc_lib_dir)/64/libsupc++.a
+ dirs_dbg += $(PF)/lib64/debug
+ files_dbg += $(PF)/lib64/debug/libstdc++.*
+ dirs_pic += $(gcc_lib_dir)
+ files_pic += $(gcc_lib_dir)/64/libstdc++_pic.a
+endif
+ifeq ($(biarch32),yes)
+ dirs_dev += $(gcc_lib_dir)/32/
+ files_dev += $(gcc_lib_dir)/32/libstdc++.{a,so} \
+ $(gcc_lib_dir)/32/libsupc++.a
+ dirs_dbg += $(PF)/lib32/debug
+ files_dbg += $(PF)/lib32/debug/libstdc++.*
+ dirs_pic += $(gcc_lib_dir)
+ files_pic += $(gcc_lib_dir)/32/libstdc++_pic.a
+endif
+
+# ----------------------------------------------------------------------
+
+gxx_baseline_dir = $(shell \
+ sed -n '/^baseline_dir *=/s,.*= *\(.*\)\$$.*$$,\1,p' \
+ $(buildlibdir)/libstdc++-v3/testsuite/Makefile)
+gxx_baseline_file = $(gxx_baseline_dir)/baseline_symbols.txt
+
+debian/README.libstdc++-baseline:
+ cat debian/README.libstdc++-baseline.in \
+ > debian/README.libstdc++-baseline
+
+ baseline_name=`basename $(gxx_baseline_dir)`; \
+ baseline_parentdir=`dirname $(gxx_baseline_dir)`; \
+ compat_baseline_name=""; \
+ if [ -f "$(gxx_baseline_file)" ]; then \
+ ( \
+ echo "A baseline file for $$baseline_name was found."; \
+ echo "Running the check-abi script ..."; \
+ echo ""; \
+ $(MAKE) -C $(buildlibdir)/libstdc++-v3/testsuite \
+ check-abi; \
+ ) >> debian/README.libstdc++-baseline; \
+ else \
+ ( \
+ echo "No baseline file found for $$baseline_name."; \
+ echo "Generating a new baseline file ..."; \
+ echo ""; \
+ ) >> debian/README.libstdc++-baseline; \
+ mkdir $(gxx_baseline_dir); \
+ $(MAKE) -C $(buildlibdir)/libstdc++-v3/testsuite new-abi-baseline; \
+ cat $(gxx_baseline_file) >> debian/README.libstdc++-baseline; \
+ fi
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-libstdcxx: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lib)
+ dh_installdirs -p$(p_lib) $(dirs_lib)
+ DH_COMPAT=2 dh_movefiles -p$(p_lib) $(files_lib)
+
+ dh_installdocs -p$(p_lib)
+ echo "See /$(docdir)/$(p_base) for more information" \
+ > $(d_lib)/$(docdir)/$(p_lib)/README.Debian
+
+ dh_installchangelogs -p$(p_lib)
+ debian/dh_rmemptydirs -p$(p_lib)
+
+ dh_strip -p$(p_lib)
+ dh_compress -p$(p_lib)
+ dh_fixperms -p$(p_lib)
+ dh_makeshlibs -p$(p_lib) -V '$(p_lib) (>= $(DEB_STDCXX_SOVERSION))'
+ cat debian/$(p_lib)/DEBIAN/shlibs >> debian/shlibs.local
+ dh_shlibdeps \
+ -L$(p_lgcc) -l:$(d)/$(PF)/lib:$(d_lgcc)/lib:\
+ -p$(p_lib)
+ dh_gencontrol -p$(p_lib) -- -v$(DEB_VERSION) $(common_substvars)
+
+ b=libstdc++; \
+ for ext in preinst postinst prerm postrm; do \
+ for t in ''; do \
+ v=$(CXX_SONAME); \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done; \
+ done
+
+ dh_installdeb -p$(p_lib)
+ dh_md5sums -p$(p_lib)
+ dh_builddeb -p$(p_lib)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-lib64stdcxx: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lib64)
+ dh_installdirs -p$(p_lib64) $(dirs_lib64)
+ install -d $(d)/lib64
+ DH_COMPAT=2 dh_movefiles -p$(p_lib64) $(files_lib64)
+ dh_installdocs -p$(p_lib64)
+ echo "See /$(docdir)/$(p_base) for more information" \
+ > $(d_lib64)/$(docdir)/$(p_lib64)/README.Debian
+ dh_installchangelogs -p$(p_lib64)
+ debian/dh_rmemptydirs -p$(p_lib64)
+ dh_strip -p$(p_lib64)
+ dh_compress -p$(p_lib64)
+ dh_fixperms -p$(p_lib64)
+ dh_makeshlibs -p$(p_lib64) -V '$(p_lib64) (>= $(DEB_STDCXX_SOVERSION))'
+# pass explicit dependencies to dh_shlibdeps
+ifeq ($(DEB_TARGET_GNU_CPU),s390)
+# dh_shlibdeps -p$(p_lib64) -L $(p_l64gcc) -l $(d_l64gcc)/lib
+#/usr/bin/ldd: line 1: /lib/ld64.so.1: cannot execute binary file
+#dpkg-shlibdeps: failure: ldd on `debian/lib64gcc1/lib64/libgcc_s.so.1' gave error exit status 1
+ echo 'shlibs:Depends=libc6-s390x (>= 2.3.1-1), $(p_l64gcc) (>= $(DEB_LIBGCC_SOVERSION))' \
+ > debian/$(p_lib64).substvars
+else
+ ifeq ($(DEB_TARGET_GNU_CPU),i386)
+ ifeq ($(distribution),Ubuntu)
+ echo 'shlibs:Depends=libc6-amd64, $(p_l64gcc) (>= $(DEB_LIBGCC_SOVERSION))' \
+ > debian/$(p_lib64).substvars
+ else
+ echo 'shlibs:Depends=libc6-amd64 | amd64-libs (>= 0.1), $(p_l64gcc) (>= $(DEB_LIBGCC_SOVERSION))' \
+ > debian/$(p_lib64).substvars
+ endif
+ else
+ ifeq ($(DEB_TARGET_GNU_CPU),powerpc)
+ echo 'shlibs:Depends=libc6-ppc64, $(p_l64gcc) (>= $(DEB_LIBGCC_SOVERSION))' \
+ > debian/$(p_lib64).substvars
+ else
+ ifeq ($(DEB_TARGET_GNU_CPU),sparc)
+ echo 'shlibs:Depends=libc6-sparc64 (>= 2.3.2.ds1-21), $(p_l64gcc) (>= $(DEB_LIBGCC_SOVERSION))' \
+ > debian/$(p_lib64).substvars
+ else
+ dh_shlibdeps -p$(p_lib64) -L $(p_l64gcc) -l $(d_l64gcc)/lib
+ endif
+ endif
+ endif
+endif
+ dh_gencontrol -p$(p_lib64) -- -v$(DEB_VERSION) $(common_substvars)
+
+ b=lib64stdc++; \
+ for ext in preinst postinst prerm postrm; do \
+ for t in ''; do \
+ v=$(CXX_SONAME); \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done; \
+ done
+
+ dh_installdeb -p$(p_lib64)
+ dh_md5sums -p$(p_lib64)
+ dh_builddeb -p$(p_lib64)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-lib32stdcxx: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lib32)
+
+ dh_installdirs -p$(p_lib32) \
+ $(docdir)/$(p_lib32) \
+ $(lib32)
+ mv $(d)/$(lib32)/libstdc++.so.* \
+ $(d_lib32)/$(lib32)/.
+
+ dh_installdocs -p$(p_lib32)
+ echo "See /$(docdir)/$(p_base) for more information" \
+ > $(d_lib32)/$(docdir)/$(p_lib32)/README.Debian
+ dh_installchangelogs -p$(p_lib32)
+ debian/dh_rmemptydirs -p$(p_lib32)
+ dh_strip -p$(p_lib32)
+ dh_compress -p$(p_lib32)
+ dh_fixperms -p$(p_lib32)
+ dh_gencontrol -p$(p_lib32) -- -v$(DEB_VERSION) $(common_substvars)
+
+ b=lib32stdc++; \
+ for ext in preinst postinst prerm postrm; do \
+ for t in ''; do \
+ v=$(CXX_SONAME); \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done; \
+ done
+
+ dh_installdeb -p$(p_lib32)
+ dh_md5sums -p$(p_lib32)
+ dh_builddeb -p$(p_lib32)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+libcxxdev_deps = $(install_stamp)
+ifeq ($(with_libcxx),yes)
+ libcxxdev_deps += $(binary_stamp)-libstdcxx
+endif
+ifeq ($(with_check),yes)
+ libcxxdev_deps += debian/README.libstdc++-baseline
+endif
+$(binary_stamp)-libstdcxx-dev: $(libcxxdev_deps)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_dev) $(d_pic)
+ dh_installdirs -p$(p_dev) $(dirs_dev)
+ dh_installdirs -p$(p_pic) $(dirs_pic)
+ dh_installdirs -p$(p_dbg) $(dirs_dbg)
+
+ : # - correct libstdc++-v3 file locations
+ mv $(d)/$(PF)/$(libdir)/libsupc++.a $(d)/$(gcc_lib_dir)/
+ mv $(d)/$(PF)/$(libdir)/libstdc++.{a,so} $(d)/$(gcc_lib_dir)/
+ mv $(d)/$(PF)/$(libdir)/libstdc++_pic.a $(d)/$(gcc_lib_dir)/
+
+ rm -f $(d)/$(PF)/$(libdir)/debug/libstdc++_pic.a
+ rm -f $(d)/$(PF)/lib64/debug/libstdc++_pic.a
+
+ : # remove precompiled headers
+ -find $(d) -type d -name '*.gch' | xargs rm -rf
+
+ifeq ($(biarch),yes)
+ mv $(d)/$(PF)/lib64/lib*c++*.{a,so} $(d)/$(gcc_lib_dir)/64/.
+ ifeq ($(DEB_TARGET_ARCH),i386)
+ mv $(d)/$(cxx_inc_dir)/x86_64-linux $(d)/$(cxx_inc_dir)/x86_64-linux-gnu
+ endif
+endif
+ifeq ($(biarch32),yes)
+ mv $(d)/$(lib32)/lib*c++*.{a,so} $(d)/$(gcc_lib_dir)/32/.
+endif
+
+ DH_COMPAT=2 dh_movefiles -p$(p_dev) $(files_dev)
+ DH_COMPAT=2 dh_movefiles -p$(p_pic) $(files_pic)
+ DH_COMPAT=2 dh_movefiles -p$(p_dbg) $(files_dbg)
+
+ dh_link -p$(p_dev) \
+ /$(PF)/$(libdir)/libstdc++.so.$(CXX_SONAME) \
+ /$(gcc_lib_dir)/libstdc++.so
+ifeq ($(biarch),yes)
+ dh_link -p$(p_dev) \
+ /$(PF)/lib64/libstdc++.so.$(CXX_SONAME) \
+ /$(gcc_lib_dir)/64/libstdc++.so
+endif
+ifeq ($(biarch32),yes)
+ dh_link -p$(p_dev) \
+ /$(lib32)/libstdc++.so.$(CXX_SONAME) \
+ /$(gcc_lib_dir)/32/libstdc++.so
+endif
+
+ debian/dh_doclink -p$(p_dev) $(p_base)
+ debian/dh_doclink -p$(p_pic) $(p_base)
+ debian/dh_doclink -p$(p_dbg) $(p_base)
+ cp -p $(srcdir)/libstdc++-v3/ChangeLog \
+ $(d_dev)/$(docdir)/$(p_base)/C++/changelog.libstdc++
+ifeq ($(with_check),yes)
+ cp -p debian/README.libstdc++-baseline \
+ $(d_dev)/$(docdir)/$(p_base)/C++/README.libstdc++-baseline
+ if [ -f $(buildlibdir)/libstdc++-v3/testsuite/current_symbols.txt ]; \
+ then \
+ cp -p $(buildlibdir)/libstdc++-v3/testsuite/current_symbols.txt \
+ $(d_dev)/$(docdir)/$(p_base)/C++/libstdc++_symbols.txt; \
+ fi
+endif
+ cp -p $(srcdir)/libstdc++-v3/config/linker-map.gnu \
+ $(d_pic)/$(gcc_lib_dir)/libstdc++_pic.map
+
+ifeq ($(with_cxxdev),yes)
+ debian/dh_rmemptydirs -p$(p_dev)
+ debian/dh_rmemptydirs -p$(p_pic)
+ debian/dh_rmemptydirs -p$(p_dbg)
+endif
+
+ dh_strip -p$(p_dev) -p$(p_pic)
+ dh_compress -p$(p_dev) -p$(p_pic) -p$(p_dbg) -X.txt
+ dh_fixperms -p$(p_dev) -p$(p_pic) -p$(p_dbg)
+ifeq ($(biarch),yes)
+ dh_shlibdeps -p$(p_dev) -p$(p_pic) -p$(p_dbg) -Xlib64
+else
+ dh_shlibdeps -p$(p_dev) -p$(p_pic) -p$(p_dbg) -Xlib32/debug
+endif
+ dh_gencontrol -p$(p_dev) -p$(p_pic) -p$(p_dbg) \
+ -- -v$(DEB_VERSION) $(common_substvars)
+
+ b=libstdc++; \
+ for ext in preinst postinst prerm postrm; do \
+ for t in -dev -dbg -pic; do \
+ v=$(CXX_SONAME); \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done; \
+ done
+
+ dh_installdeb -p$(p_dev) -p$(p_pic) -p$(p_dbg)
+ dh_md5sums -p$(p_dev) -p$(p_pic) -p$(p_dbg)
+ dh_builddeb -p$(p_dev) -p$(p_pic) -p$(p_dbg)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+
+doxygen_doc_dir = $(buildlibdir)/libstdc++-v3/docs/doxygen
+
+doxygen-docs: $(build_doxygen_stamp)
+$(build_doxygen_stamp):
+ rm -rf $(doxygen_doc_dir)/html*
+ $(MAKE) -C $(buildlibdir)/libstdc++-v3 SHELL=/bin/bash doxygen; \
+ $(MAKE) -C $(buildlibdir)/libstdc++-v3 SHELL=/bin/bash doxygen-man
+ if [ -f $(doxygen_doc_dir)/html_user/index.html ]; then \
+ sed -e 's,http://gcc\.gnu\.org/onlinedocs/libstdc++,../html,g' \
+ -e 's,Main Page,libstdc++-v3 Source: Main Index,' \
+ $(doxygen_doc_dir)/html_user/index.html \
+ > $(doxygen_doc_dir)/html_user/index.html.new; \
+ mv -f $(doxygen_doc_dir)/html_user/index.html.new \
+ $(doxygen_doc_dir)/html_user/index.html; \
+ else \
+ echo "unable to generate doxygen docs"; \
+ exit 2; \
+ fi
+ touch $@
+
+$(binary_stamp)-libstdcxx-doc: $(install_stamp) doxygen-docs
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_libd)
+ dh_installdirs -p$(p_libd) \
+ $(docdir)/$(p_base)/libstdc++ \
+ $(PF)/share/man
+
+# debian/dh_doclink -p$(p_libd) $(p_base)
+ dh_link -p$(p_libd) /usr/share/doc/$(p_base) /usr/share/doc/$(p_libd)
+ dh_installdocs -p$(p_libd)
+ rm -f $(d_libd)/$(docdir)/$(p_base)/copyright
+
+ cp -a $(srcdir)/libstdc++-v3/docs/html \
+ $(d_libd)/$(docdir)/$(p_base)/libstdc++/.
+ ln -sf documentation.html \
+ $(d_libd)/$(docdir)/$(p_base)/libstdc++/html/index.html
+ -find $(d_libd)/$(docdir)/$(p_base)/libstdc++/ -name CVS -type d \
+ | xargs rm -rf
+
+ cp -a $(doxygen_doc_dir)/html_user \
+ $(d_libd)/$(docdir)/$(p_base)/libstdc++/.
+ cp -a $(doxygen_doc_dir)/man/man3 \
+ $(d_libd)/$(PF)/share/man/.
+ cp -p $(srcdir)/libstdc++-v3/docs/doxygen/Intro.3 \
+ $(d_libd)/$(PF)/share/man/man3/C++Intro.3
+
+ mkdir -p $(d_libd)/usr/share/lintian/overrides
+ cp -p debian/$(p_libd).overrides \
+ $(d_libd)/usr/share/lintian/overrides/$(p_libd)
+
+ dh_compress -p$(p_libd) -Xhtml/17_intro -X.txt -X.tag
+ dh_fixperms -p$(p_libd)
+ dh_gencontrol -p$(p_libd) -- -v$(DEB_VERSION) $(common_substvars)
+
+ dh_installdeb -p$(p_libd)
+ dh_md5sums -p$(p_libd)
+ dh_builddeb -p$(p_libd)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-fortran.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-fortran.mk
@@ -0,0 +1,259 @@
+ifeq ($(with_libg2c),yes)
+ arch_binaries := $(arch_binaries) libg2c
+endif
+ifeq ($(with_lib32g2c),yes)
+ arch_binaries := $(arch_binaries) lib32g2c
+endif
+ifeq ($(with_lib64g2c),yes)
+ arch_binaries := $(arch_binaries) lib64g2c
+endif
+
+ifeq ($(with_fdev),yes)
+ arch_binaries := $(arch_binaries) fdev
+ ifneq ($(GFDL_INVARIANT_FREE),yes)
+ indep_binaries := $(indep_binaries) fortran-doc
+ endif
+ arch_binaries := $(arch_binaries) libg2c-dev
+endif
+
+p_g77 = g77$(pkg_ver)
+p_g77d = g77$(pkg_ver)-doc
+p_g2c = libg2c$(F77_SONAME)
+p_g2c32 = lib32g2c$(F77_SONAME)
+p_g2c64 = lib64g2c$(F77_SONAME)
+p_g2cd = libg2c$(F77_SONAME)-dev
+
+d_g77 = debian/$(p_g77)
+d_g77d = debian/$(p_g77d)
+d_g2c = debian/$(p_g2c)
+d_g2c32 = debian/$(p_g2c32)
+d_g2c64 = debian/$(p_g2c64)
+d_g2cd = debian/$(p_g2cd)
+
+dirs_g77 = \
+ $(docdir)/$(p_base)/fortran \
+ $(PF)/bin \
+ $(gcc_lexec_dir) \
+ $(gcc_lib_dir)/include \
+ $(PF)/include \
+ $(PF)/share/man/man1
+files_g77 = \
+ $(PF)/bin/g77$(pkg_ver) \
+ $(gcc_lexec_dir)/f771 \
+ $(PF)/share/man/man1/g77$(pkg_ver).1
+
+dirs_g2c = \
+ $(docdir)/$(p_base)/fortran \
+ $(PF)/$(libdir) \
+
+files_g2c = \
+ $(PF)/$(libdir)/libg2c.so.*
+
+dirs_g2cd = \
+ $(docdir)/$(p_base)/fortran \
+ $(PF)/$(libdir) \
+ $(PF)/include \
+
+files_g2cd = \
+ $(PF)/$(libdir)/libg2c.{a,la,so} \
+ $(PF)/$(libdir)/libfrtbegin.a \
+ $(PF)/include/g2c.h
+
+ifeq ($(with_lib32g2c),yes)
+ dirs_g2cd += $(lib32)
+ files_g2cd += $(lib32)/{libg2c.{a,la,so},libfrtbegin.a}
+endif
+ifeq ($(with_lib64g2c),yes)
+ dirs_g2cd += $(PF)/lib64
+ files_g2cd += $(PF)/lib64/{libg2c.{a,la,so},libfrtbegin.a}
+endif
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-libg2c: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_g2c)
+ dh_installdirs -p$(p_g2c) $(dirs_g2c)
+ DH_COMPAT=2 dh_movefiles -p$(p_g2c) $(files_g2c)
+ debian/dh_doclink -p$(p_g2c) $(p_base)
+ cp -p debian/README.libf2c \
+ $(d_g2c)/$(docdir)/$(p_base)/fortran/README.Debian
+
+ dh_strip -p$(p_g2c)
+ dh_compress -p$(p_g2c)
+ dh_fixperms -p$(p_g2c)
+ dh_makeshlibs -p$(p_g2c) -V '$(p_g2c) (>= $(DEB_F2C_SOVERSION))'
+ dh_shlibdeps -p$(p_g2c)
+ dh_gencontrol -p$(p_g2c) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_g2c)
+ dh_md5sums -p$(p_g2c)
+ dh_builddeb -p$(p_g2c)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-lib64g2c: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_g2c64)
+ dh_installdirs -p$(p_g2c64) \
+ $(PF)/lib64
+ DH_COMPAT=2 dh_movefiles -p$(p_g2c64) \
+ $(PF)/lib64/libg2c.so.*
+
+ debian/dh_doclink -p$(p_g2c64) $(p_base)
+
+ dh_strip -p$(p_g2c64)
+ dh_compress -p$(p_g2c64)
+ dh_fixperms -p$(p_g2c64)
+ dh_makeshlibs -p$(p_g2c64) -V '$(p_g2c64) (>= $(DEB_F2C_SOVERSION))'
+# dh_shlibdeps -p$(p_g2c64)
+ dh_gencontrol -p$(p_g2c64) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_g2c64)
+ dh_md5sums -p$(p_g2c64)
+ dh_builddeb -p$(p_g2c64)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-lib32g2c: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_g2c32)
+ dh_installdirs -p$(p_g2c32) \
+ $(lib32)
+ DH_COMPAT=2 dh_movefiles -p$(p_g2c32) \
+ $(lib32)/libg2c.so.*
+
+ debian/dh_doclink -p$(p_g2c32) $(p_base)
+
+ dh_strip -p$(p_g2c32)
+ dh_compress -p$(p_g2c32)
+ dh_fixperms -p$(p_g2c32)
+ dh_makeshlibs -p$(p_g2c32) -V '$(p_g2c32) (>= $(DEB_F2C_SOVERSION))'
+# dh_shlibdeps -p$(p_g2c32)
+ dh_gencontrol -p$(p_g2c32) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_g2c32)
+ dh_md5sums -p$(p_g2c32)
+ dh_builddeb -p$(p_g2c32)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-libg2c-dev: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_g2cd)
+ dh_installdirs -p$(p_g2cd) $(dirs_g2cd)
+ mv $(d)/$(gcc_lib_dir)/include/g2c.h $(d)/$(PF)/include/
+ dh_movefiles -p$(p_g2cd) $(files_g2cd)
+ debian/dh_doclink -p$(p_g2cd) $(p_base)
+
+ dh_strip -p$(p_g2cd)
+ dh_compress -p$(p_g2cd)
+ dh_fixperms -p$(p_g2cd)
+ dh_shlibdeps -p$(p_g2cd)
+ dh_gencontrol -p$(p_g2cd) -- -v$(DEB_EVERSION) $(common_substvars)
+ dh_installdeb -p$(p_g2cd)
+ dh_md5sums -p$(p_g2cd)
+ dh_builddeb -p$(p_g2cd)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-fdev: $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+# sed "s,^libdir=.*,libdir='/$(gcc_lib_dir)'," \
+# $(d)/$(PF)/$(libdir)/libg2c.la > $(d)/$(gcc_lib_dir)/libg2c.la
+# rm -f $(d)/$(PF)/$(libdir)/libg2c.la
+# mv $(d)/$(PF)/$(libdir)/libg2c.{a,so} $(d)/$(gcc_lib_dir)/
+# ln -sf ../../../libg2c.so.$(F77_SONAME) \
+# $(d)/$(gcc_lib_dir)/libg2c.so
+# mv $(d)/$(PF)/$(libdir)/libfrtbegin.a $(d)/$(gcc_lib_dir)/
+
+#ifeq ($(biarch),yes)
+# ifeq ($(DEB_TARGET_GNU_CPU),i386)
+# mv $(d)/$(PF)/$(lib64)/libg2c.{a,la,so} $(d)/$(gcc_lib_dir)/64
+# ln -sf ../../../../lib64/libg2c.so.$(F77_SONAME) \
+# $(d)/$(gcc_lib_dir)/64/libg2c.so
+# mv $(d)/$(PF)/$(lib64)/libfrtbegin.a $(d)/$(gcc_lib_dir)/64
+# endif
+#endif
+ rm -rf $(d_g77)
+ dh_installdirs -p$(p_g77) $(dirs_g77)
+ DH_COMPAT=2 dh_movefiles -p$(p_g77) $(files_g77)
+
+# dh_installdirs -p$(p_g2cd) $(dirs_g2cd)
+# DH_COMPAT=2 dh_movefiles -p$(p_g2cd) $(files_g2cd)
+
+ ln -sf g77$(pkg_ver) \
+ $(d_g77)/$(PF)/bin/$(DEB_TARGET_GNU_TYPE)-g77$(pkg_ver)
+ ln -sf g77$(pkg_ver).1 \
+ $(d_g77)/$(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-g77$(pkg_ver).1
+ ln -sf g77$(pkg_ver) \
+ $(d_g77)/$(PF)/bin/$(TARGET_ALIAS)-g77$(pkg_ver)
+ ln -sf g77$(pkg_ver).1 \
+ $(d_g77)/$(PF)/share/man/man1/$(TARGET_ALIAS)-g77$(pkg_ver).1
+
+ debian/dh_doclink -p$(p_g77) $(p_base)
+# debian/dh_doclink -p$(p_g2cd) $(p_base)
+
+# #cp -p $(srcdir)/gcc/f/{NEWS,BUGS} \
+# # $(d_g77)/$(docdir)/$(p_base)/fortran/.
+ cp -p $(srcdir)/libf2c/README \
+ $(d_g77)/$(docdir)/$(p_base)/fortran/README.libf2c
+ cp -p $(srcdir)/gcc/f/ChangeLog \
+ $(d_g77)/$(docdir)/$(p_base)/fortran/changelog
+ debian/dh_rmemptydirs -p$(p_g77)
+# debian/dh_rmemptydirs -p$(p_g2cd)
+
+ dh_strip -p$(p_g77)
+ dh_compress -p$(p_g77)
+ dh_fixperms -p$(p_g77)
+ dh_shlibdeps -p$(p_g77)
+ dh_gencontrol -p$(p_g77) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_installdeb -p$(p_g77)
+ dh_md5sums -p$(p_g77)
+ dh_builddeb -p$(p_g77)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-fortran-doc: $(build_html_stamp) $(install_stamp)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_g77d)
+ dh_installdirs -p$(p_g77d) \
+ $(docdir)/$(p_base)/fortran \
+ $(PF)/share/info
+ DH_COMPAT=2 dh_movefiles -p$(p_g77d) \
+ $(PF)/share/info/g77*
+
+ debian/dh_doclink -p$(p_g77d) $(p_base)
+ifneq ($(GFDL_INVARIANT_FREE),yes)
+ dh_installdocs -p$(p_g77d)
+ rm -f $(d_g77d)/$(docdir)/$(p_base)/copyright
+ cp -p html/g77.html $(d_g77d)/$(docdir)/$(p_base)/fortran/
+endif
+
+ dh_compress -p$(p_g77d)
+ dh_fixperms -p$(p_g77d)
+ dh_installdeb -p$(p_g77d)
+ dh_gencontrol -p$(p_g77d) -- -v$(DEB_VERSION) $(common_substvars)
+ dh_md5sums -p$(p_g77d)
+ dh_builddeb -p$(p_g77d)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/rules.d/binary-libgcc.mk
+++ gcc-3.4-3.4.6/debian/rules.d/binary-libgcc.mk
@@ -0,0 +1,165 @@
+ifeq ($(with_libgcc),yes)
+ arch_binaries := $(arch_binaries) libgcc
+endif
+ifeq ($(with_lib32gcc),yes)
+ arch_binaries := $(arch_binaries) lib32gcc
+endif
+ifeq ($(with_lib64gcc),yes)
+ arch_binaries := $(arch_binaries) lib64gcc
+endif
+
+p_lgcc = libgcc$(GCC_SONAME)
+d_lgcc = debian/$(p_lgcc)
+
+p_l32gcc = lib32gcc$(GCC_SONAME)
+d_l32gcc = debian/$(p_l32gcc)
+
+p_l64gcc = lib64gcc$(GCC_SONAME)
+d_l64gcc = debian/$(p_l64gcc)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-libgcc: $(install_dependencies)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_lgcc)
+ dh_installdirs -p$(p_lgcc) \
+ $(docdir)/$(p_lgcc) \
+ $(libdir)
+
+ifeq ($(with_shared_libgcc),yes)
+ mv $(d)/$(PF)/lib/libgcc_s.so.$(GCC_SONAME) $(d_lgcc)/$(libdir)/.
+endif
+
+ dh_installdocs -p$(p_lgcc)
+ dh_installchangelogs -p$(p_lgcc)
+
+ debian/dh_rmemptydirs -p$(p_lgcc)
+ifeq ($(with_shared_libgcc),yes)
+ dh_makeshlibs -p$(p_lgcc) -V '$(p_lgcc) (>= $(DEB_LIBGCC_SOVERSION))'
+ dh_shlibdeps -p$(p_lgcc)
+ cat debian/$(p_lgcc)/DEBIAN/shlibs >> debian/shlibs.local
+endif
+ dh_strip -p$(p_lgcc)
+ dh_compress -p$(p_lgcc)
+ dh_fixperms -p$(p_lgcc)
+ dh_gencontrol -p$(p_lgcc) \
+ -- -v$(DEB_LIBGCC_VERSION) $(common_substvars)
+ b=libgcc; v=$(GCC_SONAME); \
+ for ext in preinst postinst prerm postrm; do \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done
+ dh_installdeb -p$(p_lgcc)
+ dh_md5sums -p$(p_lgcc)
+ dh_builddeb -p$(p_lgcc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+$(binary_stamp)-lib64gcc: $(install_dependencies)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_l64gcc)
+ dh_installdirs -p$(p_l64gcc) \
+ $(docdir)/$(p_l64gcc) \
+ lib64
+
+ifeq ($(with_shared_libgcc),yes)
+ mv $(d)/$(PF)/lib64/libgcc_s.so.$(GCC_SONAME) $(d_l64gcc)/lib64/.
+endif
+
+ dh_installdocs -p$(p_l64gcc)
+ dh_installchangelogs -p$(p_l64gcc)
+
+ debian/dh_rmemptydirs -p$(p_l64gcc)
+ dh_strip -p$(p_l64gcc)
+ dh_compress -p$(p_l64gcc)
+ dh_fixperms -p$(p_l64gcc)
+ifeq ($(with_shared_libgcc),yes)
+ dh_makeshlibs -p$(p_l64gcc) \
+ -V '$(p_l64gcc) (>= $(DEB_LIBGCC_SOVERSION))'
+# this does not work ... shlibs.local doesn't distinguish 32/64 bit libs
+# cat debian/$(p_l64gcc)/DEBIAN/shlibs >> debian/shlibs.local
+endif
+ifeq ($(DEB_TARGET_ARCH),s390)
+# dh_shlibdeps -p$(p_l64gcc)
+#/usr/bin/ldd: line 1: /lib/ld64.so.1: cannot execute binary file
+#dpkg-shlibdeps: failure: ldd on `debian/lib64gcc1/lib64/libgcc_s.so.1' gave error exit status 1
+ echo 'shlibs:Depends=libc6-s390x (>= 2.3.1-1)' \
+ > debian/$(p_l64gcc).substvars
+else
+ ifeq ($(DEB_TARGET_ARCH),i386)
+ ifeq ($(distribution),Ubuntu)
+ echo 'shlibs:Depends=libc6-amd64' \
+ > debian/$(p_l64gcc).substvars
+ else
+ echo 'shlibs:Depends=libc6-amd64 | amd64-libs (>= 0.1)' \
+ > debian/$(p_l64gcc).substvars
+ endif
+ else
+ ifeq ($(DEB_TARGET_ARCH),powerpc)
+ echo 'shlibs:Depends=libc6-ppc64' \
+ > debian/$(p_l64gcc).substvars
+ else
+ ifeq ($(DEB_TARGET_ARCH),sparc)
+ echo 'shlibs:Depends=libc6-sparc64' \
+ > debian/$(p_l64gcc).substvars
+ else
+ dh_shlibdeps -p$(p_l64gcc)
+ endif
+ endif
+ endif
+endif
+ dh_gencontrol -p$(p_l64gcc) \
+ -- -v$(DEB_LIBGCC_VERSION) $(common_substvars)
+ b=lib64gcc; v=$(GCC_SONAME); \
+ for ext in preinst postinst prerm postrm; do \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done
+ dh_installdeb -p$(p_l64gcc)
+ dh_md5sums -p$(p_l64gcc)
+ dh_builddeb -p$(p_l64gcc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
+
+# ----------------------------------------------------------------------
+
+$(binary_stamp)-lib32gcc: $(install_dependencies)
+ dh_testdir
+ dh_testroot
+ mv $(install_stamp) $(install_stamp)-tmp
+
+ rm -rf $(d_l32gcc)
+ dh_installdirs -p$(p_l32gcc) \
+ $(docdir)/$(p_l32gcc) \
+ $(lib32)
+ mv $(d)/$(PF)/lib32/libgcc_s.so.$(GCC_SONAME) \
+ $(d_l32gcc)/$(lib32)/.
+
+ dh_installdocs -p$(p_l32gcc)
+ dh_installchangelogs -p$(p_l32gcc)
+
+ debian/dh_rmemptydirs -p$(p_l32gcc)
+ dh_strip -p$(p_l32gcc)
+ dh_compress -p$(p_l32gcc)
+ dh_fixperms -p$(p_l32gcc)
+ dh_gencontrol -p$(p_l32gcc) \
+ -- -v$(DEB_VERSION) $(common_substvars)
+ b=lib32gcc; v=$(GCC_SONAME); \
+ for ext in preinst postinst prerm postrm; do \
+ if [ -f debian/$$b$$t.$$ext ]; then \
+ cp -pf debian/$$b$$t.$$ext debian/$$b$$v$$t.$$ext; \
+ fi; \
+ done
+ dh_installdeb -p$(p_l32gcc)
+ dh_md5sums -p$(p_l32gcc)
+ dh_builddeb -p$(p_l32gcc)
+
+ trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
--- gcc-3.4-3.4.6.orig/debian/changelog
+++ gcc-3.4-3.4.6/debian/changelog
@@ -0,0 +1,4696 @@
+gcc-3.4 (3.4.6-1ubuntu2) dapper; urgency=low
+
+ * Configure --with-cpu=v8 on sparc.
+
+ -- Matthias Klose Wed, 15 Mar 2006 21:26:50 +0000
+
+gcc-3.4 (3.4.6-1ubuntu1) dapper; urgency=low
+
+ * Synchronize with Debian unstable.
+
+ -- Matthias Klose Tue, 7 Mar 2006 00:44:59 +0000
+
+gcc-3.4 (3.4.6-1) unstable; urgency=low
+
+ * GCC 3.4.6 release.
+
+ -- Matthias Klose Tue, 7 Mar 2006 00:30:41 +0000
+
+gcc-3.4 (3.4.5ds1-3) unstable; urgency=low
+
+ * Update to SVN 20060302 (3.4.6 pre-release), taken from the gcc-3_4-branch.
+ * Update gpc to 20060215 snapshot.
+ * Force rebuild of pascal-lex.c with current flex.
+ * Disable builds of gnat and gobjc.
+ * Remove disabled binary packages from the control file.
+ * Drop build dependencies on amd64-libs (i386) and ia32-libs (amd64).
+
+ -- Matthias Klose Thu, 2 Mar 2006 05:02:16 +0100
+
+gcc-3.4 (3.4.5-2) unstable; urgency=low
+
+ * Update to SVN 20060122, taken from the gcc-3_4-branch.
+ * Configure --with-tune=i686 on ix86 architectures (on Ubuntu with
+ -mtune=pentium4).
+ * Fix version number in manuals.
+ * Apply patch for PR middle-end/25022.
+ * Update NEWS files for 3.4.5 release.
+ * debian/control.m4: Explicitely set Architecture for biarch packages.
+ * gcc-hppa64: Use /usr/hppa64-linux-gnu/include as location for the glibc
+ headers, tighten glibc (build-)dependency.
+ * On amd64, build-depend on libc6-dev-i386, depend on libc6-i386, where
+ available.
+ * Check for a working expect before starting the build.
+
+ -- Matthias Klose Sun, 22 Jan 2006 16:38:58 +0100
+
+gcc-3.4 (3.4.5-1ubuntu5) dapper; urgency=low
+
+ * Drop the manual-version patch, necessary only for the 3.4.5 release.
+
+ -- Matthias Klose Tue, 17 Jan 2006 18:33:41 +0100
+
+gcc-3.4 (3.4.5-1ubuntu4) dapper; urgency=low
+
+ * Update NEWS files for 3.4.5 release.
+ * Update to SVN 20060117, taken from the gcc-3_4-branch.
+ * Drop (build-)dependencies on ia32-libs(-dev).
+ * debian/control.m4: Explicitely set Architecture for biarch packages.
+ * gcc-hppa64: Use /usr/hppa64-linux-gnu/include as location for the glibc
+ headers, tighten glibc (build-)dependency.
+ * Check for a working expect before starting the build.
+
+ -- Matthias Klose Tue, 17 Jan 2006 12:23:47 +0000
+
+gcc-3.4 (3.4.5-1ubuntu3) dapper; urgency=low
+
+ * Configure --with-tune=i686 on ix86 architectures (on Ubuntu with
+ -mtune=pentium4). Remove the cpu-default-* patches.
+ * Fix version number in manuals.
+ * Apply patch for PR middle-end/25022.
+
+ -- Matthias Klose Sat, 3 Dec 2005 10:30:16 +0000
+
+gcc-3.4 (3.4.5-1ubuntu2) dapper; urgency=low
+
+ * Fix installation of biarch libstdc++ headers on amd64.
+
+ -- Matthias Klose Thu, 1 Dec 2005 19:30:00 +0100
+
+gcc-3.4 (3.4.5-1ubuntu1) dapper; urgency=low
+
+ * Synchronise with unstable.
+
+ -- Matthias Klose Thu, 1 Dec 2005 18:13:49 +0100
+
+gcc-3.4 (3.4.5-1) unstable; urgency=low
+
+ * GCC 3.4.5 release.
+ * Remove java-gui-branch patch, java is not built anymore from the
+ 3.4 sources.
+ * On amd64, install 32bit libraries into /emul/ia32-linux/usr/lib.
+ Closes: #341147.
+ * Add Ada support for GNU/kFreeBSD (Aurelien Jarno). Closes: #341222.
+ * Fix installation of biarch libstdc++ headers on amd64.
+
+ -- Matthias Klose Thu, 1 Dec 2005 17:36:39 +0100
+
+gcc-3.4 (3.4.4ds1-12) unstable; urgency=low
+
+ * Add missing patch file.
+
+ -- Matthias Klose Mon, 28 Nov 2005 07:18:35 +0100
+
+gcc-3.4 (3.4.4ds1-11) unstable; urgency=low
+
+ * Update to SVN 20051126, taken from the gcc-3_4-branch (post 3.4.5
+ prerelease).
+ * Update gpc to 20051116 snapshot.
+ * Add patch m32r-pie (Kazuhiro Inaoka). Closes: #340255.
+ * Start the logwatch script for the ia64 build as well (Lamont Jones).
+ * Fix hppa64-linux-gnu-gcc alternative.
+
+ -- Matthias Klose Sat, 26 Nov 2005 20:13:18 +0100
+
+gcc-3.4 (3.4.4-10ubuntu1) dapper; urgency=low
+
+ * Update to SVN 20051117, taken from the gcc-3_4-branch.
+ * Fix installation of biarch libstdc++ headers (Ubuntu #19655).
+ * Merge *-config-ml patches into one config-ml patch, configure the biarch
+ libs in debian/rules.defs.
+ * Remove obsolete patches: multiarch-include.
+
+ -- Matthias Klose Thu, 17 Nov 2005 10:44:29 +0100
+
+gcc-3.4 (3.4.4-10) unstable; urgency=low
+
+ * Configure libstdc++ using the default allocator.
+ * g++-3.4: Depend on libstdc++6 (>= 4.0.2-4).
+
+ * Update to SVN 20051112, taken from the gcc-3_4-branch.
+ * Build-depend on expect-tcl8.3 on all architectures.
+
+ -- Matthias Klose Sat, 12 Nov 2005 14:52:13 +0100
+
+gcc-3.4 (3.4.4-9) unstable; urgency=low
+
+ * Updated to gcc-3.4 CVS 20051015.
+ * Update hurd-changes.dpatch (Michael Banck). Closes: #322624.
+ * Add support for the ppc64 architecture (Andreas Jochens).
+ Closes: #326875.
+ * Fix java wrapper script, mishandles command line options with arguments.
+ * Fix some lintian warnings.
+ * Readd missing gpc info files (closes: #333137).
+ * Update for M32R's libffi patch (NIIBE Yutaka). Closes: #329893.
+ * Add big-endian arm (armeb) support (Lennert Buytenhek). Closes: #331216.
+ * On i386, build-depend on libc6-dev-amd64.
+ * Add gsfonts-x11 to Build-Depends-Indep to avoid warnings from doxygen.
+ * Fix more lintian warnings.
+ * Drop gnat-3.3 as an alternative build dependency. We'll stop building
+ gnat from the 3.3 sources soon.
+ * Add gpc updates by Waldek Habisch, disable patches included in the
+ updates (gpc-version-fix gpc-range-check).
+
+ -- Matthias Klose Sat, 15 Oct 2005 21:25:20 +0200
+
+gcc-3.4 (3.4.4-8) unstable; urgency=low
+
+ * Updated to gcc-3.4 CVS 20050821.
+ * Disable multiarch-includes; redo biarch-includes to include the paths
+ for the non-default biarch, when called with -m32/-m64.
+ * Add biarch include directories
+ /usr/include/c++//-linux-gnu
+ to the C++ include path,
+ /usr/local/include/-linux-gnu
+ /usr/include/-linux-gnu
+ to the system include paths, depending on 32/64 bit mode.
+ * Fix dpkg-architecture adjustments for the Hurd (closes: #322624).
+ * Tighten the dependencies between the compiler packages to the same
+ version and release. Use some substitution variables for control file
+ generation.
+ * Use gcc-3.4 as the bootstrap compiler, prefer gnat-3.4 over gnat-3.3
+ as the ada bootstrap compiler.
+ * Make xlibs-dev a java only build dependency.
+
+ -- Matthias Klose Sun, 21 Aug 2005 17:33:57 +0200
+
+gcc-3.4 (3.4.4-7) unstable; urgency=low
+
+ * Updated to gcc-3.4 CVS 20050809.
+ * Synchronize with Ubuntu.
+ * Add build dependency on lib64gcc1 on powerpc.
+ * Bugs found in GCC-3.3.x, fixed in GCC-3.4.x:
+ - [m68k] ICE: in verify_local_live_at_start (closes: #245584).
+ - Segfault with C++ inheritance (closes: #223226).
+ * gpc docs: Fix hyperlinks to the example files (closes: #321249).
+
+ -- Matthias Klose Tue, 9 Aug 2005 19:58:06 +0200
+
+gcc-3.4 (3.4.4-6ubuntu3) breezy; urgency=low
+
+ * Jeff Bailey
+
+ i386 biarch update for glibc-2.3.5 (not yet enabled for unstable).
+ - debian/rules.d/binary-libgcc.mk: Make i386 lib64gcc1 depend on
+ libc6-amd64.
+ - debian/control.m4: Suggest libc6-dev-amd64 rather than amd64-libs-dev.
+ - debian/rules.conf: Build-Dep on libc6-dev-amd64 [i386]
+ Build-Dep on binutils >= 2.16.1-2ubuntu3
+
+ * Matthias Klose
+
+ - Disable building the ffi, java and treelang packages from the gcc-3.4
+ source.
+ - debian/control: Remove the ffi, java and treelang packages.
+ - Move biarch libg2c shared libraries to the libXXg2c0 package.
+ - Add build dependencies on libXXgcc1 for biarch builds.
+ - libgcj5{,-common}: Add dependency on gcc-3.4-base (closes: #319372).
+
+ -- Matthias Klose Sun, 7 Aug 2005 10:53:21 +0200
+
+gcc-3.4 (3.4.4-6ubuntu2) breezy; urgency=low
+
+ * Fix packaging libg2c0-dev.
+
+ -- Matthias Klose Fri, 29 Jul 2005 23:06:03 +0200
+
+gcc-3.4 (3.4.4-6ubuntu1) breezy; urgency=low
+
+ * Synchronize with Debian.
+
+ -- Matthias Klose Fri, 29 Jul 2005 11:11:11 +0000
+
+gcc-3.4 (3.4.4-6) unstable; urgency=low
+
+ * Enable the biarch compiler for powerpc (closes: #268023).
+ * Updated to gcc-3.4 CVS 20050729.
+ * Fix FTBFS on GNU/kFreeBSD (Aurelien Jarno). Closes: #317965.
+ * Build libg2c biarch packages (closes: #316175).
+ * debian/rules.defs: Replace DEB_TARGET_GNU_CPU with DEB_TARGET_ARCH_CPU.
+
+ -- Matthias Klose Fri, 29 Jul 2005 13:07:14 +0200
+
+gcc-3.4 (3.4.4-5ubuntu1) breezy; urgency=low
+
+ * Synchronize with Debian.
+
+ -- Matthias Klose Wed, 6 Jul 2005 15:49:36 +0200
+
+gcc-3.4 (3.4.4-5) unstable; urgency=low
+
+ * Updated to gcc-3.4 CVS 20050706.
+ * amd64: Fix 32/libgcc symlinks to point to /usr/lib32, instead of /lib32.
+ Closes: #315751, #316141.
+ * arm: Don't change the libstdc++ soname anymore.
+ * libf2c/libI77/fio.c: Set MXUNIT to 1000. Closes: #290102. Require
+ libg2c0 (>= 1:3.4.4-5).
+
+ -- Matthias Klose Wed, 6 Jul 2005 01:33:01 +0200
+
+gcc-3.4 (3.4.4-4) unstable; urgency=low
+
+ * Fix FTBFS of the hppa64-linux cross compiler. Don't add the
+ multiarch include dirs when cross compiling.
+ * Make cpp-X.Y conflict with earlier versions of gcc-X.Y, g++-X.Y, gobjc-X.Y,
+ gcj-X.Y, g77-X.Y, gnat-X.Y, treelang-X.Y, gpc-X.Y, if a path component in
+ the gcc library path changes (i.e. version or target alias).
+ * libg2c-dev: Move g2c.h from the private include directory to /usr/include.
+ Conflict with g77-2.95, g77-2.96.
+ * For gcj-3.4, add a conflict to libgcj4-dev and libgcj6-dev.
+
+ -- Matthias Klose Sat, 2 Jul 2005 12:00:27 +0200
+
+gcc-3.4 (3.4.4-3) unstable; urgency=low
+
+ * On amd64, install the 32bit libraries into /emul/ia32-linux/usr/lib.
+ Restore the /usr/lib32 symlink. Closes: #315751.
+ * debian/NEWS.*: Update for 3.4.4.
+
+ -- Matthias Klose Mon, 27 Jun 2005 16:16:15 +0200
+
+gcc-3.4 (3.4.4-2) unstable; urgency=medium
+
+ * Remove the build dependencies on gxx-3.3, not used in the build for
+ running the testsuite against the installed compiler versions.
+ Fixes FTBFS on mips, mipsel.
+ * On arm, don't build libstdc++6 with a changed soname. The arm ABI change
+ will be handled in another way.
+
+ -- Matthias Klose Fri, 24 Jun 2005 01:20:02 +0200
+
+gcc-3.4 (3.4.4-1) unstable; urgency=low
+
+ * Updated to gcc-3.4 CVS 20050615.
+ * gij-3.4: Provide an rmiregistry alternative (using rmiregistry-3.4).
+ * gcj-3.4: Provide an rmic alternative (using rmic-3.4).
+ * Apply proposed patch for PR18421 and PR18719, backport to 3.4 (m68k only).
+ * Fix g++ dependency on libstdc++-dev on arm.
+ * Build libffi3{,-dev} packages again.
+ * Build libg2c{0,-dev} from the gcc-3.4 sources as well. Avoid using
+ g77-3.3 on mipsel. Not clear, if there are ABI incompatibilities.
+ * libg2c0: Require the shared library built from the gcc-3.4 sources.
+ * Build depend on dpkg-dev (>= 1.13.9), not dpkg (>= 1.13.7).
+ * (Build-)depend on binutils (>= 2.15-7).
+ * Build-depend on libunwind7-dev (>= 0.98.5-7) on ia64.
+ * debian/rules.defs: Define DEB_TARGET_ARCH_{OS,CPU}.
+ * Start converting the use of DEB_*_GNU_* to DEB_*_ARCH_* in the build files.
+
+ -- Matthias Klose Wed, 15 Jun 2005 01:55:09 +0200
+
+gcc-3.4 (3.4.4-0ubuntu6) breezy; urgency=low
+
+ * Updated to gcc-3.4 CVS 20050613.
+ * Add build dependency on dpkg (>= 1.13.7).
+ * On linux systems, configure for -linux-gnu.
+ * Configure the hppa64 cross compiler to target hppa64-linux-gnu.
+ * (Build-)depend on binutils-2.16.1.
+
+ -- Matthias Klose Mon, 13 Jun 2005 18:11:07 +0000
+
+gcc-3.4 (3.4.4-0) unstable; urgency=low
+
+ * Syncronise with Ubuntu.
+ * Disable powerpc biarch support, waiting for glibc.
+
+ -- Matthias Klose Mon, 6 Jun 2005 23:34:30 +0200
+
+gcc-3.4 (3.4.4-0ubuntu5) breezy; urgency=low
+
+ * Loosen dependencies on packages of architecture `all' to not break
+ binary only uploads.
+ * g++-3.4 provides c++abi2-dev.
+ * Updated to gcc-3.4 CVS 20050605.
+ * Do not build lib64gcc1 and lib64stdc++6 on powerpc anymore, now built
+ from the gcc-4.0 sources.
+
+ -- Matthias Klose Sun, 5 Jun 2005 15:10:21 +0200
+
+gcc-3.4 (3.4.4-0ubuntu4) breezy; urgency=low
+
+ * Enable powerpc biarch support, build lib64gcc1 on powerpc (Jeff Bailey).
+ * debian/rules.d/binary-gcc.mk: Fix syntax errors (Jeff Bailey).
+ * Add patch to disable libstdc++'s configure checking, if it can't run
+ 64bit binaries on 32bit kernels (Sven Luther).
+ * Run the testsuite with -m64, if we can execute 64bit binaries.
+ * Add libc6-dev-ppc64 as build dependency for powerpc.
+ * debian/logwatch.sh: Don't remove logwatch pid file on exit (suggested
+ by Ryan Murray).
+ * On hppa, build-depend on expect-tcl8.3 instead of expect.
+ * Updated to gcc-3.4 CVS 20050527.
+
+ -- Matthias Klose Fri, 27 May 2005 14:25:13 +0000
+
+gcc-3.4 (3.4.4-0ubuntu3) breezy; urgency=low
+
+ * Adjust debian/rules conditionals to work with all dpkg versions.
+ * Use -linux as the target alias for the linux architecture,
+ independent of the dpkg-architecture version used for the build.
+ * Configure powerpc biarch builds using
+ --enable-targets=powerpc-linux,powerpc64-linux (disabled by default).
+ * Add conflicts/replaces for libstdc++-{dev,dbg,pic} with the version
+ built with the old C++ ABI (amd64 only).
+
+ -- Matthias Klose Sun, 22 May 2005 15:38:21 +0200
+
+gcc-3.4 (3.4.4-0ubuntu2) breezy; urgency=low
+
+ * Configure for i486-linux*, not i386-linux*.
+ * Fix build failures for builds with disabled testsuite.
+ * debian/rules.d/binary-gcc.mk: Fix typo, on amd64, install symlinks for
+ shared 32bit libgcc.
+
+ -- Matthias Klose Sat, 21 May 2005 08:36:43 +0000
+
+gcc-3.4 (3.4.4-0ubuntu1) breezy; urgency=low
+
+ * GCC 3.4.4 release.
+ * libgcj5-dev: Do not provide libgcj-dev.
+ * Adjust debian/rules conditionals to work with all dpkg versions.
+ * Remove the proposed patch for PR16676.
+
+ -- Matthias Klose Fri, 20 May 2005 18:52:36 +0200
+
+gcc-3.4 (3.4.3ds2-13ubuntu4) breezy; urgency=low
+
+ * gcc-3.4.4 release candidate 1.
+ * Build libg2c0, libg2c-dev from gcc-3.4 sources.
+ * On amd64 disable the build of fixincludes, libobjc1, libgcj-common,
+ lib32stdc++6.
+ * Manually patch all `configure' files for libraries to use
+ deplibs_check_method=pass_all unconditionally for all linux architectures.
+
+ -- Matthias Klose Wed, 11 May 2005 11:45:47 +0200
+
+gcc-3.4 (3.4.3ds1-13ubuntu3) breezy; urgency=low
+
+ * Really disable biarch on i386.
+
+ -- Matthias Klose Mon, 9 May 2005 19:43:30 +0200
+
+gcc-3.4 (3.4.3ds1-13ubuntu2) breezy; urgency=low
+
+ * Updated to gcc-3.4 CVS 20050509.
+ * For powerpc, apply a proposed patch for PR16676, fixing the glibc build
+ with -g1 for powerpc NPTL
+ * Fix spurious range-check failure in the gpc runtime (Waldek Hebisch).
+ * Renable gpc on all architectures, where it was disabled before.
+ * Temporarily disable the i386 biarch build. Remove the amd64-libs-dev
+ build dependency, add (build-)conflict (<= 1.1ubuntu1).
+ * Remove the note from the fastjar package description, stating, that
+ fastjar is incomplete compared to the "standard" jar utility.
+
+ -- Matthias Klose Mon, 9 May 2005 17:40:07 +0200
+
+gcc-3.4 (3.4.3ds1-13ubuntu1) breezy; urgency=low
+
+ * Updated to gcc-3.4 CVS 20050505.
+ * Disable bootstrap comparision check. The check currently fails on
+ ada/b_gnatb.o.
+ * On amd64, build for the default C++ ABI version.
+ * Update gpc to 20050331 snapshot.
+ * Disable gpc for hppa and sparc.
+
+ -- Matthias Klose Mon, 2 May 2005 21:04:34 +0200
+
+gcc-3.4 (3.4.3-13) unstable; urgency=medium
+
+ * Don't call dh_shlibdeps on 64bit libraries (closes: #307625).
+ * Append the GCC version to the fastjar/grepjar version string.
+ Closes: #296567.
+ * On powerpc, configure using --enable-targets to build a biarch compiler.
+ Disabled by default.
+ * Fixed java build for powerpc-biarch builds (Bastian Blank).
+ * Update to libunwind-0.98.5 to sync with libunwind source package.
+ * Fix build failure on hurd-i386 (closes: #301064).
+ * Update priority of java alternatives from 33 to 34.
+ * Fix gcc-3.4-hppa64, gij-3.4 and gcj-3.4 postinst, to not ignore errors
+ from update-alternatives.
+ * Fix gcc-3.4-hppa64, fastjar, gij-3.4 and gcj-3.4 prerm,
+ to not ignore errors from update-alternatives.
+
+ -- Matthias Klose Wed, 4 May 2005 18:02:04 +0200
+
+gcc-3.4 (3.4.3-12.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * High-urgency upload for sarge-targetted RC bugfix.
+ * Fix fastjar postinst, to not ignore errors from update-alternatives.
+ Closes: #302995.
+ * Patch away a doxygen syntax error in
+ libstdc++/include/bits/basic_string.h that was causing doxygen to
+ segfault. Closes: #307241.
+
+ -- Steve Langasek Sun, 1 May 2005 14:36:39 -0700
+
+gcc-3.4 (3.4.3-12ubuntu1) breezy; urgency=low
+
+ * Updated to gcc-3.4 CVS 20050413.
+ * Synchronise with Debian -12.
+
+ -- Matthias Klose Wed, 13 Apr 2005 11:44:20 +0200
+
+gcc-3.4 (3.4.3-12) unstable; urgency=medium
+
+ * Fix libunwind tarball name, fixing FTBFS on ia64.
+ * Updated to gcc-3.4 CVS 20050314.
+ - Remove fix for PR19311, applied upstream.
+
+ -- Matthias Klose Mon, 14 Mar 2005 02:00:09 +0100
+
+gcc-3.4 (3.4.3-11) unstable; urgency=medium
+
+ * Include libstdc++6 package again.
+
+ -- Matthias Klose Sat, 5 Mar 2005 23:47:56 +0100
+
+gcc-3.4 (3.4.3-10) unstable; urgency=medium
+
+ * Update to libunwind-0.98.4 (Fix a typo in _ReadSLEB.c which caused
+ hangs when throwing exceptions from Intel ICC-compiled programs).
+ * Add two m68k specfic patches concerning wrong code
+ generation (Richard Zidlicky).
+ * Updated to gcc-3.4 CVS 20050305.
+ * Apply proposed patch for PR19311, ICE compiling OOo2.
+ * Include {,e,p,x}mmintrin.h headers for amd64 as well (closes: #298174).
+
+ -- Matthias Klose Sat, 5 Mar 2005 12:06:59 +0100
+
+gcc-3.4 (3.4.3-9ubuntu4) hoary; urgency=low
+
+ * Updated to gcc-3.4 CVS 20050314.
+ - Remove fix for PR19311, applied upstream.
+ * Include {,e,p,x}mmintrin.h headers for amd64 as well.
+
+ -- Matthias Klose Mon, 14 Mar 2005 17:07:24 +0100
+
+gcc-3.4 (3.4.3-9ubuntu3) hoary; urgency=low
+
+ * Apply proposed patch for PR19311, seen as build failure in OOo2 on amd64.
+ * Updated to gcc-3.4 CVS 20050303.
+
+ -- Matthias Klose Thu, 3 Mar 2005 11:07:56 +0100
+
+gcc-3.4 (3.4.3-9ubuntu2) hoary; urgency=low
+
+ * Build libstdc++6-0 on amd64.
+
+ -- Matthias Klose Fri, 11 Feb 2005 11:56:10 +0100
+
+gcc-3.4 (3.4.3-9ubuntu1) hoary; urgency=low
+
+ * Do not build packages, now built from the gcc-4.0 source package:
+ libgcc1, lib32gcc1, lib64gcc1, libstdc++6, lib64stdc++6, fastjar.
+ * Remove the libunwind sources.
+ * Resynchronise with Debian.
+
+ -- Matthias Klose Wed, 9 Feb 2005 11:15:56 +0100
+
+gcc-3.4 (3.4.3-9) unstable; urgency=medium
+
+ * Build-depend on graphviz (moved to main), remove the pregenerated
+ libstdc++ docs from the diff.
+ * Updated to gcc-3.4 CVS 20050207.
+ * Fix typo in gij-3.4 suggests (closes: #290483).
+
+ -- Matthias Klose Sat, 29 Jan 2005 13:58:12 +0100
+
+gcc-3.4 (3.4.3-8) unstable; urgency=low
+
+ * Fix powerpc biarch build and package dependencies.
+
+ -- Matthias Klose Mon, 10 Jan 2005 23:46:40 +0100
+
+gcc-3.4 (3.4.3-7ubuntu1) hoary; urgency=low
+
+ * Resynchronise with Debian.
+ * On ia64, do not build the libunwind library from the gcc-3.4 source.
+ * For libgcc1 on ia64, set a hard dependency on libunwind7.
+
+ -- Matthias Klose Sun, 9 Jan 2005 11:08:01 +0100
+
+gcc-3.4 (3.4.3-7) unstable; urgency=low
+
+ * Updated to gcc-3.4 CVS 20050108.
+ * debian/patches/protector.uue: Update for gcc-3.4.3.
+ * Add debian/patches/libssp.dpatch: Hardened Debian SSP/ProPolice
+ library (libssp), not applied by default (Lorenzo Hernandez Garcia-Hierro).
+ * Update cross build patches (Nikita V. Youshchenko).
+
+ -- Matthias Klose Sat, 8 Jan 2005 10:57:39 +0100
+
+gcc-3.4 (3.4.3-6ubuntu1) hoary; urgency=low
+
+ * Resynchronise with Debian.
+
+ -- Matthias Klose Mon, 20 Dec 2004 21:23:09 +0100
+
+gcc-3.4 (3.4.3-6) unstable; urgency=low
+
+ * On ia64, configure --with-system-libunwind, build libunwind from the
+ libunwind-0.98.3 source to include the shared library in libgcc1.
+ Fixes FTBFS of libunwind on ia64.
+ * Updated to gcc-3.4 CVS 20041218.
+ - Fixes PR19005, 3.4 regression on valid code (closes: #285695).
+
+ -- Matthias Klose Sun, 19 Dec 2004 00:20:03 +0100
+
+gcc-3.4 (3.4.3-5ubuntu1) hoary; urgency=low
+
+ * Resynchronise with Debian.
+
+ -- Matthias Klose Wed, 15 Dec 2004 09:54:45 +0000
+
+gcc-3.4 (3.4.3-5) unstable; urgency=low
+
+ * Updated to gcc-3.4 CVS 20041215.
+
+ -- Matthias Klose Wed, 15 Dec 2004 09:54:45 +0000
+
+gcc-3.4 (3.4.3-4) unstable; urgency=medium
+
+ * Reupload witch fixed diff.gz.
+
+ -- Matthias Klose Sun, 5 Dec 2004 11:37:23 +0100
+
+gcc-3.4 (3.4.3-3) unstable; urgency=medium
+
+ * Reenable fastjar package on mips/mipsel, left out in 3.4.3-2.
+ * On i386, libgcj5 doesn't depend on lib64gcc1 anymore. dh_shlibdeps found
+ the wrong library. Closes: #283741.
+
+ -- Matthias Klose Sat, 4 Dec 2004 09:12:29 +0100
+
+gcc-3.4 (3.4.3-2) unstable; urgency=high
+
+ * Tighten dependency on binutils (>= 2.15-5). Add libunwind support
+ on ia64. Include the libunwind shared library in the libgcc1 package.
+ For sarge, we cannot introduce another required package; after the release
+ of sarge libgcc1 will depend on libunwind7 on ia64.
+ * Updated to gcc-3.4 CVS 20041127.
+ - Fix PR 14838, ICE on hppa. Addresses: #272673.
+ - Applies backport of patch to fix PR17813.
+ * Add M32R support (NIIBE Yutaka). Closes: #282880.
+ - debian/rules.patch: Added M32R support.
+ - debian/rules.defs: Disable Java and Ada for M32R.
+ - debian/patches/m32r-{fixes,gotoff,libffi,limits,stack}.dpatch: New files.
+ - debian/patches/autoreconf.dpatch: Enable again.
+
+ -- Matthias Klose Thu, 25 Nov 2004 23:25:10 +0100
+
+gcc-3.4 (3.4.3-1ubuntu1) hoary; urgency=low
+
+ * Resynchronise with Debian.
+
+ -- Scott James Remnant Mon, 22 Nov 2004 12:49:47 +0000
+
+gcc-3.4 (3.4.3-0ubuntu0) hoary; urgency=low
+
+ * New upstream version 3.4.3.
+ * Resync with Debian.
+ * For amd64, add missing 32bit libstdc++ files to 'libstdc++-dev' package.
+ * For amd64, move 32bit libs from /emul/ia32-linux to /lib32 and
+ /usr/lib32.
+ * Fix PR fortran/17541, data statements with double precision
+ constants fail.
+ * Remove fix for PR 17186, reverted upstream.
+
+ -- Matthias Klose Mon, 1 Nov 2004 20:45:36 +0000
+
+gcc-3.4 (3.4.3-1) unstable; urgency=medium
+
+ * gcc-3.4.3 release.
+ - Doesn't reject valid C++ code (namespaces). Closes: #279185.
+ * Tightened dependencies on the gcc-3.4-base package.
+ * Don't build java on mips/mipsel, until the GOT handling is fixed.
+ Closes: #279850.
+ * Fix atomic stdc++ operations are broken on some MIPS machines. Patch
+ by Thiemo Seufer. Closes: #278409.
+ * Fixed empty libstdc++ manpages. Closes: #280913.
+ * README.Debian: Add a note, that lib64gcc1, amd64-libs and maybe other
+ library packages need to be installed when targeting 64bit on the i386
+ platform. Closes: #272536.
+ * On ia64, the ACATS hangs in unaligned memory access. Start a shell
+ script, which kills these tests manually.
+ * README.Debian: Add note on gcc-3.4 -m64 code generation. Closes: #268757.
+ * Don't run the boehm-gc test, hangs at least on m68k.
+
+ -- Matthias Klose Mon, 18 Oct 2004 07:04:37 +0200
+
+gcc-3.4 (3.4.2-3) unstable; urgency=medium
+
+ * Patches to fix wrong code regressions from the gcc-3.4 CVS branch:
+ - Fix PR fortran/17541, data statements with double precision constants
+ fail. Closes: #273755.
+ - Fix PR c++/17976, calling destructor twice. Closes: #260747.
+ - Fix PR 15526, -ftrapv aborts on 0 * (-1). Closes: #273564.
+ * For amd64, add missing 32bit libstdc++ files to 'libstdc++6-dev' package.
+ (Andreas Jochens). Closes: #274362.
+ * Update cross build patches (Nikita V. Youshchenko).
+
+ -- Matthias Klose Fri, 15 Oct 2004 07:01:03 +0200
+
+gcc-3.4 (3.4.2-2) unstable; urgency=medium
+
+ * Updated to gcc-3.4.2:
+ - adding updated libstdc++-v3 baseline files for 3.4.0.
+ - C++ updates
+ - Fix references in cpp-3.4(1) and gcc-3.4(1) manpages.
+ - Fix bus errors with g77-3.4 on sparc (closes: #267703).
+ - Fix segfault with java example code from report (closes: #268991).
+ * Add some packaging corrections for amd64 (closes: #267049).
+ * Normalize pathes in .la and .lai files (closes: #268140, #268929).
+ * Fix building libffi without libgcj (closes: #267647).
+ * libltdl.dpatch: Search the versioned extension, when loading a shared
+ library (i.e. gij looks for .so.5 for loading additional libraries
+ like the GTK based AWT peers. Thanks to Michael Koch. Closes: #270030.
+
+ -- Matthias Klose Tue, 7 Sep 2004 20:28:14 +0200
+
+gcc-3.4 (3.4.2-2ubuntu1) warty; urgency=low
+
+ * Built from the gcc-3.4.2 release tarball.
+ * lib64stdc++6: Fix versioned dependency on lib64gcc1.
+
+ -- Matthias Klose Tue, 7 Sep 2004 20:06:40 +0000
+
+gcc-3.4 (3.4.1ds1-7ubuntu4) warty; urgency=low
+
+ * debian/rules2: Fix realpath usage.
+
+ -- Matthias Klose Sun, 29 Aug 2004 09:37:05 +0000
+
+gcc-3.4 (3.4.1ds1-7ubuntu3) warty; urgency=low
+
+ * debian/rules2: Fix realpath usage.
+
+ -- Matthias Klose Sun, 29 Aug 2004 09:37:05 +0000
+
+gcc-3.4 (3.4.1ds1-7ubuntu2) warty; urgency=low
+
+ * Fix dependencies on libgcc1 and ia32-libs.
+ * Updated to gcc-3.4 CVS 20040829 (3.4.2 release candidate):
+ - adding updated libstdc++-v3 baseline files for 3.4.0.
+ - C++ updates
+ - Fix references in cpp-3.4(1) and gcc-3.4(1) manpages.
+ * Normalize pathes in .la and .lai files.
+ * Fix building libffi without libgcj.
+
+ -- Matthias Klose Sun, 29 Aug 2004 09:37:05 +0000
+
+gcc-3.4 (3.4.1ds1-7ubuntu1) warty; urgency=low
+
+ * Revert change to binutils dependencies.
+ * Depend and build depend on warty's glibc version.
+ * Set the C++ ABI version to 1 (compatible with gcc-3.3), rename
+ libstdc++ packages to libstdc++6-0{,-dev,-dbg}.
+
+ -- Matthias Klose Thu, 19 Aug 2004 16:19:58 +0200
+
+gcc-3.4 (3.4.1ds1-7) unstable; urgency=medium
+
+ * Updated to gcc-3.4 CVS 20040819.
+ * On amd64, build a biarch compiler defaulting to 64 bit.
+ - build lib32gcc1 and lib32stdc++6 packages (closes: #257906).
+ * On i386, build a biarch compiler defaulting to 32bit (Dan Jacobowitz).
+ * Add proposed patch for 3.4 regression PR16706 (closes: #261051).
+ * Remove superfluous ')' in debian/rules.def (closes: #263951).
+ * debian/rules2: Correct typo for cross builds (closes: #263928).
+ * Update cross-configure.dpatch (closes: #263925).
+ * Tighten binutils build-dependency/dependency to (>= 2.15-2).
+ Closes: #263019.
+ * Tighten glibc dependency, needed at least for m68k to avoid
+ regressions with new binutils.
+ * libgcj.pc is included in libgcj5-dev package (closes: #264129).
+ * Replace 'lib64' hack by setting proper MULTILIB_OSDIRNAMES
+ (Andreas Metzler). Closes: #262892.
+ * Reenable the complete build of the libgcj5-awt package.
+ * Add /lib64 link to /lib for architecture powerpc64 (closes: #264857).
+ * Fix libgcj5-common doc dir symlink (closes: #265652).
+
+ -- Matthias Klose Thu, 19 Aug 2004 11:35:04 +0200
+
+gcc-3.4 (3.4.1ds1-4sarge1) testing-proposed-updates; urgency=low
+
+ * Upload to testing-proposed-updates to avoid the dependency on
+ binutils-2.15.
+ * Add path of newly built libgcc to LD_LIBRARY_PATH for building the
+ shared gnat libraries (closes: #262860).
+ * Really fix build-dependencies for hurd systems (closes: #262459).
+ * Fix locations of Ada docs in gnat-doc's doc-base (closes: #262911).
+ * Fix build with java disabled, but libffi enabled (closes: #263013).
+ * Add epoch to libg2c-dev's version number (closes: #262884).
+ * On amd64, do not build-depend on g77-3.3, gobjc3.3, g++-3.3.
+ Closes: #262898. The dependencies only needed for running the testsuite
+ with the installed compilers.
+ * Build an empty libgcj5-awt package.
+
+ -- Matthias Klose Wed, 4 Aug 2004 22:56:35 +0200
+
+gcc-3.4 (3.4.1ds1-5) unstable; urgency=high
+
+ * Fix gpc build failures on alpha, mips, mipsel (closes: #262208).
+ * Fix gcc-hppa64 build failure (closes: #262249).
+ * Don't build the GTK+ based peers to avoid dependency on libtiff.
+ * Fix build-dependencies for hurd systems (closes: #262459).
+ * Disable the testsuite, locales is currently not installable while
+ libc and libc-dev are out of date on many architectures.
+
+ -- Matthias Klose Sat, 31 Jul 2004 06:34:04 +0200
+
+gcc-3.4 (3.4.1ds1-4) unstable; urgency=high
+
+ * Update gpc to gpc-2.1 20040516.
+ - Fixing about 1200 gpc testsuite failures on mips.
+ * Update to gcc-3.4 CVS 20040728.
+ * Remove --enable-threads=posix from the configure options, it's
+ the default for *-linux, but not for other archs (closes: #261361).
+ * Fix libgnat symlinks (closes: #261004).
+
+ -- Matthias Klose Wed, 28 Jul 2004 08:04:34 +0200
+
+gcc-3.4 (3.4.1-3) unstable; urgency=medium
+
+ * Add missing closing parantheses in build dependencies.
+ * Fix libstdc++.so symlink (closes: #260523).
+ * Install language files with versioned package name.
+
+ -- Matthias Klose Wed, 21 Jul 2004 23:54:06 +0200
+
+gcc-3.4 (3.4.1-2) unstable; urgency=low
+
+ * Update to gcc-3.4 CVS 20040717.
+ * Update the stack protector patch to 3.4-2, but don't apply it by default.
+ * On arm, build packages libstdc++6-0, libstdc++6-0-dev, ... gcc-3.5
+ changes the ABI on arm, but likely keeping the soname.
+
+ -- Matthias Klose Sat, 17 Jul 2004 10:54:41 +0200
+
+gcc-3.4 (3.4.1-1) unstable; urgency=medium
+
+ * gcc-3.4.1 final release.
+ - configured with --enable-libstdcxx-allocator=mt.
+ * Update to gcc-3.4 CVS 20040710.
+ * Fixes for generating cross compiler packages (Jeff Bailey).
+ * Make gccbug script POSIX compliant (David Weinehall).
+ * Disable the build of the libobjc, libg2c, libffi, libgcj-common,
+ fixincludes and protoize packages (still built from the gcc-3.3 package).
+ * Build fastjar, implemented -u option (closes: #116145).
+ * Integrated multiarch support.
+ * Lower priorities of all packages except libgcc1 to optional.
+ * Add notes on GCC 3.3 / 3.4 incompatinilities (NEWS.Debian, README.Debian).
+ * Split out the gcj-3.4 jar file to it's own binary indep package.
+
+ -- Matthias Klose Sat, 10 Jul 2004 11:21:26 +0200
+
+gcc-3.4 (3.4.0-4) experimental; urgency=low
+
+ * gcc-3.4.1 release candidate 1.
+ * Add logic to build biarch compiler on powerpc (disabled, needs lib64c).
+ * Don't build the libg2c0 package on mipsel-linux (no clear answer on
+ debian-mips, if the libg2c0's built by gcc-3.3 and gcc-3.4 are compatible
+ (post-sarge issue).
+ * Don't use gcc-2.95 as bootstrap compiler on m68k anymore.
+
+ -- Matthias Klose Sat, 26 Jun 2004 22:40:20 +0200
+
+gcc-3.4 (3.4.0-3) experimental; urgency=low
+
+ * Update to gcc-3.4 CVS 20040613.
+ * On sparc, set the the build target to sparc64-linux, build with
+ switch defaulting to code generation for v7. To generate code for
+ sparc64, use the -m64 switch.
+ * Add missing doc-base files to -doc packages.
+ * Add portability patches and kbsd-gnu patch (Robert Millan).
+ Closes: #251293, #251294.
+ * Apply fixes for cross build (Nikita V. Youshchenko).
+ * Do not include the precompiled libstdc++ header files into the -dev
+ package (still experimental). Closes: #251707.
+ * Reflect renaming of Ada user's guide.
+ * Move AWT peer libraries for libgcj into it's own package (fixes: #247791).
+
+ -- Matthias Klose Mon, 14 Jun 2004 00:03:18 +0200
+
+gcc-3.4 (3.4.0-2) experimental; urgency=low
+
+ * Update to gcc-3.4 CVS 20040516.
+ * Do not provide the /usr/hppa64-linux/include in the gcc-hppa64 package,
+ migrated to libc6-dev. Adjust dependencies.
+ * Integrate gpc test results into the GCC test summary.
+ * gnatchop calls gcc-3.4 (closes: #245438).
+ * debian/locale-gen.sh: Update for recent libstdc+++ testsuite.
+ * debian/copyright: Add libstdc++-v3's exception clause.
+ * Add libffi update for mips (Thiemo Seufer).
+ * Reference Debian specific bug reporting instructions.
+ * Update README.Bugs.
+ * Fix FTBFS for libstdc++-doc.
+ * Update libjava patch for hppa (Randolph Chung).
+ * Fix installation of ffitarget.h header file.
+ * On amd64-linux, configure --without-multilib, disable Ada.
+
+ -- Matthias Klose Sun, 16 May 2004 07:53:39 +0200
+
+gcc-3.4 (3.4.0-1) experimental; urgency=low
+
+ * gcc-3.4.0 final release.
+
+ * Why experimental?
+ - Do not interfer with packages currently built from gcc-3.3 sources,
+ i.e. libgcc1, libobjc1, libffi2, libffi2-dev, libg2c0.
+ - Biarch sparc compiler doesn't built yet.
+ - Use of configure flags affecting binary ABI's not yet determined.
+ - Several ABI bugs have been fixed. Unfortunately, these changes will break
+ binary compatibility with earlier releases on several architectures:
+ alpha, mips, sparc,
+ - hppa and m68k changed sjlj based exception handling to dwarf2 based
+ exception handling.
+
+ See NEWS.html or http://gcc.gnu.org/gcc-3.4/changes.html for more
+ specific information.
+
+ -- Matthias Klose Tue, 20 Apr 2004 20:54:56 +0200
+
+gcc-3.4 (3.4ds3-0pre4) experimental; urgency=low
+
+ * Update to gcc-3.4 CVS 20040403.
+ * Add gpc tarball, gpc patches for 3.4 (Waldek Hebisch).
+ * Reenable sparc-biarch patches (closes: #239856).
+ * Build the shared libgnat library, needed to fix FTBFS for some
+ Ada library packages (Ludovic Brenta).
+ Currently enabled for hppa, i386, ia64.
+
+ -- Matthias Klose Sat, 3 Apr 2004 08:47:55 +0200
+
+gcc-3.4 (3.4ds1-0pre2) experimental; urgency=low
+
+ * Update to gcc-3.4 CVS 20040320.
+ * For libstdc++6-doc, add a conflict to libstdc++5-3.3-doc (closes: #236560).
+ * For libstdc++6-dbg, add a conflict to libstdc++5-3.3-dbg (closes: #236798).
+ * Reenable s390-biarch patches.
+ * Update the cross compiler build files (Nikita V. Youshchenko).
+
+ -- Matthias Klose Sat, 20 Mar 2004 09:15:10 +0100
+
+gcc-3.4 (3.4ds0-0pre1) experimental; urgency=low
+
+ * Start gcc-3.4 packaging, get rid of the epoch for most of the
+ packages.
+
+ -- Matthias Klose Sun, 22 Feb 2004 16:00:03 +0100
+
+gcc-3.3 (1:3.3.3ds6-6) unstable; urgency=medium
+
+ * Update to gcc-3_3-branch CVS 20040401.
+ - Fixed ICE in emit_move_insn_1 on legal code (closed: #223215).
+ - Fix PR 14755, miscompilation of loops with bitfield counter.
+ Closes: #241255.
+ - Fix PR 16040, crash in function initializing const data with
+ reinterpret_cast-ed pointer-to-member function crashes (closes: #238621).
+ - Remove patches integrated upstream.
+ * Reenable build of gpidump on powerpc and s390.
+
+ -- Matthias Klose Thu, 1 Apr 2004 23:51:54 +0200
+
+gcc-3.3 (1:3.3.3ds6-5) unstable; urgency=medium
+
+ * Update to gcc-3_3-branch CVS 20040321.
+ - Fix PR target/13889 (ICE on valid code on m68k).
+ * Fix FTFBS on s390. Do not build gpc's gpidump on s390.
+ * Reenable gpc on arm.
+
+ -- Matthias Klose Mon, 22 Mar 2004 07:37:26 +0100
+
+gcc-3.3 (1:3.3.3ds6-4) unstable; urgency=low
+
+ * Update to gcc-3_3-branch CVS 20040320.
+ - Revert patch for PR14640 (with this, at least mozilla-firefox was
+ miscompiled on x86 (closes: #238621).
+ * Update the gpc tarball (there were two releases with the same name ...).
+ * Reenable gpc on alpha and ia64.
+
+ -- Matthias Klose Sat, 20 Mar 2004 07:39:24 +0100
+
+gcc-3.3 (1:3.3.3ds5-3) unstable; urgency=low
+
+ * Update to gcc-3_3-branch CVS 20040314.
+ - Fixes miscompilation with -O -funroll-loops on powerpc (closes: #229567).
+ - Fix ICE in dwarf-2 on code using altivec (closes: #203835).
+ * Update hurd-changes patch.
+ * Add libgcj4-dev as a recommendation for gcj (closes: #236547).
+ * debian/copyright: Added exemption to static linking of libgcc.
+
+ * Phil Blundell:
+ - debian/patches/arm-ldm.dpatch, debian/patches/arm-gotoff.dpatch: Update.
+
+ -- Matthias Klose Sun, 14 Mar 2004 09:56:06 +0100
+
+gcc-3.3 (1:3.3.3ds5-2) unstable; urgency=low
+
+ * Update to gcc-3_3-branch CVS 20040306.
+ - Fixes bootstrap comparision error on ia64.
+ - Allows ghc build with gcc-3.3.
+ - On amd64, don't imply 3DNow! for -m64 by default.
+ - Some arm specific changes
+ - Fix C++/13944: exception in constructor of a class to be thrown is not
+ caught. Closes: #228099.
+ * Enable the build of gcc-3.3-hppa64 on hppa.
+ Add symlinks for as and ld to point to hppa64-linux-{as,ld}.
+ * gcj-3.3 depends on g++-3.3, recommends gij-3.3. gij-3.3 suggests gcj-3.3.
+ * Fix libgc2c-pic compatibility links (closes: #234333).
+ The link will be removed for gcc-3.4.
+ * g77-3.3: Conflict with other g77-x.y packages.
+ * Tighten shlibs dependencies to latest released versions.
+
+ * Phil Blundell:
+ - debian/patches/arm-233633.dpatch: New Fixes problems with half-word
+ loads on ARMv3 architecture. (Closes: #233633)
+ - debian/patches/arm-ldm.dpatch: New. Avoids inefficient epilogue for
+ leaf functions in PIC code on ARM.
+
+ -- Matthias Klose Sat, 6 Mar 2004 10:57:14 +0100
+
+gcc-3.3 (1:3.3.3ds5-1) unstable; urgency=medium
+
+ * gcc-3.3.3 final release.
+ See /usr/share/doc/gcc-3.3/NEWS.{gcc,html}.
+
+ -- Matthias Klose Mon, 16 Feb 2004 08:59:52 +0100
+
+gcc-3.3 (1:3.3.3ds4-0pre4) unstable; urgency=low
+
+ * Update to gcc-3.3.3 CVS 20040214 (2nd gcc-3.3.3 prerelease).
+ * Fix title of libstdc++'s html main index (closes: #196381).
+ * Move libg2c libraray files out of the gcc specific libdir to /usr/lib.
+ For g77-3.3 add conflicts to other g77 packages. Closes: #224848.
+ * Update the stack protector patch to 3.3-7, but don't apply it by default.
+ Closes: #230338.
+ * On arm, use arm6 as the cpu default (backport from mainline, PR12527).
+ * Add libffi and libjava support for hppa (Randolph Chung). Closes: #232615.
+
+ -- Matthias Klose Sat, 14 Feb 2004 09:26:15 +0100
+
+gcc-3.3 (1:3.3.3ds3-0pre3) unstable; urgency=low
+
+ * Update to gcc-3.3.3 CVS 20040125.
+ - Fixed PR11350, undefined labels with -Os -fPIC (closes: #195911).
+ - Fixed PR11793, ICE in extract_insn, at recog.c (closes: #203835).
+ - Fixed PR13544, removed backport for PR12862.
+ - Integrated backport for PR12441.
+ * Fixed since 3.3: java: not implemented interface methods of abstract
+ classes not found (closes: #225438).
+ * Disable pascal on arm architecture (currently broken).
+ * Update the build files to build a cross compiler (Nikita V. Youshchenko).
+ See debian/README.cross in the source package.
+ * Apply revised patch to make -mieee the default on alpha-linux,
+ and add -mieee-disable switch to turn the default off (closes: #212912).
+ (Tyson Whitehead)
+
+ -- Matthias Klose Sun, 25 Jan 2004 17:41:04 +0100
+
+gcc-3.3 (1:3.3.3ds2-0pre2) unstable; urgency=medium
+
+ * Update to gcc-3.3.3 CVS 20040110.
+ - Fixes compilation not terminating at -O1 on hppa (closes: #207516).
+ * Add backport to fix PR12441 (closes: #224576).
+ * Revert backport to 3.3 branch to fix PR12862, which introduced another
+ regression (PR13544). Closes: #225663.
+ * Tighten dependency of gnat-3.3 on gcc-3.3 (closes: #226273).
+ * Disable treelang build for cross compiler build.
+ * Disable pascal on alpha and ia64 architectures (currently broken).
+
+ -- Matthias Klose Sat, 10 Jan 2004 12:33:59 +0100
+
+gcc-3.3 (1:3.3.3ds1-0pre1) unstable; urgency=low
+
+ * Update to gcc-3.3.3 CVS 20031229.
+ - Fixes bootstrap error on ia64-linux.
+ - Fix -pthread on mips{,el}-linux (closes: #224875).
+ - Fix -Wformat for C++ (closes: #217075).
+ * Backport from mainline: Preserve inline-ness when redeclaring
+ a function template (closes: #195264).
+ * Add missing intrinsics headers on ix86 (closes: #224593).
+ * Fix location of libg2c libdir in libg2c.la file (closes: #224848).
+
+ -- Matthias Klose Mon, 29 Dec 2003 10:36:29 +0100
+
+gcc-3.3 (1:3.3.3ds0-0pre0.1) unstable; urgency=high
+
+ * NMU
+ * Fixed mips(el) spec file for -pthread: (Closes: #224875)
+ * [debian/patches/mips-pthread.dpatch] New.
+ * [debian/rules.patch] Added it to debian_patches.
+
+ -- J.H.M. Dassen (Ray) Sat, 27 Dec 2003 15:51:47 +0100
+
+gcc-3.3 (1:3.3.3ds0-0pre0) unstable; urgency=low
+
+ * Update to gcc-3.3.3 CVS 20031206.
+ - Fixes ICE in verify_local_live_at_start (hppa). Closes: #201550.
+ - Fixes miscompilation of linux-2.6/sound/core/oss/rate.c.
+ Closes: #219949.
+ * Add missing unwind.h to gcc package (closes: #220846).
+ * Regenerate control file to fix build dependencies for m68k.
+ * More gpc only patches to fix test failures on m68k.
+ * Reenable gpc for the Hurd (closes: #189851).
+
+ -- Matthias Klose Sat, 6 Dec 2003 10:29:07 +0100
+
+gcc-3.3 (1:3.3.2ds5-4) unstable; urgency=low
+
+ * Update libffi-dev package description (closes: #219508).
+ * For gij and libgcj fix dependency on the libstdc++ package, if
+ the latter isn't installed during the build.
+ * Apply patch to emit .note.GNU-stack section on linux arches
+ which by default need executable stack.
+ * Prefer gnat-3.3 over gnat-3.2 as a build dependency.
+ * Update the pascal tarball (different version released with the
+ same name).
+ * Add pascal patches to address various gpc testsuite failures.
+ On alpha and ia64, build gpc from the 20030830 version. Reenable
+ the build on m68k.
+ Remove the 20030507 gpc version from the tarball.
+ * Apply patch to build the shared ada libs and link the ada tools
+ against the shared libs. Not enabled by default, because gnat
+ and gnatlib are rebuilt during install. (Ludovic Brenta)
+
+ -- Matthias Klose Sun, 9 Nov 2003 22:34:33 +0100
+
+gcc-3.3 (1:3.3.2ds4-3) unstable; urgency=low
+
+ * Fix rules to omit inclusion of gnatpsta in mips(el) gnat package.
+
+ -- Matthias Klose Sun, 2 Nov 2003 14:29:59 +0100
+
+gcc-3.3 (1:3.3.2ds4-2) unstable; urgency=medium
+
+ * s390-ifcvt patch added. Fixes gcl miscompilation (closes: #217240).
+ (Gerhard Tonn)
+ * Fix an infinite loop in g++ compiling lufs, regression from 3.3.1.
+ * Fix a wrong code generation bug on alpha.
+ (Falk Hueffner)
+ * Update NEWS files.
+ * Add Falk Hueffner to the Debian GCC maintainers.
+ * Enable ada on mips and mipsel, but don't build the gnatpsta tool.
+
+ -- Matthias Klose Wed, 29 Oct 2003 00:12:37 +0100
+
+gcc-3.3 (1:3.3.2ds4-1) unstable; urgency=medium
+
+ * Update to gcc-3.3.2.
+ * Update NEWS files.
+ * Miscompilation in the pari package at -O3 fixed (closes: #198172).
+ * On alpha-linux, revert -mieee as the default (Falk Hueffner).
+ Reopens: #212912.
+ * Add ia64-unwind patch (Jeff Bailey).
+ * Closed reports reported against gcc-2.96 (ia64), fixed at least in gcc-3.3:
+ - ICE in verify_local_live_at_start, at flow.c:2733 (closes: #135404).
+ - Compilation failure of stlport (closes: #135224).
+ - Infinite loop compiling cssc's pfile.cc with -O2 (closes: #115390).
+ - Added missing some string::compare() members (closes: #141199).
+ - header declares std::pow (closes: #161853).
+ - does have at() method (closes: #59776).
+ - Fixed error in stl_deque.h (closes: #69530).
+ - Fixed problem with bastring (closes: #75759, #96539).
+ - bad_alloc and std:: namespace problem (closes: #75120).
+ - Excessive warnings from headers with -Weffc++ (closes: #76827).
+
+ -- Matthias Klose Fri, 17 Oct 2003 08:07:01 +0200
+
+gcc-3.3 (1:3.3.2ds3-0pre5) unstable; urgency=low
+
+ * Update to gcc-3.3.2 CVS 20031005.
+ - Fixes cpp inserting a spurious newline (closes: #210478, #210482).
+ - Fixes generation of unrecognizable insn compiling kernel source
+ on alpha (closes: #202762).
+ - Fixes ICE in add_abstract_origin_attribute (closes: #212406).
+ - Fixes forward declaration in libstdc++ (closes: #209386).
+ - Fixes ICE in in extract_insn, at recog.c on alpha (closes: #207564).
+ * Make libgcj-common architecture all (closes: #211909).
+ * Build depend on: flex-old | flex (<< 2.5.31).
+ * Fix spec linking libraries with -pthread on powerpc (closes: #211054).
+ * debian/patches/arm-gotoff.dpatch: fix two kinds of PIC lossage.
+ (Phil Blundell)
+ * debian/patches/arm-common.dpatch: fix excessive alignment of common
+ blocks causing binutils testsuite failures.
+ (Phil Blundell)
+ * Update priorities in debian/control to match the archive.
+ (Ryan Murray)
+ * s390-nonlocal-goto patch added. Fixes some pascal testcase failures.
+ (Gerhard Tonn)
+ * On alpha-linux, make -mieee default and add -mieee-disable switch
+ to turn default off (closes: #212912).
+ (Tyson Whitehead)
+ * Add gpc upstream patch for memory corruption fix.
+
+ -- Matthias Klose Sun, 5 Oct 2003 19:53:49 +0200
+
+gcc-3.3 (1:3.3.2ds2-0pre4) unstable; urgency=low
+
+ * Add gcc-unsharing_lhs patch (closes: #210848)
+
+ -- Ryan Murray Fri, 19 Sep 2003 22:51:19 -0600
+
+gcc-3.3 (1:3.3.2ds2-0pre3) unstable; urgency=low
+
+ * Update to gcc-3.3.2 CVS 20030908.
+ * PR11716 (Michael Eager, Dan Jacobowitz):
+ Make GCC think that the maximum length of a short branch is
+ 64K instead of 128K. It's a big hammer, but it works.
+ Closes: #207915.
+ * Downgrade gpc to 20030507 on alpha and ia64 (closes: #208717).
+
+ -- Matthias Klose Mon, 8 Sep 2003 21:49:52 +0200
+
+gcc-3.3 (1:3.3.2ds1-0pre2) unstable; urgency=low
+
+ * Update to gcc-3.3.2 CVS 20030831.
+ - Fix java NullPointerException detection with 2.6 kernels.
+ Closes: #206377.
+ - Fix bug in C++ typedef handling (closes: #205402).
+ - Fix -Wunreachable-code giving false complaints (closes: #196600).
+ * Update to gpc-20030830.
+ * Don't include /usr/share/java/repository into the class path according
+ to the new version of th Debian Java policy (closes: #205643).
+ * Build-Depend/Depend on libgc-dev.
+
+ -- Matthias Klose Sun, 31 Aug 2003 08:56:53 +0200
+
+gcc-3.3 (1:3.3.2ds0-0pre1) unstable; urgency=low
+
+ * Remove the build dependency on locales for now.
+
+ -- Matthias Klose Fri, 15 Aug 2003 07:48:18 +0200
+
+gcc-3.3 (1:3.3.2ds0-0pre0) unstable; urgency=medium
+
+ * Update to gcc-3.3.2 CVS 20030812.
+ - Fixes generation of wrong code for XDM-AUTHORIZATION-1 key generation
+ and/or validation. Closes: #196090.
+ * Update NEWS files.
+ * Change ix86 default CPU type for code generation:
+ - i386-linux -> i486-linux
+ - i386-gnu -> i586-gnu
+ - i386-freebsd-gnu -> i486-freebsd-gnu
+ Use -march=i386 to target i386 CPUs.
+
+ -- Matthias Klose Tue, 12 Aug 2003 10:31:28 +0200
+
+gcc-3.3 (1:3.3.1ds3-1) unstable; urgency=low
+
+ * gcc-3.3.1 (taken from CVS 20030805).
+ - C++: Fix declaration conflicts (closes: #203351).
+ - Fix ICE on ia64 (closes: #203840).
+
+ -- Matthias Klose Tue, 5 Aug 2003 20:38:02 +0200
+
+gcc-3.3 (1:3.3.1ds2-0rc2) unstable; urgency=low
+
+ * Update to gcc-3.3.1 CVS 20030728.
+ - Fix ICE in extract_insn, at recog.c:2148 on m68k.
+ Closes: #177840, #180375, #190818.
+ - Fix ICE while building libquicktime on alpha (closes: #192576).
+ - Fix failure to deal with using and private inheritance (closes: #202696).
+ * On sparc, /usr/lib was added to the library search path. Fix it.
+ * Closed reports reported against gcc-3.2.x and fixed in gcc-3.3:
+ - Fix error building the gcl package on arm (closes: #199835).
+
+ -- Matthias Klose Mon, 28 Jul 2003 20:39:07 +0200
+
+gcc-3.3 (1:3.3.1ds1-0rc1) unstable; urgency=low
+
+ * Update to gcc-3.3.1 CVS 20030722 (3.3.1 release candidate 1).
+ - Fix ICE in copy_to_mode_reg on 64-bit targets (closes: #189365).
+ - Remove documentation about multi-line strings (closes: #194391).
+ - Correctly document -falign-* parameters (closes: #198269).
+ - out-of-class specialization of a private nested template class.
+ Closes: #193830.
+ - Tighten shlibs dependency due to new symbols in libgcc.
+ * README.Debian for libg2c0, describing the need for g77-x.y when
+ working with the g2c header and library (closes: #189059).
+ * Call make with -j, if USE_NJOBS is set and non-empty
+ in the environment.
+ * Add another two m68k patches, partly replacing the workarounds provided
+ by Roman Zippel.
+ * Add the stack protector patch, but don't apply it by default. Edit
+ debian/rules.patch to apply it (closes: #171699, #189494).
+ * Remove wrong symlinks from gnat package (closes: #201882).
+ * Closed reports reported against gcc-2.95 and fixed in newer versions:
+ - SMP kernel compilation on alpha (closes: #134197, #146883).
+ - ICE on arm while building imagemagick (closes: #173475).
+ * Closed reports reported against gcc-3.2.x and fixed in gcc-3.3:
+ - Miscompilation of octave2.1 on hppa (closes: #192296, #193804).
+
+ -- Matthias Klose Sun, 13 Jul 2003 10:26:30 +0200
+
+gcc-3.3 (1:3.3.1ds0-0pre0) unstable; urgency=medium
+
+ * Update to gcc-3.3.1 CVS 20030626.
+ - Fix ICE on arm compiling xfree86 (closes: #195424).
+ - Fix ICE on arm compiling fftw (closes: #186185).
+ - Fix ICE on arm in change_address_1, affecting a few packages.
+ Closes: #197099.
+ - Fix ICE in merge_assigned_reloads building Linux 2.4.2x sched.c.
+ Closes: #195237.
+ - Do not warn about failing to inline functions declared in system headers.
+ Closes: #193049.
+ - Fix ICE on mips{,el} in propagate_one_insn (closes: #194330, #196091).
+ - Fix ICE on m68k in reg_overlap_mentioned_p (closes: #194749).
+ - Build crtbeginT.o on m68k (closes: #197613).
+ * Fix g++ man page symlink (closes: #196271).
+ * mips/mipsel: Depend on binutils (>= 2.14.90.0.4). Closes: #196744.
+ * Disable treelang on powerpc (again). Closes: #196915.
+ * Pass -encoding in gcj-wrapper.
+
+ -- Matthias Klose Fri, 27 Jun 2003 00:14:43 +0200
+
+gcc-3.3 (1:3.3ds9-3) unstable; urgency=low
+
+ * Closing more reports, fixed in 3.2/3.3:
+ - ICE building texmacs on m68k (closes: #177433).
+ - libstdc++: doesn't define trunc(...) (closes: #105285).
+ - libstdc++: setw is ignored for strings output (closes: #52382, #76645).
+ * Add build support to omit the manual pages and info docs from the
+ packages, disabled by default. Wait for a Debian statement, which can
+ be cited. Adresses: #193787.
+ * Reenable the m68k-const patch, don't run the g77 testsuite on m68k.
+ Addresses ICEs (#177840, #190818).
+ * Update arm-xscale patch.
+ * libstdc++: use __attribute__(__unknown__), instead of (unknown).
+ Closes: #195796.
+ * Build-Depend on glibc (>= 2.3.1) to prevent incorrect builds on woody.
+ Request from Adrian Bunk.
+ * Add treelang-update patch (Tim Josling), reenable treelang on powerpc.
+ * Add -{cpp,gcc,g++,gcj,g77} symlinks (addresses: #189466).
+ * Make sure not to build using binutils-2.14.90.0.[12].
+
+ -- Matthias Klose Mon, 2 Jun 2003 22:35:45 +0200
+
+gcc-3.3 (1:3.3ds9-2) unstable; urgency=medium
+
+ * Correct autoconf-related snafu in newly added ARM patches (Phil Blundell).
+ * Correct libgcc1 dependency (closes: #193689).
+ * Work around ldd/dpkg-shlibs failure on s390x.
+
+ -- Matthias Klose Sun, 18 May 2003 09:40:15 +0200
+
+gcc-3.3 (1:3.3ds9-1) unstable; urgency=low
+
+ * gcc-3.3 final release.
+ See /usr/share/doc/gcc-3.3/NEWS.{gcc,html}.
+ * First merge of i386/x86-64 biarch support (Arnd Bergmann).
+ Disabled by default. Closes: #190066.
+ * New gpc-20030507 version.
+ * Upstream gpc update to fix netbsd build failure (closes: #191407).
+ * Add arm-xscale.dpatch, arm-10730.dpatch, arm-tune.dpatch, copied
+ from gcc-3.2 (Phil Blundell).
+ * Closing bug reports reported against older gcc versions (some of them
+ still present in Debian, but not anymore as the default compiler).
+ Usually, forwarded bug reports are linked to
+ http://gcc.gnu.org/PR
+ The upstream bug number usually can be found in the Debian reports.
+
+ * Closed reports reported against gcc-3.1.x, gcc-3.2.x and fixed in gcc-3.3:
+ - General:
+ + GCC accepts multi-line strings without \ or " " &c (closes: #2910).
+ + -print-file-name sometimes fails (closes: #161615).
+ + ICE: reporting routines re-entered (closes: #179597, #180937).
+ + Misplaced paragraph in gcc documentation (closes: #179363).
+ + Error: suffix or operands invalid for `div' (closes: #150558).
+ + builtin memcmp() could be optimised (closes: #85535).
+ - Ada:
+ + Preelaborate, exceptions, and -gnatN (closes: #181679).
+ - C:
+ + Duplicate loop conditions even with -Os (closes: #94701).
+ + ICE (signal 11) (closes: #65686).
+ - C++:
+ + C++ error on virtual function which uses ... (closes: #165829).
+ + ICE when warning about cleanup nastiness in switch statements
+ (closes: #184108).
+ + Fails to compile virtual inheritance with variable number of
+ argument method (closes: #151357).
+ + xmmintrin.h broken for c++ (closes: #168310).
+ + Stack corruption with variable-length automatic arrays and virtual
+ destructors (closes: #188527).
+ + ICE on illegal code (closes: #184862).
+ + _attribute__((unused)) is ignored in C++ (closes: #45440).
+ + g++ handles &(void *)foo bizzarely (closes: #79225).
+ + ICE (with wrong code, though) (closes: #81122).
+ - Java:
+ + Broken zip file handling (closes: #180567).
+ - ObjC:
+ + @protocol forward definitions do not work (closes: #80468).
+ - Architecture specific:
+ - alpha
+ + va_start is off by one (closes: #186139).
+ + ICE while building kseg/ddd (closes: #184753).
+ + g++ -O2 optimization error (closes: #70743).
+ - arm
+ + ICE with -O2 in change_address_1 (closes: #180750).
+ + gcc optimization error with -O2, affecting bison (closes: #185903).
+ - hppa
+ + ICE in insn_default_length (closes: #186447).
+ - ia64
+ + gcc-3.2 fails w/ optimization (closes: #178830).
+ - i386
+ + unnecessary generation of instruction cwtl (closes: #95318).
+ + {athlon} ICE building mplayer (closes: #184800).
+ + {pentium4} ICE while compiling mozilla with -march=pentium4
+ (closes: #187910).
+ + i386 optimisation: joining tests (closes: #105309).
+ - m68k
+ + ICE in instantiate_virtual_regs_1 (closes: #180493).
+ + gcc optimizer bug on m68k (closes: #64832).
+ - powerpc
+ + ICE in extract_insn, at recog.c:2175 building php3 (closes: #186299).
+ + ICE with -O -Wunreachable-code (closes: #189702).
+ - s390
+ + Operand out of range at assembly time when using -O2
+ (closes: #178596).
+ - sparc
+ + gcc-3.2 regression (wrong code) (closes: #176387).
+ + ICE in mem_loc_descriptor when optimizing (closes: #178909).
+ + ICE in gen_reg_rtx when optimizing (closes: #178965).
+ + Optimisation leads to unaligned access in memcpy (closes: #136659).
+
+ * Closed reports reported against gcc-3.0 and fixed in gcc-3.2.x:
+ - General:
+ + Use mkstemp instead of mktemp (closed: #127802).
+ - Preprocessor:
+ + Fix redundant error message from cpp (closed: #100722).
+ - C:
+ + Optimization issue on ix86 (pointless moving) (closed: #97904).
+ + Miscompilation of allegro on ix86 (closed: #105741).
+ + Fix generation of ..ng references for static aliases (alpha-linux).
+ (closed: #108036).
+ + ICE compiling pari on hppa (closed: #111613).
+ + ICE on ia64 in instantiate_virtual_regs_1 (closed: #121668).
+ + ICE in c-typeck.c (closed: #123687).
+ + ICE in gen_subprogram_die on alpha (closed: #127890).
+ + SEGV in initialization of flexible char array member (closed: #131399).
+ + ICE on arm compiling lapack (closed: #135967).
+ + ICE in incomplete_type_error (closed: #140606).
+ + Fix -Wswitch (also part of -Wall) (closed: #140995).
+ + Wrong code in mke2fs on hppa (closed: #150232).
+ + sin(a) * sin(b) gives wrong result (closed: #164135).
+ - C++:
+ + Error in std library headers on arm (closed: #107633).
+ + ICE nr. 19970302 (closed: #119635).
+ + std::wcout does not perform encoding conversions (closed: #128026).
+ + SEGV, when compiling iostream.h with -fPIC (closed: #134315).
+ + Fixed segmentation fault in included code for (closed: #137017).
+ + Fix with exception handling and -O (closed: #144232).
+ + Fix octave-2.1 build failure on ia64 (closed: #144584).
+ + nonstandard overloads in num_get facet (closed: #155900).
+ + ICE in expand_end_loop with -O (closed: #158371).
+ - Fortran:
+ + Fix blas build failure on arm (closed: #137959).
+ - Java:
+ + Interface members are public by default (closed: #94974).
+ + Strange message with -fno-bounds-check in combination with -W.
+ (closed: #102353).
+ + Crash in FileWriter using IOException (closed: #116128).
+ + Fix ObjectInputStream.readObject() calling constructors.
+ (closed: #121636).
+ + gij: better error reporting on `class not found' (closed: #125649).
+ + Lockup during .java->.class compilation (closed: #141899).
+ + Compile breaks using temporary inner class instance (closed: #141900).
+ + Default constructor for inner class causes broken bytecode.
+ (closed: #141902).
+ + gij-3.2 linked against libgcc1 (closed: #165180).
+ + gij-wrapper understands -classpath parameter (closed: #146634).
+ + gij-3.2 doesn't ignore -jar when run as "java" (closed: #167673).
+ - ObjC:
+ + ICE on alpha (closed: #172353).
+
+ * Closed reports reported against gcc-2.95 and fixed in newer versions:
+ - General:
+ + Undocumented option -pthread (closes: #165110).
+ + stdbool.h broken (closes: #167439).
+ + regparm/profiling breakage (closes: #20695).
+ + another gcc optimization error (closes: #51456).
+ + ICE in `output_fix_trunc' (closes: #55967).
+ + Fix "Unable to generate reloads for" (closes: #58219, #131890).
+ + gcc -c -MD x/y.c -o x/y.o leaves y.d in cwd (closes: #59232).
+ + Compiler error with -O2 (closes: #67631).
+ + ICE (unrecognizable insn) compiling php4 (closes: #83550, #84969).
+ + Another ICE (closes: #90666).
+ + man versus info inconsistency (-W and -Wall) (closes: #93708).
+ + ICE on invalid extended asm (closes: #136630).
+ + ICE in `emit_no_conflict_block' compiling perl (closes: #154599).
+ + ICE in `gen_tagged_type_instantiation_die'(closes: #166766).
+ + ICE on __builtin_memset(s, 0, -1) (closes: #170994).
+ + -Q option to gcc appears twice in the documentation (closes: #137382).
+ + New options for specifying targets:- -MQ and -MT (closes: #27878).
+ + Configure using --enable-nls (closes: #51651).
+ + gcc -dumpspecs undocumented (closes: #65406).
+ - Preprocessor:
+ + cpp fails to parse macros with varargs correctly(closes: #154767).
+ + __VA_ARGS__ stringification crashes preprocessor if __VA_ARGS__ is
+ empty (closes: #152709).
+ + gcc doesn't handle empty args in macro function if there is only
+ one arg(closes: #156450).
+ - C:
+ + Uncaught floating point exception causes ICE (closes: #33786).
+ + gcc -fpack-struct doesn't pack structs (closes: #64628).
+ + ICE in kernel (matroxfb) code (closes: #151196).
+ + gcc doesn't warn about unreachable code (closes: #158704).
+ + Fix docs for __builtin_return_address(closes: #165992).
+ + C99 symbols in limits.h not defined (closes: #168346).
+ + %zd printf spec generates warning, even in c9x mode (closes: #94891).
+ + Update GCC attribute syntax (closes: #12253, #43119).
+ - C++ & libstdc++-v3:
+ + template and virtual inheritance bug (closes: #152315).
+ + g++ has some troubles with nested templates (closes: #21255).
+ + vtable thunks implementation is broken (closes: #34876, #35477).
+ + ICE for templated friend (closes: #42662).
+ + ICE compiling mnemonic (closes: #42989).
+ + Deprecated: result naming doesn't work for functions defined in a
+ class (closes: #43170).
+ + volatile undefined ... (closes: #50529).
+ + ICE concerning templates (closes: #53698).
+ + Program compiled -O3 -malign-double segfaults in ofstream::~ofstream
+ (closes: #56867).
+ + __attribute__ ((constructor)) doesn't work with C++ (closes: #61806).
+ + Another ICE (closes: #65687).
+ + ICE in `const_hash' (closes: #72933).
+ + ICE on illegal code (closes: #83221).
+ + Wrong code with -O2 (closes: #83363).
+ + ICE on template class (closes: #85934).
+ + No warning for missing return in non-void member func (closes: #88260).
+ + Not a bug/fixed in libgcc1: libgcc.a symbols end up exported by
+ shared libraries (closes: #118670).
+ + ICE using nested templates (closes: #118781).
+ + Another ICE with templates (closes: #127489).
+ + More ICEs (closes: #140427, #141797).
+ + ICE when template declared after use(closes: #148603).
+ + template function default arguments are not handled (closes: #157292).
+ + Warning when including stl.h (closes: #162074).
+ + g++ -pedantic-errors -D_GNU_SOURCE cannot #include
+ (closes: #151671).
+ + c++ error message improvement suggestion (closes: #46181).
+ + Compilation error in stl_alloc.h with -fhonor-std (closes: #59005).
+ + libstdc++ has no method at() in stl_= (closes: #68963).
+ - Fortran:
+ + g77 crash (closes: #130415).
+ - ObjC:
+ + ICE: program cc1obj got fatal signal 11 (closes: #62309).
+ + Interface to garbage collector is undocumented. (closes: #68987).
+ - Architecture specific:
+ - alpha
+ + Can't compile with define gnu_source with stdio and curses
+ (closes: #97603).
+ + Header conflicts on alpha (closes: #134558).
+ + lapack-dev: cannot link on alpha (closes: #144602).
+ + ICE `fixup_var_refs_1' (closes: #43001).
+ + Mutt segv on viewing list of attachments (closes: #47981).
+ + ICE building open-amulet (closes: #48530).
+ + ICE compiling hatman (closes: #55291).
+ + dead code removal in switch() broken (closes: #142844).
+ - arm
+ + Miscompilation using -fPIC on arm (closes: #90363).
+ + infinite loop with -O on arm (closes: #151675).
+ - i386
+ + ICE when using -mno-ieee-fp and -march=i686 (closes: #87540).
+ - m68k
+ + Optimization (-O2) broken on m68k (closes: #146006).
+ - mips
+ + g++ exception catching does not work... (closes: #105569).
+ + update-menus gets Bus Error (closes: #120333).
+ - mipsel
+ + aspell: triggers ICE on mipsel (closes: #128367).
+ - powerpc
+ + -O2 produces wrong code (gnuchess example) (closes: #131454).
+ - sparc
+ + Misleading documentation for -malign-{jump,loop,function}s
+ (closes: #114029).
+ + Sparc GCC issue with -mcpu=ultrasparc (closes: #172956).
+ + flightgear: build failure on sparc (closes: #88694).
+
+ -- Matthias Klose Fri, 16 May 2003 07:13:57 +0200
+
+gcc-3.3 (1:3.3ds8-0pre9) unstable; urgency=high
+
+ * gcc-3.3 second prerelease.
+ - Fixing exception handling on s390 (urgency high).
+ * Reenabled gpc build (I had it disabled ...). Closes: #192347.
+
+ -- Matthias Klose Fri, 9 May 2003 07:32:14 +0200
+
+gcc-3.3 (1:3.3ds8-0pre8) unstable; urgency=low
+
+ * gcc-3.3 prerelease.
+ - Fixes gcj ICE (closes: #189545).
+ * For libstdc++ use the i486 atomicity implementation, introduced with
+ 0pre6, left out in 0pre7 (closes: #191684).
+ * Add README.Debian for treelang (closes: #190812).
+ * Apply NetBSD changes (Joel Baker). Closes: #191551.
+ * New symbols in libgcc1, tighten the shlibs dependency.
+ * Disable testsuite run on mips/mipsel because of an outdated libc-dev
+ package.
+ * Do not build libffi with debug information, although configuring
+ with --enable-debug.
+
+ -- Matthias Klose Tue, 6 May 2003 06:53:49 +0200
+
+gcc-3.3 (1:3.3ds7-0pre7) unstable; urgency=low
+
+ * gcc-3.3 prerelease taken from the gcc-3_3-branch (CVS 20030429).
+ * Revert upstream libstdc++ change (closes: #191145, #191147, #191148,
+ #191149, #149159, #149151, and other reports).
+ Sorry for not detecting this before the upload, seems to be
+ broken on i386 "only".
+ * hurd-i386: Use /usr/include, not /include.
+ * Disable gpc on hurd-i386 (closes: #189851).
+ * Disable building the debug version of libstdc++ on powerpc-linux
+ (fixes about 200 java test cases).
+ * Install libstdc++v3 man pages (closes: #127263).
+
+ -- Matthias Klose Tue, 29 Apr 2003 23:28:44 +0200
+
+gcc-3.3 (1:3.3ds6-0pre6) unstable; urgency=high
+
+ * gcc-3.3 prerelease taken from the gcc-3_3-branch (CVS 20030426).
+ * libstdc++-doc: Fix index.html link (closes: #189424).
+ * Revert back to the i486 atomicity implementation, that was used
+ for gcc-3.2 as well. Reopens: #184446, #185662. Closes: #189983.
+ For this reason, tighten the libstdc++5 shlibs dependency. See
+ http://lists.debian.org/debian-devel/2003/debian-devel-200304/msg01895.html
+ Don't build the ix86 specfic libstdc++ libs anymore.
+
+ -- Matthias Klose Sun, 27 Apr 2003 19:47:54 +0200
+
+gcc-3.3 (1:3.3ds5-0pre5) unstable; urgency=low
+
+ * gcc-3.3 prerelease taken from the gcc-3_3-branch (CVS 20030415).
+ * Disable treelang on powerpc.
+ * Disable gpc on m68k.
+ * Install locale data. Conflict with gcc-3.2 (<= 1:3.2.3-0pre8).
+ * Fix generated bits/atomicity.h (closes: #189183).
+ * Tighten libgcc1 shlibs dependency (new symbol _Unwind_Backtrace).
+
+ -- Matthias Klose Wed, 16 Apr 2003 00:37:05 +0200
+
+gcc-3.3 (1:3.3ds4-0pre4) unstable; urgency=low
+
+ * gcc-3.3 prerelease taken from the gcc-3_3-branch (CVS 20030412).
+ * Avoid sparc64 dependencies for libgcc1 on sparc (Clint Adams).
+ * Make the default sparc 32bit target v8 instead of v7. This mainly
+ enables hardmul, which should speed up v8 and v9 systems by a large
+ margin (Ben Collins).
+ * Tighten binutils dependency for sparc.
+ * On i386, build libstdc++ optimized for i486 and above. The library
+ in /usr/lib is built for i386. Closes: #184446, #185662.
+ * Add gpc build (from gcc-snapshot package).
+ * debian/control: Include all packages, that _can_ be built from
+ this source package (except the cross packages).
+ * Add m68k patches: m68k-const, m68k-subreg, m68k-loop.
+ * Run the 3.3 testsuite a second time with the installed gcc-3.2
+ to check for regressions (promised, only this time, and for the
+ final release ;). Add build dependencies (gobjc-3.2, g77-3.2, g++-3.2).
+
+ -- Matthias Klose Sat, 12 Apr 2003 10:11:11 +0200
+
+gcc-3.3 (1:3.3ds3-0pre3) unstable; urgency=low
+
+ * gcc-3.3 prerelease taken from the gcc-3_3-branch (CVS 20030331).
+ * Reenable java on arm.
+ * Build-Depend on binutils-2.13.90.0.18-1.3 on m68k. Fixes all
+ bprob/gcov testsuite failures.
+ * Enable C++ build on arm.
+ * Enable the sparc64 build.
+
+ -- Matthias Klose Mon, 31 Mar 2003 23:24:54 +0200
+
+gcc-3.3 (1:3.3ds2-0pre2) unstable; urgency=low
+
+ * gcc-3.3 prerelease taken from the gcc-3_3-branch (CVS 20030317).
+ * Disable building the gcc-3.3-nof package.
+ * Disable Ada on mips and mipsel.
+ * Remove the workaround to build Ada on powerpc.
+ * Add GNU Free documentation license to copyright file.
+ * Update the sparc64 build patches (Clint Adams). Not yet enabled.
+ * Disable C++ on arm (Not yet tested).
+ * Add fix for ICE on powerpc (see: #184684).
+
+ -- Matthias Klose Sun, 16 Mar 2003 21:40:57 +0100
+
+gcc-3.3 (1:3.3ds1-0pre1) unstable; urgency=low
+
+ * gcc-3.3 prerelease taken from the gcc-3_3-branch (CVS 20030310).
+ * Add gccbug manpage.
+ * Don't build libgnat package (no shared library).
+ * Configure with --enable-sjlj-exceptions on hppa and m68k for
+ binary compatibility with libstdc++ built with gcc-3.2.
+ * Disable Java on arm-linux (never seen it sucessfully bootstrap).
+ * Install non-conflicting baseline README.
+ * multilib *.so and *.a moved to /usr/lib/gcc-lib/... , so that several
+ compiler versions can be installed concurrently.
+ * Remove libstdc++-incdir patch applied upstream.
+ * libstdc++ 64 bit development files now handled in -dev target.
+ (Gerhard Tonn)
+ * Drop build dependencies for gpc (tetex-bin, help2man, libncurses5-dev).
+ * Add libstdc++5-3.3-dev confict to libstdc++5-dev (<= 1:3.2.3-0pre3).
+ * Enable builds on m68k (all but C++ for the moment). gcc-3.3 bootstraps,
+ while gcc-3.2 doesn't.
+
+ -- Matthias Klose Mon, 10 Mar 2003 23:41:00 +0100
+
+gcc-3.3 (1:3.3ds0-0pre0) unstable; urgency=low
+
+ * First gcc-3.3 package, built for s390 only. All other architectures
+ build the gcc-3.3-base package only.
+ To build the package on other architectures, edit debian/rules.defs
+ (macro no_dummy_archs).
+ * gcc-3.3 prerelease taken from the gcc-3_3-branch (CVS 20030301).
+ * Don't include the gcc locale files (would conflict with 3.2).
+ * Remove libffi-install-fix patch.
+ * Fix netbsd-i386 patches.
+ * Change priority of libstdc++5 and gcc-3.2-base to important.
+ * Install gcjh-wrapper for javah.
+ * gij suggests fastjar, gcj recommends fastjar.
+ * Allow builds using automake1.4 | automake (<< 1.5).
+ * Backport fix for to output more correct line numbers.
+ * Add help2man to build dependencies needed for some gpc man pages.
+ * gpc: Install binobj and gpidump binaries and man pages.
+ * Apply cross compilation patches submitted by Bastian Blank.
+ * Replace s390-biarch patch and copy s390-config-ml patch from 3.2
+ (Gerhard Tonn).
+ * Configure using --enable-debug.
+ * Add infrastructure to only build a subset of binary packages.
+ * Rename libstdc++-{dev,dbg,pic,doc} packages.
+ * Build treelang compiler.
+
+ -- Matthias Klose Sat, 1 Mar 2003 12:56:42 +0100
+
+gcc-3.2 (1:3.2.3ds2-0pre3) unstable; urgency=low
+
+ * gcc-3.2.3 prerelease (CVS 20030228)
+ - Fixes bootstrap failure on alpha-linux.
+ - Fixes ICE on m68k (closes: #177016).
+ * Build Pascal with -O1 on powerpc, disable Pascal on arm, m68k and
+ sparc (due to wrong code generation for fwrite in glibc,
+ see PR optimization/9279).
+ * Apply cross compilation patches submitted by Bastian Blank.
+
+ -- Matthias Klose Fri, 28 Feb 2003 20:26:30 +0100
+
+gcc-3.2 (1:3.2.3ds1-0pre2) unstable; urgency=medium
+
+ * gcc-3.2.3 prerelease (CVS 20030221)
+ - Fixes ICE on hppa (closes: #181813).
+ * Patch for ffitest in s390-java.dpatch deleted, since already fixed
+ upstream. (Gerhard Tonn)
+ * Build crtbeginT.o on m68k-linux (closes: #179807).
+ * Install gcjh-wrapper for javah (closes: #180218).
+ * gij suggests fastjar, gcj recommends fastjar (closes: #179298).
+ * Allow builds using automake1.4 | automake (<< 1.5) (closes: #180048).
+ * Backport fix for to output more correct line numbers (closes: #153965).
+ * Add help2man to build dependencies needed for some gpc man pages.
+ * gpc: Install binobj and gpidump binaries and man pages.
+ * Disable gpc on arm due to wrong code generation for fwrite in
+ glibc (see PR optimization/9279).
+
+ -- Matthias Klose Sat, 22 Feb 2003 19:58:20 +0100
+
+gcc-3.2 (1:3.2.3ds0-0pre1) unstable; urgency=low
+
+ * gcc-3.2.3 prerelease (CVS 20030210)
+ - Fixes long millicode calls on hppa (closes: #180520)
+ * New gpc-20030209 version. Remove gpc-update.dpatch and gpc-testsuite.dptch
+ as they are no longer needed.
+ * Fix netbsd-i386 patches (closes: #180129, #179931)
+ * m68k-bootstrap.dpatch: backport gcse.c changes from 3.3/MAIN to 3.2
+ * Change priority of libstdc++5 and gcc-3.2-base to important.
+
+ -- Ryan Murray Tue, 11 Feb 2003 06:18:09 -0700
+
+gcc-3.2 (1:3.2.2ds8-1) unstable; urgency=low
+
+ * gcc-3.2.2 release.
+ - Fixes ICE, regression from 2.95 (closes: #176117).
+ - Fixes ICE, regression from 2.95 (closes: #179161).
+ * libstdc++ for biarch installs now upstream to usr/lib64,
+ therefore mv usr/lib/64 usr/lib64 no longer necessary. (Gerhard Tonn)
+
+ -- Ryan Murray Wed, 5 Feb 2003 01:35:29 -0700
+
+gcc-3.2 (1:3.2.2ds7-0pre8) unstable; urgency=low
+
+ * gcc-3.2.2 prerelease (CVS 20030130).
+ * update s390 libffi patch
+ * debian/control: add myself to uploaders and change libc12-dev depends to
+ libc-dev on i386 (closes: #179128)
+ * Build-Depend on procps so that ps is available for logwatch
+
+ -- Ryan Murray Fri, 31 Jan 2003 04:00:15 -0700
+
+gcc-3.2 (1:3.2.2ds6-0pre7) unstable; urgency=low
+
+ * gcc-3.2.2 prerelease (CVS 20030128).
+ - Update needed for hppa.
+ - Fixes ICE on arm, regression from 2.95.x (closes: #168086).
+ - Can use default bison (1.875).
+ * Apply netbsd build patches (closes: #177674, #178328, #178325,
+ #178326, #178327).
+ * Run the logwatch script on "slow" architectures (arm, m68k) only.
+ * autoreconf.dpatch: Only update libtool.m4, which is newer conceptually
+ than libtool 1.4 (Ryan Murray).
+ * Apply autoreconf patch universally (Ryan Murray).
+ * More robust gij/gcj wrapper scripts, include /usr/lib/jni in default
+ JNI search path (Ben Burton). Closes: #167932.
+ * Build crtbeginT.o on m68k (closes: #177036).
+ * Fixed libc-dev source dependency (closes: #178602).
+ * Tighten shlib dependency to the current package version; should be
+ 1:3.2.2-1 for the final release (closes: #178867).
+
+ -- Matthias Klose Tue, 28 Jan 2003 21:59:30 +0100
+
+gcc-3.2 (1:3.2.2ds5-0pre6) unstable; urgency=low
+
+ * gcc-3.2 snapshot taken from the gcc-3_2-branch (CVS 20030123).
+ * Build locales needed by the libstdc++ testsuite.
+ * Update config.{guess,sub} files from autotools-dev (closes: #177674).
+ * Disable Ada and Java on netbsd-i386 (closes: #177679).
+ * gnat: Add suggests for gnat-doc and ada-reference-manual.
+
+ -- Matthias Klose Thu, 23 Jan 2003 22:16:53 +0100
+
+gcc-3.2 (1:3.2.2ds4-0pre5.1) unstable; urgency=low
+
+ * Readd build dependency `locales' on arm. locales is now installable
+ * Add autoreconf patch for mips{,el}. (closes: #176311)
+
+ -- Ryan Murray Wed, 22 Jan 2003 14:31:14 -0800
+
+gcc-3.2 (1:3.2.2ds4-0pre5) unstable; urgency=low
+
+ * Remove build dependency `libc6-dev-sparc64 [sparc]' for now.
+ * Remove build dependency `locales' on arm. locales is uninstallable
+ on arm due to the missing glibc-2.3.
+ * Use bison-1.35. bison-1.875 causes an hard error on the reduce/reduce
+ conflict in objc-parse.y.
+
+ -- Matthias Klose Fri, 10 Jan 2003 10:10:43 +0100
+
+gcc-3.2 (1:3.2.2ds4-0pre4) unstable; urgency=low
+
+ * Try building with gcc-2.95 on m68k-linux. Building gcc-3.2 with gcc-3.2
+ does not work for me. m68k-linux doesn't look good at all ...
+ * Fix s390 build error.
+ * Add locales to build dependencies. A still unsolved issue is the
+ presence of the locales de_DE, en_PH, en_US, es_MX, fr_FR and it_IT,
+ or else some tests in the libstdc++ testsuite will fail.
+ * Put all -nof files in the -nof package (closes: #175253).
+ * Correctly exit logwatch script (closes: #175251).
+ * Install linker-map.gnu file for libstdc++_pic (closes: #175144).
+ * Install versioned gpcs docs only (closes: #173844).
+ * Include gpc test results in gpc package.
+ * Link local libstdc++ documentation to local source-level documentation.
+ * Clarify libstdc++ description (so version and library version).
+ Closes: #175799.
+ * Include library in libstdc++-dbg package (closes: #176005).
+
+ -- Matthias Klose Wed, 8 Jan 2003 23:39:50 +0100
+
+gcc-3.2 (1:3.2.2ds3-0pre3) unstable; urgency=low
+
+ * gcc-3.2 snapshot taken from the gcc-3_2-branch (CVS 20021231).
+ - Fix loop count computation for preconditioned unrolled loops.
+ Closes: #162919.
+ - Fix xmmintrin.h (_MM_TRANSPOSE4_PS) CVS 20021027 (closes: #163647).
+ - Fix [PR 8601] strlen/template interaction causes ICE CVS 20021201.
+ Closes: #166143.
+ * Watch the log files, which are written during the testsuite runs and print
+ out a message, if there is still activity. No more buildd timeouts on arm
+ and m68k ...
+ * Remove gpc's reference to librx1g-dev package (closes: #172953).
+ * Remove trailing dots on package descriptions.
+ * Fix external reference to cpp.info in gcc.info (closes: #174598).
+
+ -- Matthias Klose Tue, 31 Dec 2002 13:47:52 +0100
+
+gcc-3.2 (1:3.2.2ds2-0pre2) unstable; urgency=medium
+
+ * Friday, 13th upload, so what do you expect ...
+ * gcc-3.2 snapshot taken from the gcc-3_2-branch (CVS 20021212).
+ * Fix gnat build (autobuild maintainers: please revert back to gnat-3.2
+ (<= 1:3.2.1ds6-1) for building gnat-3.2, if the build fails building
+ gnatlib and gnattools).
+ * Really disable sparc64 support.
+
+ -- Matthias Klose Fri, 13 Dec 2002 00:26:37 +0100
+
+gcc-3.2 (1:3.2.2ds1-0pre1) unstable; urgency=low
+
+ * A candidate for the transition ...
+ * gcc-3.2 snapshot taken from the gcc-3_2-branch (CVS 20021210).
+ - doc/invoke.texi: Remove last reference to -a (closes: #171748).
+ * Disable sparc64 support. For now please use egcs64 to build sparc64
+ kernels.
+ * Disable Pascal on the sparc architecture (doesn't bootstrap).
+
+ -- Matthias Klose Tue, 10 Dec 2002 22:33:13 +0100
+
+gcc-3.2 (1:3.2.2ds0-0pre0) unstable; urgency=low
+
+ * gcc-3.2 snapshot taken from the gcc-3_2-branch (CVS 20021202).
+ - Should fix _Pragma expansion within macros (closes: #157416).
+ * New gpc-20021128 version. Run check using EXTRA_TEST_PFLAGS=-g0
+ * Add tetex-bin to build dependencies (gpc needs it). Closes: #171203.
+
+ -- Matthias Klose Tue, 3 Dec 2002 08:22:33 +0100
+
+gcc-3.2 (1:3.2.1ds6-1) unstable; urgency=low
+
+ * gcc-3.2.1 final release.
+ * Build gpc-20021111 for all architectures. hppa and i386 are
+ known to work. For the other architectures, send the usual FTBFS ...
+ WARNING: this gpc version is an alpha version, especially debug info
+ doesn't work well, so use -g0 for compiling. If you need a stable
+ gpc compiler, use gpc-2.95.
+ * Encode the gpc upstream version in the package name, the gpc release
+ date in the version number (requested by gpc upstream).
+ * Added libncurses5-dev and libgmp3-dev as build dependencies for the
+ gpc tests and runtime.
+ * Clean CVS files as well (closes: #169101).
+ * s390-biarch.dpatch added, backported from CVS (Gerhard Tonn).
+ * s390-config-ml.dpatch added, disables biarch for java,
+ libffi and boehm-gc on s390. They need a 64 bit runtime
+ during build which is not yet available on s390 (Gerhard Tonn).
+ * Biarch support for packaging adapted (Gerhard Tonn).
+ biarch variable added and with-sparc64 variable substituted in
+ most places by biarch.
+ dh_shlibdeps is applied only to 32 bit libraries on s390, since
+ ldd for 64 bit libraries don't work on 32 bit runtime.
+ Build dependency to libc6-dev-s390x added.
+
+ -- Matthias Klose Wed, 20 Nov 2002 00:20:58 +0100
+
+gcc-3.2 (1:3.2.1ds5-0pre6) unstable; urgency=medium
+
+ * gcc-3.2.1 prerelease.
+ * Removed arm patch integrated upstream.
+ * Adjust gnat build dependency (closes: #167116).
+ * Always configure with --enable-clocale=gnu. The autobuilders do have
+ locales installed, but not generated the "de_DE" locale needed for
+ the autoconf test in libstdcc++-v3/aclocal.m4.
+ * libstdc++ documentaion: Don't compresss '*.txt' referenced by html pages.
+
+ -- Matthias Klose Tue, 12 Nov 2002 07:19:44 +0100
+
+gcc-3.2 (1:3.2.1ds4-0pre5) unstable; urgency=medium
+
+ * gcc-3.2.1 snapshot (CVS 20021103).
+ * sparc64-build.dpatch: Updated. Lets sparc boostrap again.
+ * s390-loop.dpatch removed, already fixed upstream (Gerhard Tonn).
+ * bison.dpatch: Removed, patch submitted upstream.
+ * backport-java-6865.dpatch: Apply again during build.
+ * Tighten glibc dependency (closes: #166703).
+
+ -- Matthias Klose Sun, 3 Nov 2002 12:22:02 +0100
+
+gcc-3.2 (1:3.2.1ds3-0pre4) unstable; urgency=high
+
+ * gcc-3.2.1 snapshot (CVS 20021020).
+ - Expansion of _Pragma within macros fixed (closes: #157416).
+ * FTBFS: With the switch to bison-1.50 (and 1.75), gcc-3.2 fails to build from
+ source on Debian unstable systems. This is fixed in gcc HEAD, but not on
+ the current release branch.
+ HELP NEEDED:
+ - check what is missing from the patches in debian/patches/bison.dpatch.
+ This is a backport of the bison related patches, but showing regressions
+ in the gcc testsuite, so it cannot be applied.
+ - build gcc using byacc (bootstrap currently fails using byacc).
+ - build bison-1.35 in it's own package (the current 1.35-3 package fails
+ to build form source).
+ - and finally ask upstream to backport the patch to the branch. It's not
+ helpful not beeing able to follow the stable branch. Maybe we should
+ just switch to gcc HEAD as BSD does ...
+ As a terrible workaround, build the sources from CVS first on a machine,
+ with bison-1.35 installed, then package the tarball, so the bison
+ generated files are not rebuilt.
+
+ * re-add lost patch: configure with --enable-__cxa_atexit (closes: #163422),
+ Therefore urgency high.
+ * gcj-wrapper, gij-wrapper: Accept names starting with `.' (closes: #163172,
+ #164009).
+ * Point g++ manpage to correct g++ version (closes: #162843).
+ * Support for i386-freebsd-gnu (closes: #163883).
+ * s390-java.dpatch replaced with backport from cvs head (Gerhard Tonn).
+ * Disable the testsuite run on the Hurd (closes: #159650).
+ * s390-loop.dpatch added, fixes runtime problem (Gerhard Tonn).
+ * debian/patches/bison.dpatch: Backport for bison-1.75 compatibility.
+ Don't use it due to regressions.
+ * debian/patches/backport-java-6865.dpatch: Directly applied in the
+ included tarball because of bison problems.
+ * Make fixincludes priority optional, so linda can depend on it.
+ * Tighten binutils dependency.
+
+ -- Matthias Klose Sun, 20 Oct 2002 10:52:49 +0200
+
+gcc-3.2 (1:3.2.1ds2-0pre3) unstable; urgency=low
+
+ * gcc-3.2.1 snapshot (CVS 20020923).
+ * Run the libstdc++ check-abi script. Results are put into the file
+ /usr/share/doc/libstdc++5/README.libstdc++-baseline in the libstdc++5-dev
+ package. This file contains a new baseline, if no baseline for this
+ architecture is included in the gcc sources.
+ * gcj-wrapper: Accept files starting with an underscore, accept
+ path names (closes: #160859, #161517).
+ * Explicitely call automake-1.4 when rebuilding Makefiles (closes: #161438).
+ * Let installed fixincludes script find files in /usr/lib/fixincludes.
+ * debian/rules.patch: Add .NOTPARALLEL as target, so that patches are
+ applied sequentially (closes: #159395).
+
+ -- Matthias Klose Tue, 24 Sep 2002 07:36:56 +0200
+
+gcc-3.2 (1:3.2.1ds1-0pre2) unstable; urgency=low
+
+ * gcc-3.2.1 snapshot (CVS 20020913). Welcome back m68k in bootstrap land!
+ * Fix arm-tune.dpatch (closes: #159354).
+ * Don't overwrite LD_LIBRARY_PATH in build (closes: #158459).
+ * --disable-__cxa_atexit on NetBSD (closes: #159620).
+ * Reenable installation of message catalogs (disabled in 3.2-0pre2).
+ Closes: #160175.
+ * Ben Collins
+ - Re-enable sparc64 build. This time, it's part of the default compiler.
+ I have disabled 64/alt libraries as they are too much overhead. All
+ libraries build 64bit, but currently only libgcc/libstdc++ include the
+ 64bit libraries.
+ Closes: #160404.
+ * Depend on autoconf2.13, instead of autoconf.
+ * Phil Blundell
+ - debian/patches/arm-update.dpatch: Fix python2.2 build failure.
+
+ -- Matthias Klose Sat, 7 Sep 2002 08:05:02 +0200
+
+gcc-3.2 (1:3.2.1ds0-0pre1) unstable; urgency=medium
+
+ * gcc-3.2.1 snapshot (CVS 20020829).
+ New g++ option -Wabi:
+ Warn when G++ generates code that is probably not compatible with the
+ vendor-neutral C++ ABI. Although an effort has been made to warn about
+ all such cases, there are probably some cases that are not warned about,
+ even though G++ is generating incompatible code. There may also be
+ cases where warnings are emitted even though the code that is generated
+ will be compatible.
+ The current version of the ABI is 102, defined by the __GXX_ABI_VERSION
+ macro.
+ * debian/NEWS.*: Updated.
+ * Fix libstdc++-dev dependency on libc-dev for the Hurd (closes: #157004).
+ * Add versioned expect build dependency.
+ * Tighten binutils dependency to 2.13.90.0.4.
+ * debian/patches/arm-tune.dpatch: Increase stack limit for configure.
+ * 3.2-0pre4 did build gnat-3.2 compilers for all architectures. Build-Depend
+ on gnat-3.2 now (closes: #156734).
+ * Remove bashism's in gcj-wrapper (closes: #157982).
+ * Add -cp and -classpath options to gij(1). Backport from HEAD (#146634).
+ * Add fastjar documentation.
+
+ -- Matthias Klose Fri, 30 Aug 2002 10:35:00 +0200
+
+gcc-3.2 (1:3.2ds0-0pre4) unstable; urgency=low
+
+ * Correct build dependency on gnat-3.1.
+
+ -- Matthias Klose Mon, 12 Aug 2002 01:21:58 +0200
+
+gcc-3.2 (1:3.2ds0-0pre3) unstable; urgency=low
+
+ * gcc-3.2 upstream prerelease.
+ * Disable all configure options, which are standard:
+ --enable-threads=posix --enable-long-long, --enable-clocale=gnu
+
+ -- Matthias Klose Fri, 9 Aug 2002 21:59:08 +0200
+
+gcc-3.2 (1:3.2ds0-0pre2) unstable; urgency=low
+
+ * gcc-3.2 snapshot (CVS 20020802).
+ * Fix g++-include dir.
+ * Don't install the locale files (temporarily, until we don't build
+ gcc-3.1 anymore).
+ * New package libgcj-common to avoid conflict with classpath package.
+
+ -- Matthias Klose Sat, 3 Aug 2002 09:08:34 +0200
+
+gcc-3.2 (1:3.2ds0-0pre1) unstable; urgency=low
+
+ * gcc-3.2 snapshot (CVS 20020729).
+
+ -- Matthias Klose Mon, 29 Jul 2002 20:36:54 +0200
+
+gcc-3.1 (1:3.1.1ds3-1) unstable; urgency=low
+
+ * gcc-3.1.1 release. Following this release we will have a gcc-3.2
+ release soon, which is gcc-3.1.1 plus some C++ ABI changes. Once
+ gcc-3.2 hits the archives, gcc-3.1.1 will go away.
+ * Don't build the sparc64 compiler. The packaging/patches are
+ currently broken.
+ * Add missing headers on m68k and powerpc.
+ * Install libgcc_s_nof on powerpc.
+ * Install libffi's copyright and doc files (closes: #152198).
+ * Remove dangling symlink (closes: #149002).
+ * libgcj3: Add a conflict to the classpath package (closes: #148664).
+ * README.C++: Fix URLs.
+ * libstdc++-dbg: Install into /usr/lib/debug, document it.
+ * backport-java-6865.dpatch: backport from HEAD.
+ * Fix typo in gcj docs (closes: #148890).
+ * Change libstdc++ include dir: /usr/include/c++/3.1.
+ * libstdc++-codecvt.dpatch: New patch (closes: #149776).
+ * Build libstdc++-pic package.
+ * Move 64bit libgcc in its own package libgcc1-64 (closes: #147249).
+ * Tighten glibc dependency.
+
+ -- Matthias Klose Mon, 29 Jul 2002 00:34:49 +0200
+
+gcc-3.1 (1:3.1.1ds2-0pre3) unstable; urgency=low
+
+ * Updated to CVS 2002-06-06 (gcc-3_1-branch).
+ * Updated s390-java patch (Gerhard Tonn).
+ * Don't use -O in STAGE1_FLAGS on m68k.
+ * Fix `-classpath' option in gcj-wrapper script (closes: #150142).
+ * Remove g++-cxa-atexit patch, use --enable-__cxa_atexit configure option.
+
+ -- Matthias Klose Wed, 3 Jul 2002 23:52:58 +0200
+
+gcc-3.1 (1:3.1.1ds1-0pre2) unstable; urgency=low
+
+ * Updated to CVS 2002-06-06 (gcc-3_1-branch), fixing an ObjC regression.
+ * Welcome m68k to bootstrap land (thanks to Andreas Schwab).
+ * Add javac wrapper for gcj-3.1 (Michael Koch).
+ * Remove dangling symlink in /usr/share/doc/gcc-3.1 (closes: #149002).
+
+ -- Matthias Klose Fri, 7 Jun 2002 00:26:05 +0200
+
+gcc-3.1 (1:3.1.1ds0-0pre1) unstable; urgency=low
+
+ * Updated to CVS 2002-05-31 (gcc-3_1-branch).
+ * Change priorities from fastjar and gij-wrapper-3.1 from 30 to 31.
+ * Update arm-tune patch.
+ * Install xmmintrin.h header on i386 (closes: #148181).
+ * Install altivec.h header on powerpc.
+ * Call correct gij in gij-wrapper (closes: #148662, #148682).
+
+ -- Matthias Klose Wed, 29 May 2002 22:47:40 +0200
+
+gcc-3.1 (1:3.1ds2-2) unstable; urgency=low
+
+ * Tighten binutils dependency.
+ * Fix libstdc include dir for multilibs (Dan Jacobowitz).
+
+ -- Matthias Klose Tue, 21 May 2002 08:03:49 +0200
+
+gcc-3.1 (1:3.1ds2-1) unstable; urgency=low
+
+ * GCC 3.1 release.
+ * Ada cannot be built by the autobuilders for the first time. Do it by hand.
+ gnatgcc and gnatbind need to be in the PATH.
+ * Build with CC=gnatgcc, when building the Ada compiler.
+ * Hurd fixes.
+ * Don't build the sparc64 compiler; the hack isn't up to date and glibc
+ isn't converted to use /lib64 and /usr/lib64.
+ * m68k-linux shows bootstrap comparision failures. If you want to build
+ the compiler anyway and ignore the bootstrap comparision failure, edit
+ debian/rules.patch and uncomment the patch to ignore the failure. See
+ /usr/share/doc/gcc-3.1/BOOTSTRAP_COMPARISION_FAILURE for the differences.
+
+ -- Matthias Klose Wed, 15 May 2002 09:53:00 +0200
+
+gcc-3.1 (1:3.1ds1-0pre6) unstable; urgency=low
+
+ * Build from the "final prerelease" tarball (gcc-3.1-20020508.tar.gz).
+ * Build gnat-3.1-doc package.
+ * Build fastjar package without building java packages.
+ * Hurd fixes.
+ * Updated sparc64-build patch.
+ * Add s390-ada patch (Gerhard Tonn).
+ * Undo the dwarf2 support for hppa from -0pre5.
+
+ -- Matthias Klose Thu, 9 May 2002 17:21:09 +0200
+
+gcc-3.1 (1:3.1ds0-0pre5) unstable; urgency=low
+
+ * Use /usr/include/g++-v3-3.1 as C++ include dir.
+ * Update s390-java patch (Gerhard Tonn).
+ * Tighten binutils dependency (gas patch for m68k-linux).
+ * Use gnat-3.1 as the gnat package name (as found in gcc/ada/gnatvsn.ads).
+ * dwarf2 support hppa: a snapshot of the gcc/config/pa directory
+ from the trunk dated 2002-05-02.
+
+ -- Matthias Klose Fri, 3 May 2002 22:51:37 +0200
+
+gcc-3.1 (1:3.1ds0-0pre4) unstable; urgency=low
+
+ * Use gnat-5.00w as the gnat package name (as found in gcc/ada/gnatvsn.ads).
+ * Don't build the shared libgnat library. It assumes an existing shared
+ libiberty library.
+ * Don't install the libgcjgc library.
+
+ -- Matthias Klose Thu, 25 Apr 2002 08:48:04 +0200
+
+gcc-3.1 (1:3.1ds0-0pre3) unstable; urgency=low
+
+ * Build fastjar on all architectures.
+ * Update m68k patches.
+ * Update s390-java patch (Gerhard Tonn).
+
+ -- Matthias Klose Sun, 14 Apr 2002 15:34:47 +0200
+
+gcc-3.1 (1:3.1ds0-0pre2) unstable; urgency=low
+
+ * Add Ada support. To successfully build, a working gnatbind and gcc
+ driver with Ada support is needed.
+ * Apply needed arm patches from 3.0.4.
+
+ -- Matthias Klose Sat, 6 Apr 2002 13:17:08 +0200
+
+gcc-3.1 (1:3.1ds0-0pre1) unstable; urgency=low
+
+ * First try for gcc-3.1.
+
+ -- Matthias Klose Mon, 1 Apr 2002 23:39:30 +0200
+
+gcc-3.0 (1:3.0.4ds3-6) unstable; urgency=medium
+
+ * Second try at fixing sparc build problems.
+
+ -- Phil Blundell Sun, 24 Mar 2002 14:49:26 +0000
+
+gcc-3.0 (1:3.0.4ds3-5) unstable; urgency=medium
+
+ * Enable java on ARM.
+ * Create missing directory to fix sparc build.
+
+ -- Phil Blundell Fri, 22 Mar 2002 20:21:59 +0000
+
+gcc-3.0 (1:3.0.4ds3-4) unstable; urgency=low
+
+ * Link with system zlib (closes: #136359).
+
+ -- Matthias Klose Tue, 12 Mar 2002 20:47:59 +0100
+
+gcc-3.0 (1:3.0.4ds3-3) unstable; urgency=low
+
+ * Build libf2c (pic and non-pic) with -mieee on alpha-linux.
+
+ -- Matthias Klose Sun, 10 Mar 2002 00:37:24 +0100
+
+gcc-3.0 (1:3.0.4ds3-2) unstable; urgency=medium
+
+ * Apply hppa-build patch (Randolph Chung). Closes: #136731.
+ * Make libgcc1 conflict/replace with libgcc1-sparc64. Closes: #135709.
+ * gij-3.0 provides the `java' command. Closes: #128947.
+ * Depend on binutils (>= 2.11.93.0.2-2), allows stripping of libgcj.a
+ again. Closes: #99307.
+ * Update README.cross pointing to the README of the toolchain-source
+ package.
+
+ -- Matthias Klose Wed, 6 Mar 2002 21:53:34 +0100
+
+gcc-3.0 (1:3.0.4ds3-1) unstable; urgency=low
+
+ * Final gcc-3.0.4 release.
+ * debian/rules.d/binary-java.mk: Fix dormant typo, exposed by removing the
+ duplicate libgcj dependency and adding the gij-3.0 package.
+ Closes: #134005.
+ * New patch by Phil Blundell to fix scalapack build error on m68k.
+
+ -- Matthias Klose Wed, 20 Feb 2002 23:59:43 +0100
+
+gcc-3.0 (1:3.0.4ds2-0pre020210) unstable; urgency=low
+
+ * Make the base package dependent on the binary-arch target. Closes: #133433.
+ * Get libstdc++ on arm woring (define _GNU_SOURCE). Closes: #133435.
+
+ -- Matthias Klose Mon, 11 Feb 2002 20:31:12 +0100
+
+gcc-3.0 (1:3.0.4ds2-0pre020209) unstable; urgency=high
+
+ * Update to CVS sources (20020209 gcc-3_0-branch).
+ * Apply patch to fix bootstrap error on arm-linux (submitted upstream
+ by Phil Blundell). Closes: #130422.
+ * Make base package architecture any.
+ * Decouple versioned shlib dependencies from release number for
+ libobjc as well.
+
+ -- Matthias Klose Sat, 9 Feb 2002 01:30:11 +0100
+
+gcc-3.0 (1:3.0.4ds1-0pre020203) unstable; urgency=medium
+
+ * One release critical bug outstanding:
+ - bootstrap error on arm.
+ * Update to CVS sources (20020203 gcc-3_0-branch).
+ * Fixed upstream: PR c/3504: Correct documentation of __alignof__.
+ Closes: #85445.
+ * Remove libgcc-powerpc patch, integrated upstream (closes: #131977).
+ * Tighten binutils build dependency (to address #126162).
+ * Move jv-convert to gcj package (closes: #131985).
+
+ -- Matthias Klose Sun, 3 Feb 2002 14:47:14 +0100
+
+gcc-3.0 (1:3.0.4ds0-0pre020127) unstable; urgency=low
+
+ * Two release critical bugs outstanding:
+ - bootstrap error on arm.
+ - bus errors for C++ and java executables on sparc (see the testsuite
+ results).
+ * Update to CVS sources (20020125 gcc-3_0-branch).
+ * Enable java support for s390 architecture (patch from Gerhard Tonn).
+ * Updated NEWS file for 3.0.3.
+ * Disable building the gcc-sparc64, but build a multilibbed compiler
+ for sparc as the default.
+ * Disabled the subreg-byte patch for sparc (request from Ben Collins).
+ * Fixed reference to libgcc1 package in README (closes: #126218).
+ * Do recommend libc-dev, not depend on it. For low-end or embedded systems
+ the dependency on libc-dev can make the difference between
+ having enough or having too little space to build a kernel.
+ * README.cross: Updated by Hakan Ardo.
+ * Decouple versioned shlib dependencies from release number. Closes: #118391.
+ * Fix diversions for gcc-3.0-sparc64 package (closes: #128178),
+ unconditionally remove `sparc64-linux-gcc' alternative.
+ * g77/README.libg2c.Debian: New file mentioning `libg2c-pic'. The next
+ g77 version (3.1) does build a static and shared library (closes: #104250).
+ * Fix formatting errors in the synopsis of the java man pages. Maybe the
+ reason for #127571. Closes: #127571.
+ * fastjar: Fail for the (currently incorrect) -u option. Addresses: #116145.
+ Add alternative for `jar' using priority 30 (closes: #118648).
+ * jv-convert: Add --help option and man page. Backport from HEAD branch.
+ * libgcj2-dev: Remove duplicate dependency (closes: #127805).
+ * Giving up and make just another new package gij-X.Y with only the gij-X.Y
+ binary for policy conformance (closes: #127111).
+ * gij: Provides an alternative for `java' (priority 30) using a wrapper
+ script (Stephen Zander) (closes: #128974). Added simple manpage.
+
+ -- Matthias Klose Sun, 27 Jan 2002 13:33:41 +0100
+
+gcc-3.0 (1:3.0.3ds3-1) unstable; urgency=low
+
+ * Final gcc-3.0.3 release.
+ * Do not compress .txt files in libstdc++ docs referenced from html
+ pages (closes: #124136).
+ * libstdc++-dev suggests libstdc++-doc.
+ * debian/patches/gcc-ia64-NaT.dpatch: Update (closes: #123685).
+
+ -- Matthias Klose Fri, 21 Dec 2001 02:54:11 +0100
+
+gcc-3.0 (1:3.0.3ds2-0pre011215) unstable; urgency=low
+
+ * Update to CVS sources (011215).
+ * libstdc++ documentation updated upstream (closes: #123790).
+ * debian/patches/gcc-ia64-NaT.dpatch: Disable. Fixes bootstrap error
+ on ia64 (#123685).
+
+ -- Matthias Klose Sat, 15 Dec 2001 14:43:21 +0100
+
+gcc-3.0 (1:3.0.3ds1-0pre011210) unstable; urgency=medium
+
+ * Update to CVS sources (011208).
+ * Supposed to fix powerpc build error (closes: #123155).
+
+ -- Matthias Klose Thu, 13 Dec 2001 07:26:05 +0100
+
+gcc-3.0 (1:3.0.3ds0-0pre011209) unstable; urgency=medium
+
+ * Update to CVS sources (011208). Frozen for upstream 3.0.3 release.
+ * Apply contrib/PR3145.patch, a backport of Nathan Sidwell's patch to
+ fix PR c++/3145, the infamous "virtual inheritance" bug. This affected
+ especially KDE2 (eg. artsd). Franz Sirl
+ * cc1plus segfault in strength reduction fixed upstream. Closes: #122547.
+ * debian/patches/gcc-ia64-NaT.dpatch: Add patch to avoid a bug that can
+ cause miscompiled userapps to crash the kernel. Closes: #121924.
+ * Reenable shared libgcc for powerpc. Fixed upstream.
+ http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00340.html
+ debian/patches/libgcc-powerpc.dpatch: New patch.
+ * Add upstream changelogs.
+ * Remove gij alternative. Move to gij package.
+
+ -- Matthias Klose Sun, 9 Dec 2001 09:36:48 +0100
+
+gcc-3.0 (1:3.0.2ds4-4) unstable; urgency=medium
+
+ * Disable building of libffi on mips and mipsel.
+ (closes: #117503).
+ * Enable building of shared libgcc on s390
+ (closes: #120452).
+
+ -- Christopher C. Chimelis Sat, 1 Dec 2001 06:15:29 -0500
+
+gcc-3.0 (1:3.0.2ds4-3) unstable; urgency=medium
+
+ * Fix logic to build libffi without java (closes: #117503).
+
+ -- Matthias Klose Sun, 4 Nov 2001 14:34:50 +0100
+
+gcc-3.0 (1:3.0.2ds4-2) unstable; urgency=medium
+
+ * Enable java for ia64 (Jeff Licquia). Closes: #116798.
+ * Allow building of libffi without gcj (Jeff Licquia).
+ New libffi packages for arm hurd-i386 mips mipsel,
+ still missing: hppa, s390.
+ * debian/NEWS.gcc: Add 3.0.2 release notes.
+ * debian/patches/hppa-align.dpatch: New patch from Alan Modra,
+ submitted by Randolph Tausq.
+
+ -- Matthias Klose Thu, 25 Oct 2001 23:59:31 +0200
+
+gcc-3.0 (1:3.0.2ds4-1) unstable; urgency=medium
+
+ * Final gcc-3.0.2 release. The source tarball is not the released
+ tarball, but taken from CVS 011024).
+ * Remove patch for s390, included upstream.
+
+ -- Matthias Klose Wed, 24 Oct 2001 00:49:40 +0200
+
+gcc-3.0 (1:3.0.2ds3-0pre011014) unstable; urgency=low
+
+ * Update to CVS sources (011014). Frozen for upstream 3.0.2 release.
+ Closes: #109351, #114099, #114216, #105741 (allegro3938).
+ * Added debian/patches/fastjar.dpatch, which makes fastjar extract
+ filenames correctly (previously, some had incorrect names on extract).
+ Closes: #113236.
+ * Priorities fixed in the past (closes: #94404).
+
+ -- Matthias Klose Sun, 14 Oct 2001 13:19:43 +0200
+
+gcc-3.0 (1:3.0.2ds2-0pre010923) unstable; urgency=low
+
+ * Bootstraps on powerpc again (closes: #112777).
+
+ -- Matthias Klose Sun, 23 Sep 2001 01:32:11 +0200
+
+gcc-3.0 (1:3.0.2ds2-0pre010922) unstable; urgency=low
+
+ * Update to CVS sources (010922).
+ * Fixed upstream (closes: #111801). #105569 on hppa.
+ * Update hppa patch (Matt Taggart).
+ * Fix libstdc++-dev package description (closes: #112758).
+ * debian/rules.d/binary-objc.mk: Fix build error (closes: #112462).
+ * Make gobjc-3.0 conflict with gcc-3.0-sparc64 (closes: #111772).
+
+ -- Matthias Klose Sat, 22 Sep 2001 09:34:49 +0200
+
+gcc-3.0 (1:3.0.2ds1-0pre010908) unstable; urgency=low
+
+ * Update to CVS sources (010908).
+ * Update hppa patch (Matt Taggart).
+ * Depend on libgc6-dev, not libgc5-dev, which got obsolete (during
+ the freeze ...). However adds s390 support (closes: #110189).
+ * debian/patches/m68k-reload.dpatch: New patch (Roman Zippel).
+ Fixes #89023.
+ * debian/patches/gcc-sparc.dpatch: New patch ("David S. Miller").
+ Fixes libstdc++ testsuite failures on sparc.
+
+ -- Matthias Klose Sat, 8 Sep 2001 14:26:20 +0200
+
+gcc-3.0 (1:3.0.2ds0-0pre010826) unstable; urgency=low
+
+ * gcc-3.0-nof: Fix symlink to gcc-3.0-base doc directory.
+ * debian/patches/gcj-without-rpath: New patch.
+ * Remove self dependency on libgcj package.
+ * Handle diversions for upgrades from 3.0 and 3.0.1 -> 3.0.2
+ in gcc-3.0-sparc64 package.
+ * Build libg2c.a with -fPIC -DPIC and name the result libg2c-pic.a.
+ Link with this library to avoid linking with non-pic code.
+ Use this library when building dynamically loadable objects (python
+ modules, gimp plugins, ...), which need to be linked against g2c or
+ a library which is linked against g2c (i.e. lapack).
+ Packages needing '-lg2c-pic' must have a build dependency on
+ 'g77-3.0 (>= 1:3.0.2-0pre010826).
+
+ -- Matthias Klose Sun, 26 Aug 2001 13:59:03 +0200
+
+gcc-3.0 (1:3.0.2ds0-0pre010825) unstable; urgency=low
+
+ * Update to CVS sources (010825).
+ * Add libc6-dev-sparc64 to gcc-3.0-sparc64 and to sparc build dependencies.
+ * Remove conflicts on egcc package (closes: #109718).
+ * Fix gcc-3.0-nof dependency.
+ * s390 patches against gcc-3.0.1 (Gerhard Tonn).
+ * debian/control: Require binutils (>= 2.11.90.0.27)
+
+ -- Matthias Klose Sat, 25 Aug 2001 10:59:15 +0200
+
+gcc-3.0 (1:3.0.1ds3-1) unstable; urgency=low
+
+ * Final gcc-3.0.1 release.
+ * Changed upstream: default of -flimit-inline is 600 (closes: #106716).
+ * Add fastjar man page (submitted by "The Missing Man Pages Project",
+ http://www.netmeister.org/misc/m2p2i/) (closes: #103051).
+ * Fixed in last upload as well: #105246.
+ * debian/patches/cpp-memory-leak.dpatch: New patch
+ * Disable installation of shared libgcc on s390 (Gerhard Tonn).
+
+ -- Matthias Klose Mon, 20 Aug 2001 20:47:13 +0200
+
+gcc-3.0 (1:3.0.1ds2-0pre010811) unstable; urgency=high
+
+ * Update to CVS sources (010811). Includes s390 support.
+ * Add xlibs-dev to Build-Depends (libgcj).
+ * Enable java for powerpc, disable java for ia64.
+ * Enable ObjC garbage collection for all archs, which have a libgc5-dev
+ package.
+ * New patch libstdc++-codecvt (Michael Piefel) (closes: #104614).
+ * Don't strip static libgcj library (work around binutils bug #107812).
+ * Handle diversions for upgrade 3.0 -> 3.0.1 in gcc-3.0-sparc64 package
+ (closes: #107569).
+
+ -- Matthias Klose Sat, 11 Aug 2001 20:42:15 +0200
+
+gcc-3.0 (1:3.0.1ds1-0pre010801) unstable; urgency=high
+
+ * Update to CVS sources (010801). (closes: #107012).
+ * Remove build dependency on non-free graphviz and include pregenerated
+ docs (closes: #107124).
+ * Fixed in 3.0.1 (closes: #99307).
+ * Updated m68k-updates patch (Roman Zippel).
+ * Another fix for ia64 packaging bits (Randolph Chung).
+
+ -- Matthias Klose Tue, 31 Jul 2001 21:52:55 +0200
+
+gcc-3.0 (1:3.0.1ds0-0pre010727) unstable; urgency=high
+
+ * Update to CVS sources (010727).
+ * Add epoch to source version. Change '.dsx' to 'dsx', so that
+ 3.1.1ds0 gt 3.1ds7 (closes: #106538).
+
+ -- Matthias Klose Sat, 28 Jul 2001 09:56:29 +0200
+
+gcc-3.0 (3.0.1.ds0-0pre010723) unstable; urgency=high
+
+ * ia64 packaging bits (Randolph Chung) (closes: #106252).
+
+ -- Matthias Klose Mon, 23 Jul 2001 23:02:03 +0200
+
+gcc-3.0 (3.0.1.ds0-0pre010721) unstable; urgency=high
+
+ * Update to CVS sources (010721).
+ - Remove patches applied upstream: libstdc++-limits.dpatch,
+ objc-data-references
+ - Updated other patches.
+ * Fix gij alternative (closes: #103468, #103883).
+ * Patch to fix bootstrap on sparc (closes: #103568).
+ * Corrected (closes: #105371) and updated README.Debian.
+ * m68k patches for sucessful bootstrap (Roman Zippel).
+ * Add libstdc++v3 porting hints to README.Debian and README.C++.
+ * m68k md fix (#105622) (Roman Zippel).
+ * debian/rules2: Disable non-functional ulimit on Hurd (#105884).
+ * debian/control: Require binutils (>= 2.11.90.0.24)
+ * Java is enabled for alpha (closes: #87300).
+
+ -- Matthias Klose Sun, 22 Jul 2001 08:24:04 +0200
+
+gcc-3.0 (3.0.ds9-4) unstable; urgency=high
+
+ * Move this version to testing ASAP. testing still has a prerelease
+ version with now incompatible ABI's. If sparc doesn't build,
+ then IMHO it's better to remove it from testing.
+ * debian/control.m4: Set uploaders field. Adjust description of
+ gcc-3.0 (binary) package (closes: #102271, #102620).
+ * Separate gij.1 in it's own pseudo man page (closes: #99523).
+ * debian/patches/java-manpages.dpatch: New patch.
+ * libgcj: Install unversioned gij.
+
+ -- Matthias Klose Tue, 3 Jul 2001 07:38:08 +0200
+
+gcc-3.0 (3.0.ds9-3) unstable; urgency=high
+
+ * Reenable configuration with posix threads on i386 (lost in hurd-i386
+ merge).
+
+ -- Matthias Klose Sun, 24 Jun 2001 22:21:45 +0200
+
+gcc-3.0 (3.0.ds9-2) unstable; urgency=medium
+
+ * Move this version to testing ASAP. testing still has a prerelease
+ version with now incompatible ABI's.
+ * Add libgcc0 and libgcc300 to the build conflicts (#102041).
+ * debian/README.FIRST: Removed (#101534).
+ * Updated subreg-byte patch (doc files).
+ * Disable java for the Hurd, mips and mipsel (#101570).
+ * Patch for building on the Hurd (#101708) (Jeff Bailey ).
+ * Packaging fixes for the Hurd (#101711) (Jeff Bailey ).
+ * Include pregenerated doxygen (1.2.6) docs for libstdc++-v3 (#101557).
+ The current doxygen-1.2.8.1 segaults.
+ * C++: Enable -fuse-cxa-atexit by default (#101901).
+ * Correct mail address in gccbug (#101743).
+ * Make rules resumable after failure in binary-xxx targets (#101637).
+
+ -- Matthias Klose Sun, 24 Jun 2001 16:04:53 +0200
+
+gcc-3.0 (3.0.ds9-1) unstable; urgency=low
+
+ * Final 3.0 release.
+ * Update libgcc version number (#100983, #100988, #101069, #101115, #101328).
+ * Updated hppa-build patch (Matt Taggart ).
+ * Disable java for hppa.
+ * Updated subreg-byte patch for sparc (Ben Collins).
+
+ -- Matthias Klose Mon, 18 Jun 2001 18:26:04 +0200
+
+gcc-3.0 (3.0.ds8-0pre010613) unstable; urgency=low
+
+ * Update patches for recent (010613 23:13 +0200) CVS sources.
+ * Fix packaging bugs (#100459, #100447, #100483).
+ * Build-Depend on gawk, mawk doesn't work well with test_summary.
+
+ -- Matthias Klose Wed, 13 Jun 2001 23:13:38 +0200
+
+gcc-3.0 (3.0.ds7-0pre010609) unstable; urgency=low
+
+ * Fix build dependency for the hurd (#99164).
+ * Update patches for recent (010609) CVS sources.
+ * Disable java on powerpc (link error in libjava).
+ * gcc-3.0-base.postinst: Don't prompt for non-interactive installs (#100110).
+
+ -- Matthias Klose Sun, 10 Jun 2001 09:45:57 +0200
+
+gcc-3.0 (3.0.ds6-0pre010526) unstable; urgency=high
+
+ * Urgency "high" for replacing the gcc-3.0 snapshots in testing, which
+ now are incompatile due to the changed ABIs.
+ * Upstream begins tagging with "gcc-3_0_pre_2001mmdd".
+ * Tighten dependencies to install only binary packages derived from
+ one source (#98851). Tighten libc6-dev dependency to match libc6.
+
+ -- Matthias Klose Sun, 27 May 2001 11:35:31 +0200
+
+gcc-3.0 (3.0.ds6-0pre010525) unstable; urgency=low
+
+ * ATTENTION: The ABI (exception handling) changed. No upgrade path from
+ earlier snapshots (you had been warned in the postinst ...)
+ Closing #93597, #94576, #96448, #96461.
+ You have to rebuild
+ * HELP is appreciated for scanning the Debian BTS and sending followups
+ to bug reports!!!
+ * Should we name debian gcc uploads? What about a "still seeking
+ g++ maintainer" upload?
+ * Fixed in gcc-3.0: #97030
+ * Update patches for recent (010525) CVS sources.
+ * Make check depend on build target (fakeroot problmes).
+ * debian/rules.d/binary-libgcc.mk: new file, build first.
+ * Free memory detection on the hurd for running the testsuite.
+ * Update debhelper build dependency.
+ * libstdc++-doc: Include doxygen generated docs.
+ * Fix boring packaging bugs, too tired for appropriate changelogs ...
+ #93343, #96348, #96262, #97134, #97905, #96451, #95812, #93157
+ * Fixed bugs: #87000.
+
+ -- Matthias Klose Sat, 26 May 2001 23:10:42 +0200
+
+gcc-3.0 (3.0.ds5-0pre010510) unstable; urgency=low
+
+ * Update patches for recent (010506) CVS sources.
+ * New version of source, as of 2001-05-10
+ * New version of gpc source, as of 2001-05-06 (disabled by default).
+ * Make gcc-3.0-sparc64 provide an alternative for sparc64-linux-gcc,
+ since it can build kernels just fine (it seems)
+ * Add hppa patch from Matt Taggart
+ * Fix objc info inclusion...now merged with gcc info
+ * Do not install the .la for libstdc++, since it confuses libtool linked
+ applications when libstdc++3-dev and libstdc++2.10-dev are both
+ installed (closes #97905).
+ * Fixed gcc-base and libgcc section/prio to match overrides
+
+ -- Ben Collins Mon, 7 May 2001 00:08:52 +0200
+
+gcc-3.0 (3.0.ds5-0pre010427) unstable; urgency=low
+
+ * Fixed priority for fastjar from optional to extra
+ * New version of source, as of 2001-04-27
+ * Fix description of libgcj-dev
+ * libffi-install: Make libffi installable
+ * Add libffi and libffi-dev packages. libffi is only enabled for java
+ targets right now. Perhaps more will be enabled later.
+ * Fixes to build cross compiler package (for avr)
+ (Hakan Ardo ).
+ * Better fixincludes description (#93157).
+ * Remove all remnants of libg++
+ * Remove all hacks around libstdc++ version. Since we are strictly v3 now,
+ we can treat it like a normal shared lib, and not worry about all those
+ ABI changes.
+ * Remove all cruft control scripts. Note, debhelper will create scripts
+ that it needs to. It will do the doc link stuff and the ldconfig stuff
+ explicitly.
+ * Clean up the SONAME parsing stuff, make it a little more cleaner over
+ all the lib packages
+ * Make libffi install when built (IOW, whenever java is enabled). This
+ should obsolete the libffi package, which is old and broken
+ * Revert to normal sonames, except for ia64 (for now)
+ * Remove all references to dh_testversion, since they are deprecated for
+ Build-Depends
+ * Fix powerpc nof build
+ * Remove all references to the MULTILIB stuff, since the arches are
+ using specialized builds anyway (nof, softfloat).
+ * Added 64bit sparc64 package (gcc-3.0-sparc64, libgcc0-sparc64)
+ * Removed obsolete shlibs.local file
+
+ -- Ben Collins Sun, 15 Apr 2001 21:33:15 -0400
+
+gcc-3.0 (3.0.ds4-0pre010403) unstable; urgency=low
+
+ * debian/README: Updated for gcc-3.0
+ * debian/rules.patch: Added subreg-byte patch for sparc
+ * debian/rules.unpack: Update to current CVS for gcc tarball name
+ * debian/patches/subreg-byte.dpatch: sparc subreg-byte support
+ * debian/patches/gcc-rawhide.dpatch: Removed
+ debian/patches/gpc-2.95.dpatch: Removed
+ debian/patches/sparc32-rfi.dpatch: Removed
+ debian/patches/temporary.dpatch: Removed
+ * Moving to unstable now
+ * debian/patches/gcc-ppc-disable-shared-libgcc.dpatch: New patch,
+ disables shared libgcc for powerpc target, since it isn't compatible
+ with the EABI objects.
+ * Create $(with_shared_libgcc) var
+ * debian/rules.d/binary-gcc.mk: Use this new variable to determine if
+ the libgcc package actually has any files
+
+ -- Ben Collins Tue, 3 Apr 2001 23:00:55 -0400
+
+gcc-3.0 (3.0.ds2-0pre010223) experimental; urgency=low
+
+ * New snapshot. Use distinct shared object names for shared libraries:
+ we don't know if binary API's still change until the final release.
+ * Versioned package names.
+ * debian/control.m4: New file. Add gcc-base, libgcc0, libobjc1,
+ libstdc++-doc, libgcj1, libgcj1-dev, fastjar, fixincludes packages.
+ Remove gcc-docs package.
+ * debian/gcov.1: Remove.
+ * debian/*: Remove 2.95.x support. Prepare for 3.0.
+ * debian/patches: Remove 2.95.x patches.
+ * Changed source package name. It's not allowed anymore to overwrite
+ source packages with different content. Introducing a 'debian source
+ element' (.ds), which is stripped again from the version number
+ for the binary packages.
+ * Fixed bugs and added functionality:
+ #26436, #27878, #33786, #34876, #35477, #42662, #46181, #42989,
+ #47981, #48530, #50529, #51227, #51456, #51651, #52382, #53698,
+ #55291, #55967, #56867, #58219, #59005, #59232, #59776, #64628,
+ #65687, #67631, #68632, #68963, #68987, #69530, #72933, #75120,
+ #75759, #76645, #76827, #83221, #87540
+ * libgcj fixes: 42894, #51266, #68560, #71187, #79984
+
+ -- Matthias Klose Sat, 24 Feb 2001 13:41:11 +0100
+
+gcc-2.95 (2.95.3-2.001222) experimental; urgency=low
+
+ * New upstream version 2.95.3 experimental (CVS 20001222).
+ * debian/control.in: Versioned package names, removal of snapshot logic.
+ Remove fake gcc-docs package.
+ * Reserve -1 release numbers for woody.
+ * Updated to gpc-20001218.
+
+ -- Matthias Klose Fri, 22 Dec 2000 19:53:03 +0100
+
+gcc (2.95.2-20) unstable; urgency=low
+
+ * Apply patch from gcc-2_95-branch; remove ulimit for make check.
+
+ -- Matthias Klose Sun, 10 Dec 2000 17:01:13 +0100
+
+gcc (2.95.2-19) unstable; urgency=low
+
+ * Added testsuite-20001207 from current snapshots. We'll need results
+ for 2.95.2 to make sure there are no regressions against that release.
+ Dear build daemons and porters to other architectures, please send an
+ email to gcc-testresults@gcc.gnu.org.
+ You can do this by running "debian/rules mail-summary".
+ * Updated to gpc-20001206.
+ * Added S/390 patch prepared by Chu-yeon Park (#78983).
+ * debian/patches/libio.dpatch: Fix iostream doc (fixes #77647).
+ * debian/patches/gcc-doc.dpatch: Update URL (fixes #77542).
+ * debian/patches/gcc-reload1.dpatch Patch from the gcc-bug list which
+ fixes a problem in "long long" on i[345]86 (i686 was not affected).
+
+ -- Matthias Klose Sat, 9 Dec 2000 12:30:32 +0100
+
+gcc (2.95.2-18) unstable; urgency=low
+
+ * debian/control.in: Fix syntax errors (fixes #76146, #76458).
+ Disable gpc on the hurd by request (#75686).
+ * debian/patches/arm-various.dpatch: Patches from Philip Blundell
+ for ARM arch (fixes #75801).
+ * debian/patches/gcc-alpha-mi-thunk.dpatch: Patches from Chris Chimelis
+ for alpha arch.
+ * debian/patches/g77-docs.dpatch: Adjust g77 docs (fixes #72594).
+ * Update gpc to gpc-20001118.
+ * Reenable gpc for alpha.
+ * debian/README.C++: Merge debian/README.libstdc++ and C++ FAQ information
+ provided by Matt Zimmermann.
+ * Build gcj only on architectures, where libgcj-2.95.1 can be built as well.
+ Probably needs some adjustments ...
+ * Conditionalize for chill, fortran, java, objc and chill.
+
+ * NOT APPLIED:
+ debian/patches/libstdc++-bastring.dpatch: Apply fix (fixes #75759).
+
+ -- Matthias Klose Sun, 19 Nov 2000 10:40:41 +0100
+
+gcc (2.95.2-17) unstable; urgency=low
+
+ * Disable gpc for alpha.
+ * Include gpc-cpp in gpc package (fixes #74492).
+ * Don't build gcc-docs compatibility package anymore.
+
+ -- Matthias Klose Wed, 11 Oct 2000 06:16:53 +0200
+
+gcc (2.95.2-16) unstable; urgency=low
+
+ * Applied the emdebian/cross compiler patch and documentation
+ (Frank Smith ).
+ * Applied patch for avr target (Hakan Ardo