...
 
Commits (255)
.pc
gcc-20??????
gcc-*.tar.xz
gm2-*.tar.xz
newlib-3.1.0
newlib-*.tar.[gx]z
bin
*-protocol
bootstrap-summary
build-hppa64
build-jit
build-nvptx
build
html
locales
src
stamps
debian/*/*~
debian/patches/series
debian/*.debhelper
debian/*.debhelper.log
debian/*.substvars
debian/gcc-XX-9.1
debian/gcc-ar-9.1
debian/gcc-nm-9.1
debian/gcc-ranlib-9.1
debian/tmp*
debian/files
debian/shlibs.local
debian/substvars.local
debian/README.libstdc++-baseline
debian/README.Bugs
debian/README.Debian.*
debian/rules.parameters
debian/soname-cache
debian/arch_binaries*
debian/indep_binaries*
debian/*-9*.preinst
debian/*-9*.postinst
debian/*-9*.prerm
debian/*-9*.postrm
debian/*-9*.doc-base*
debian/*-9*.overrides
debian/lib*1.preinst
debian/lib*2.preinst
debian/lib*6.preinst
debian/lib*1.postinst
debian/lib*6.postinst
debian/lib*1.prerm
debian/lib*6.prerm
debian/cpp-9
debian/cpp-9-doc
debian/fixincludes
debian/g++-9
debian/gcc-9
debian/gcc-9-base
debian/gcc-9-doc
debian/gcc-9-source
debian/gcc-9-hppa64-linux-gnu
debian/gcc-9-locales
debian/gcc-9-nof
debian/gcc-9-offload-nvptx
debian/gcc-9-soft-float
debian/gcc-9-test-results
debian/gcc-snapshot
debian/gccbrig-9
debian/gccgo-9
debian/gccgo-9-doc
debian/gdc-9
debian/gfortran-9
debian/gfortran-9-doc
debian/gm2-9
debian/gnat-9
debian/gnat-9-sjlj
debian/gnat-9-base
debian/gnat-9-doc
debian/gobjc-9
debian/gobjc++-9
debian/g*-9-multilib
debian/gcc-9-plugin-dev
debian/lib*asan5
debian/lib*asan5-dbg
debian/lib*atomic1.symbols
debian/lib*atomic1
debian/lib*atomic1-dbg
debian/libcc1-0
debian/libgccjit-9-dev
debian/libgccjit-9-doc
debian/libgccjit0
debian/libgccjit0-dbg
debian/lib*gcc1.symbols
debian/lib*gcc[124]
debian/lib*gcc[124]-dbg
debian/lib*gcc-9-dev
debian/lib*gfortran5.symbols
debian/lib*gfortran5
debian/lib*gfortran5-dbg
debian/lib*gfortran-9-dev
debian/libgm2-0
debian/libgm2-0-dbg
debian/libgm2-9-dev
debian/lib*go14
debian/lib*go14-dbg
debian/lib*go-9-dev
debian/libgomp-plugin-hsa1
debian/libgomp-plugin-nvptx1
debian/lib*gomp1.symbols
debian/lib*gomp1
debian/lib*gomp1-dbg
debian/lib*hsail-rt0.symbols
debian/lib*hsail-rt0
debian/lib*hsail-rt0-dbg
debian/lib*hsail-rt-9-dev
debian/lib*itm1.symbols
debian/lib*itm1
debian/lib*itm1-dbg
debian/lib*lsan0
debian/lib*lsan0-dbg
debian/lib*mpx2.symbols
debian/lib*mpx2
debian/lib*mpx2-dbg
debian/lib*objc4
debian/lib*objc4-dbg
debian/lib*objc-9-dev
debian/lib*ssp0
debian/lib*tsan0
debian/lib*tsan0-dbg
debian/lib*ubsan1
debian/lib*ubsan1-dbg
debian/lib*vtv0
debian/lib*vtv0-dbg
debian/libgnat-9
debian/libgnatvsn9
debian/libgnatprj9
debian/libgnat*9-dbg
debian/libgnat*9.overrides
debian/libgnat*9-dev
debian/libgomp1-dev
debian/lib*gphobos76
debian/lib*gphobos76-dbg
debian/lib*gphobos-9-dev
debian/lib*quadmath0.symbols
debian/lib*quadmath0
debian/lib*quadmath0-dbg
debian/libssp0-dev
debian/lib*stdc++6
debian/lib*stdc++6-9-dbg
debian/lib*stdc++-9-dev
debian/libstdc++-9-doc
debian/libstdc++-9-pic
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -15,13 +15,19 @@ Maintainers of these packages
-----------------------------
Matthias Klose <doko@debian.org>
Falk Hueffner <falk@debian.org> (alpha-linux)
Ludovic Brenta <ludovic@ludovic-brenta.org> (gnat)
Iain Buclaw <ibuclaw@ubuntu.com> (gdc)
Aurelien Jarno <aurel32@debian.org> (mips*-linux)
Aurelien Jarno <aurel32@debian.org> (s390X*-linux)
The following ports lack maintenance in Debian: powerpc, ppc64,
sparc, sparc64 (unmentioned ports are usually handled by the Debian
porters).
Former and/or inactive maintainers of these packages
----------------------------------------------------
Falk Hueffner <falk@debian.org> (alpha-linux)
Ray Dassen <jdassen@debian.org>
Jeff Bailey <jbailey@nisa.net> (hurd-i386)
Joel Baker <fenton@debian.org> (netbsd-i386)
......
Building cross-compiler Debian packages
---------------------------------------
It is possible to build C and C++ cross compilers and support libraries
from gcc-4.0 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 and
debian-embedded@lists.debian.org
Before you start, you should probably check available pre-built
cross-toolchain debs. Available at http://www.emdebian.org
Old patches could be reached at
http://zigzag.lvk.cs.msu.su/~nikita/debian/
If they are no longer there, you may check EmDebian web site at
http://www.emdebian.org/
or ask debian-embedded@lists.debian.org for newer location.
Please check http://bugs.debian.org/391445 if you are about building
gcc-4.3 or above.
Most of them has been merged with gcc debian sources.
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-4.3 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. Version 1.32 of dpkg-cross is needed in order to build gcc-4.3.
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, 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-4.3 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. By default, the packages will not depend on the
system -base package. A variable DEB_CROSS_INDEPENDENT has been merged with DEB_CROSS variable.
You can then build with either
$ GCC_TARGET=[arch] dpkg-buildpackage -rfakeroot
3. Using crosshurd
Jeff Bailey <jbailey@raspberryginger.com> 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 <yoush@debian.org> - Jun 2004
Hector Oron Martinez <hector.oron@gmail.com> - Oct 2006
The packaging for cross toolchains is now in the archive, including
all frontends, and targeting all release and ports architectures.
Cross toolchains are built from the following source packages:
- binutils
- cross-toolchain-base
- cross-toolchain-base-ports
- gcc-7-cross
- gcc-7-cross-ports
- gcc-8-cross
- gcc-8-cross-ports
- gcc-9-cross
- gcc-9-cross-ports
- gcc-defaults
- gcc-defaults-ports
Issues about the cross toolchains should be filed for one of the
above source packages.
If you want to develop Ada programs and libraries on Debian, please
read the Debian Policy for Ada:
http://www.ada-france.org/debian/debian-ada-policy.html
http://people.debian.org/~lbrenta/debian-ada-policy.html
The default Ada compiler is and always will be the package `gnat'.
Debian contains many programs and libraries compiled with it, which
......@@ -20,3 +20,15 @@ you wish to use the new sjlj library:
Do NOT link your programs with libgnat-4.2.so, because it uses the ZCX
mechanism.
This package also includes small tools covering specific needs.
* When linking objects compiled from both Ada and C sources, you need
to use compatible versions of the Ada and C compilers. The
/usr/bin/gnatgcc symbolic link targets a version of the C compiler
compatible with the default Ada compiler, and may differ from the
default C compiler /usr/bin/gcc.
* When packaging Ada sources for Debian, you may want to read the
/usr/share/ada/debian_packaging-$(gnat_version).mk Makefile snippet.
This diff is collapsed.
......@@ -27,7 +27,7 @@ PATH=/usr/lib/gcc-snapshot/bin:$PATH
gcc "$@"
----------- snip ----------
Make the same for g++, g77, gij, gcj, cpp, ...
Make the same for g++, g77, cpp, ...
Don't forget the quotes around the $@ or gcc will not parse it's
command line correctly!
......
......@@ -6,9 +6,11 @@ Quilt is used as the patch system. See /usr/share/doc/quilt/README.source
for details about quilt.
Patches are applied by calling `debian/rules patch'. The `series'
file is constructed on the fly, configure scripts are regenerated
in the `patch' target.
file is constructed on the fly based on the files found in the to
debian/rules.patch "debian_patches" variable, configure scripts are
regenerated in the `patch' target. The gcc source is unpacked under
src/ this needs to be reflected in the patch header.
The source packages gcj-x.y and gnat-x.y do not contain copies of the
The source packages gdc-x.y and gnat-x.y do not contain copies of the
source code but build-depend on the appropriate gcc-x.y-source package
instead.
......@@ -16,7 +16,7 @@ Last updated: 2008-05-02
- Reorganise debian/rules.defs to decide which packages to build in a
more straightforward and less error-prone fashion: (1) start with
all languages; override the list of languages depending on the name
of the source package (gcc-4.3, gnat-4.3, gdc-4.3, gcj-4.3). (2)
of the source package (gcc-4.3, gnat-4.3, gdc-4.3). (2)
filter the list of languages depending on the target platform; (3)
depending on the languages to build, decide on which libraries to
build.
......@@ -44,7 +44,3 @@ o [Ludovic Brenta] Ada
* Fortran
- gfortran man page generation
* Java
- build java-gcj-compat from the gcc source?
File mode changed from 100644 to 100755
#!/bin/sh
# Helper for debian/rules2.
# A modification of libgnat sources invalidates the .ali checksums in
# reverse dependencies as described in the Debian Policy for Ada. GCC
# cannot afford the recommended passage through NEW, but this check at
# least reports the issue before causing random FTBFS.
set -Cefu
[$# = 2]
# Argument 1: old ALI dir
# Argument 2: new ALI dir
# A missing $1 means that we build a new GCC Base Version, and that
# libgnatBV-dev package will be renamed anyway.
[-d "$1"] || exit 0
report () {
echo 'error: changes in Ada Library Information files.'
echo 'You are seeing this because'
echo ' * DEB_CHECK_ALI_UPDATE=1 in the environment.'
echo ' * build_type=build-native and with_libgnat=yes in debian/rules.defs.'
echo " * $1 exists, so libgnat is probably rebuilding itself with the same version."
echo " * checksums in former $1 and freshly built $2 differ."
echo 'This may break Ada packages, see https://people.debian.org/~lbrenta/debian-ada-policy.html.'
echo 'If you are uploading to Debian, please contact debian-ada@lists.debian.org.'
exit 1
}
for ali1 in `find "$1" -name "*.ali"`; do
unit=`basename "$ali1" .ali`
ali2="$2/$unit.ali"
[-r "$ali2"] || report "$ali1" "$ali2"
pattern="^D $unit\.ad"
lines1=`grep "$pattern" "$ali1"`
lines2=`grep "$pattern" "$ali2"`
["$lines1" = "lines2"] || report "$ali1" "$ali2"
done
This diff is collapsed.
# Common settings for Ada Debian packaging.
#
# Copyright (C) 2012-2019 Nicolas Boulenguez <nicolas@debian.org>
#
# 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 3 of the
# License, 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, see <http://www.gnu.org/licenses/>.
# Typical use:
#
# gnat_version := $(shell gnatgcc -dumpversion)
# DEB_BUILD_MAINT_OPTIONS := hardening=+all
# DEB_LDFLAGS_MAINT_APPEND := -Wl,--no-undefined -Wl,--no-copy-dt-needed-entries -Wl,--no-allow-shlib-undefined
# DEB_ADAFLAGS_MAINT_APPEND := -gnatwa -Wall
# include /usr/share/dpkg/buildflags.mk
# include /usr/share/ada/debian_packaging-$(gnat_version).mk
# dpkg-dev provides /usr/share/dpkg/default.mk (or the
# more specific buildflags.mk) to set standard variables like
# DEB_HOST_MULTIARCH, CFLAGS, LDFLAGS... according to the build
# environment (DEB_BUILD_OPTIONS...) and the policy (hardening
# flags...).
# You must include it before this file.
ifeq (,$(findstring /usr/share/dpkg/buildflags.mk,$(MAKEFILE_LIST)))
$(error Please include /usr/share/dpkg/default.mk (or the more specific \
buildflags.mk) before $(lastword $(MAKEFILE_LIST)))
endif
# Ada is not in dpkg-dev flag list. We add a sensible default here.
# Format checking is meaningless for Ada sources.
ADAFLAGS := $(filter-out -Wformat -Werror=format-security, $(CFLAGS))
ifdef DEB_ADAFLAGS_SET
ADAFLAGS := $(DEB_ADAFLAGS_SET)
endif
ADAFLAGS := $(DEB_ADAFLAGS_PREPEND) \
$(filter-out $(DEB_ADAFLAGS_STRIP),$(ADAFLAGS)) \
$(DEB_ADAFLAGS_APPEND)
ifdef DEB_ADAFLAGS_MAINT_SET
ADAFLAGS := $(DEB_ADAFLAGS_MAINT_SET)
endif
ADAFLAGS := $(DEB_ADAFLAGS_MAINT_PREPEND) \
$(filter-out $(DEB_ADAFLAGS_MAINT_STRIP),$(ADAFLAGS)) \
$(DEB_ADAFLAGS_MAINT_APPEND)
ifdef DPKG_EXPORT_BUILDFLAGS
export ADAFLAGS
endif
######################################################################
# C compiler version
# GCC binaries must be compatible with GNAT at the binary level, use
# the same version. This setting is mandatory for every upstream C
# compilation. Typical use:
# override_dh_auto_configure:
# dh_auto_configure -- CC='$(CC)'
CC := gnatgcc
######################################################################
# Options for gprbuild/gnatmake.
# Let Make delegate parallelism to gnatmake/gprbuild.
.NOTPARALLEL:
# Use all processors unless parallel=n is set in DEB_BUILD_OPTIONS.
# http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
# The value may be useful elsewhere. Example: SPHINXOPTS=-j$(BUILDER_JOBS)
BUILDER_JOBS := $(filter parallel=%,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_MAINT_OPTIONS))
ifneq (,$(BUILDER_JOBS))
BUILDER_JOBS := $(subst parallel=,,$(BUILDER_JOBS))
else
BUILDER_JOBS := $(shell getconf _NPROCESSORS_ONLN)
endif
BUILDER_OPTIONS += -j$(BUILDER_JOBS)
BUILDER_OPTIONS += -R
# Avoid lintian warning about setting an explicit library runpath.
# http://wiki.debian.org/RpathIssue
ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_MAINT_OPTIONS)))
BUILDER_OPTIONS += -v
endif
# Make exact command lines available for automatic log checkers.
BUILDER_OPTIONS += -eS
# Tell gnatmake to echo commands to stdout instead of stderr, avoiding
# buildds thinking it is inactive and killing it.
# -eS is the default on gprbuild.
# You may be interested in
# -s recompile if compilation switches have changed
# (bad default because of interactions between -amxs and standard library)
# -we handle warnings as errors
# -vP2 verbose when parsing projects.
#! /bin/sh
# some build tools are linked with a new libstdc++ and fail to run
# when building libstdc++.
if [ -n "$LD_LIBRARY_PATH" ]; then
ma=$(dpkg-architecture -qDEB_BUILD_MULTIARCH)
export LD_LIBRARY_PATH="/lib/$ma:/usr/lib/$ma:/lib:/usr/lib:$LD_LIBRARY_PATH"
fi
exec /usr/bin/$(basename $0) "$@"
This diff is collapsed.
* Closing reports reported against gcc-4.1 and fixed in gcc-4.4:
- General
+
- C
+
- C++/libstdc++
+
- Fortran
- Java
- Architecture specific:
- mips
- sparc
* Closing reports reported against gcc-4.2 and fixed in gcc-4.4:
- General
+
- C
+
- C++/libstdc++
+
- Fortran
- Java
- Architecture specific:
- mips
- sparc
* Closing reports reported against gcc-4.3 and fixed in gcc-4.4:
- General
+
- C
+
- C++/libstdc++
+
- Fortran
- Java
- Architecture specific:
- mips
- sparc
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
#! /bin/sh
PATH="/@LIBEXECDIR@/install-tools:$PATH"
TARGET_MACHINE=`dpkg-architecture -qDEB_HOST_GNU_TYPE`
export TARGET_MACHINE
exec fixinc.sh "$@"
g++-@BV@-spu binary: non-standard-dir-in-usr usr/spu/
g++-@BV@-spu binary: file-in-unusual-dir
gcc-@BV@-hppa64-linux-gnu binary: binary-from-other-architecture
gcc-@BV@-hppa64-linux-gnu binary: binary-without-manpage
gcc-@BV@-hppa64-linux-gnu binary: hardening-no-pie
#! /bin/sh -e
prio=$(echo @BV@ | sed 's/\.//g')
for i in cpp gcc gcc-ar gcc-nm gcc-ranlib; do
update-alternatives --quiet \
--install /usr/bin/hppa64-linux-gnu-$i \
hppa64-linux-gnu-$i \
/usr/bin/hppa64-linux-gnu-$i-@BV@ \
$prio
done
#DEBHELPER#
exit 0
#! /bin/sh -e
if [ "$1" != "upgrade" ]; then
for i in cpp gcc gcc-ar gcc-nm gcc-ranlib; do
update-alternatives --quiet \
--remove hppa64-linux-gcc /usr/bin/hppa64-linux-gnu-gcc-@BV@
done
fi
#DEBHELPER#
exit 0
gcc-@BV@-spu binary: non-standard-dir-in-usr usr/spu/
gcc-@BV@-spu binary: file-in-unusual-dir
......@@ -2,3 +2,9 @@ gcc-snapshot binary: bad-permissions-for-ali-file
# keep patched ltdl copy
gcc-snapshot binary: embedded-library
gcc-snapshot binary: binary-from-other-architecture
gcc-snapshot binary: extra-license-file
gcc-snapshot binary: jar-not-in-usr-share
gcc-snapshot binary: triplet-dir-and-architecture-mismatch
gcc-snapshot binary: unstripped-binary-or-object
#! /bin/sh -e
rm -f /usr/lib/gcc-snapshot/share/python/*.py[co]
find /usr/lib/gcc-snapshot/share/python -name '*.py[co]' | xargs -r rm -f
find /usr/lib/gcc-snapshot/share/python -name __pycache__ -type d | xargs -r rm -rf
#DEBHELPER#
/* CSS for the GCC web site.
Gerald Pfeifer <gerald@pfeifer.com>
*/
body { background-color: white; color: black; }
a:link { color: #0066bb; text-decoration: none; }
a:visited { color: #003399; text-decoration: none; }
a:hover { color: darkorange; text-decoration: none; }
h1 { color: darkslategray; text-align:center; }
h2 { color: darkslategray; }
.highlight{ color: darkslategray; font-weight:bold; }
.smaller { font-size: 80%; }
.no-margin-top { margin-top:0; }
.twocolumns { column-counts:2; -moz-column-count:2; }
.imgleft { margin: 5px 20px; float: left; }
td.news { width: 50%; padding-right: 8px; }
td.news h2 { font-size: 1.2em; margin-top: 0; margin-bottom: 2%; }
td.news dl { margin-top:0; }
td.news dt { color:darkslategrey; font-weight:bold; margin-top:0.3em; }
td.news dd { margin-left:3ex; margin-top:0.1em; margin-bottom:0.1em; }
td.news .date { color:darkslategrey; font-size:90%; margin-left:0.1ex; }
td.status { width: 50%; padding-left: 12px; border-left: #3366cc thin solid; }
td.status h2 { font-size: 1.2em; margin-top:0; margin-bottom: 1%; }
td.status dl { margin-top:0; }
td.status .version { font-weight:bold; }
td.status .regress { font-size: 80%; }
td.status dd { margin-left:3ex; }
table.nav {
padding-left: 32px;
border-spacing: 0pt;
}
table.navitem {
border-spacing: 0pt;
}
table.navitem tr:nth-child(1) {
border-color: #3366cc;
border-style: solid;
border-width: thin;
color: #f2f2f9;
background-color: #0066dd;
font-weight: bold;
}
table.navitem tr:nth-child(2) {
padding-top: 3px;
padding-left: 8px;
padding-bottom: 3px;
background-color: #f2f2f9;
font-size: smaller;
}
div.copyright {
font-size: smaller;
background: #f2f2f9;
border: 2px solid #3366cc;
border-style: solid;
border-width: thin;
padding: 4px;
}
div.copyright p:nth-child(3) { margin-bottom: 0; }
.boldcyan { font-weight:bold; color:cyan; }
.boldlime { font-weight:bold; color:lime; }
.boldmagenta { font-weight:bold; color:magenta; }
.boldred { font-weight:bold; color:red; }
.boldblue { font-weight:bold; color:blue; }
.green { color:green; }
/* Quote an e-mail. The first <div> has the sender, the second the quote. */
blockquote.mail div:nth-child(2) { border-left: solid blue; padding-left: 4pt; }
/* C++ status tables. */
table.cxxstatus th, table.cxxstatus td { border: 1px solid gray; }
table.cxxstatus td:nth-child(3) { text-align:center; }
table.cxxstatus tr.separator { background: #f2f2f9; }
.supported { background-color: lightgreen; }
.unsupported { background-color: lightsalmon; }
/* Online documentation. */
pre.smallexample {
font-size: medium;
background: #f2f2f9;
padding: 4px;
}
/* Classpath versus libgcj merge status page. */
.classpath-only { background-color: #FFFFAA; }
.libgcj-only { background-color: #FFFFAA; }
.VM-specific { background-color: #CCCCFF; }
.GCJ-specific { background-color: #CCCCFF; }
.needsmerge { background-color: #FF9090; }
.merged { background-color: #22FF22; }
.merged-expected-diff { background-color: #22FF22; }
.merged-unexpected-diff { background-color: #FF4444; }
Document: gcj-@BV@
Title: The GNU Ahead-of-time Compiler for the Java Language
Author: Various
Abstract: This manual describes how to use gcj, the GNU compiler for
the Java programming language. gcj can generate both .class files and
object files, and it can read both Java source code and .class files.
Section: Programming/Java
Format: html
Index: /usr/share/doc/gcc-@BV@-base/java/gcj.html
Files: /usr/share/doc/gcc-@BV@-base/java/gcj.html
Format: info
Index: /usr/share/info/gcj-@BV@.info.gz
Files: /usr/share/info/gcj-@BV@*
gcj-@BV@-jdk binary: wrong-name-for-upstream-changelog
#! /bin/sh -e
if [ -d /usr/share/doc/gcc-@BV@-base/java ] && [ ! -h /usr/share/doc/gcc-@BV@-base/java ]; then
rm -rf /usr/share/doc/gcc-@BV@-base/java
ln -s ../gcj-@BV@-base /usr/share/doc/gcc-@BV@-base/java
fi
prio=@java_priority@
update-alternatives --quiet \
--install /usr/bin/javac javac /usr/bin/gcj-wrapper-@BV@ $prio \
@GFDL@--slave /usr/share/man/man1/javac.1.gz javac.1.gz /usr/share/man/man1/gcj-wrapper-@BV@.1.gz
update-alternatives --quiet \
--install /usr/bin/jar jar /usr/bin/gjar-@BV@ $prio \
--slave /usr/share/man/man1/jar.1.gz jar.1.gz /usr/share/man/man1/gjar-@BV@.1.gz
update-alternatives --quiet \
--install /usr/bin/jarsigner jarsigner /usr/bin/gjarsigner-@BV@ $prio \
--slave /usr/share/man/man1/jarsigner.1.gz jarsigner.1.gz /usr/share/man/man1/gjarsigner-@BV@.1.gz
update-alternatives --quiet \
--install /usr/bin/javah javah /usr/bin/gjavah-@BV@ $prio \
--slave /usr/share/man/man1/javah.1.gz javah.1.gz /usr/share/man/man1/gjavah-@BV@.1.gz
update-alternatives --quiet \
--install /usr/bin/javadoc javadoc /usr/bin/gjdoc-@BV@ $prio \
--slave /usr/share/man/man1/javadoc.1.gz javadoc.1.gz /usr/share/man/man1/gjdoc-@BV@.1.gz
update-alternatives --quiet \
--install /usr/bin/native2ascii native2ascii /usr/bin/gnative2ascii-@BV@ $prio \
--slave /usr/share/man/man1/native2ascii.1.gz native2ascii.1.gz /usr/share/man/man1/gnative2ascii-@BV@.1.gz
update-alternatives --quiet \
--install /usr/bin/rmic rmic /usr/bin/grmic-@BV@ $prio \
@GFDL@--slave /usr/share/man/man1/rmic.1.gz rmic.1.gz /usr/share/man/man1/grmic-@BV@.1.gz
update-alternatives --quiet \
--install /usr/bin/serialver serialver /usr/bin/gserialver-@BV@ $prio \
--slave /usr/share/man/man1/serialver.1.gz serialver.1.gz /usr/share/man/man1/gserialver-@BV@.1.gz
update-alternatives --quiet \
--install /usr/bin/tnameserv tnameserv /usr/bin/gtnameserv-@BV@ $prio \
--slave /usr/share/man/man1/tnameserv.1.gz tnameserv.1.gz /usr/share/man/man1/gtnameserv-@BV@.1.gz
#DEBHELPER#
#! /bin/sh -e
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
update-alternatives --quiet --remove javac /usr/bin/gcj-wrapper-@BV@
update-alternatives --quiet --remove jar /usr/bin/gjar-@BV@
update-alternatives --quiet --remove jarsigner /usr/bin/gjarsigner-@BV@
update-alternatives --quiet --remove javah /usr/bin/gjavah-@BV@
update-alternatives --quiet --remove javadoc /usr/bin/gjdoc-@BV@
update-alternatives --quiet --remove native2ascii /usr/bin/gnative2ascii-@BV@
update-alternatives --quiet --remove rmic /usr/bin/grmic-@BV@
update-alternatives --quiet --remove serialver /usr/bin/gserialver-@BV@
update-alternatives --quiet --remove tnameserv /usr/bin/gtnameserv-@BV@
fi
#DEBHELPER#
# pick up the exact version, in case another gcj version is installed
gcj-@BV@-jre-headless binary: binary-or-shlib-defines-rpath
# don't strip the binaries, keep the libgcj13-dbg package Multi-Arch: same
gcj-@BV@-jre-headless binary: unstripped-binary-or-object
#! /bin/sh -e
prio=@java_priority@
update-alternatives --quiet \
--install /usr/bin/java java /usr/bin/gij-@BV@ $prio \
@GFDL@--slave /usr/share/man/man1/java.1.gz java.1.gz /usr/share/man/man1/gij-@BV@.1.gz
update-alternatives --quiet \
--install /usr/bin/rmiregistry rmiregistry /usr/bin/grmiregistry-@BV@ $prio \
--slave /usr/share/man/man1/rmiregistry.1.gz rmiregistry.1.gz /usr/share/man/man1/grmiregistry-@BV@.1.gz
update-alternatives --quiet \
--install /usr/bin/keytool keytool /usr/bin/gkeytool-@BV@ $prio \
--slave /usr/share/man/man1/keytool.1.gz keytool.1.gz /usr/share/man/man1/gkeytool-@BV@.1.gz
update-alternatives --quiet \
--install /usr/bin/orbd orbd /usr/bin/gorbd-@BV@ $prio \
--slave /usr/share/man/man1/orbd.1.gz orbd.1.gz /usr/share/man/man1/gorbd-@BV@.1.gz
update-alternatives --quiet \
--install /usr/bin/rmid rmid /usr/bin/grmid-@BV@ $prio \
--slave /usr/share/man/man1/rmid.1.gz rmid.1.gz /usr/share/man/man1/grmid-@BV@.1.gz
case "$1" in
configure)
if [ ! -f /var/lib/gcj-@BV@/classmap.db ]; then
uname=$(uname -m)
mkdir -p /var/lib/gcj-@BV@
if gcj-dbtool-@BV@ -n /var/lib/gcj-@BV@/classmap.db; then
case "$uname" in arm*|m68k|parisc*)
echo >&2 "gcj-dbtool succeeded unexpectedly"
esac
else
case "$uname" in
arm*|m68k|parisc*)
echo >&2 "ERROR: gcj-dbtool did fail; known problem on $uname";;
*)
exit 2
esac
touch /var/lib/gcj-@BV@/classmap.db
fi
fi
esac
#DEBHELPER#
exit 0
#! /bin/sh -e
case "$1" in
purge)
rm -f /var/lib/gcj-@BV@/classmap.db
esac
#DEBHELPER#
exit 0
#! /bin/sh -e
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
update-alternatives --quiet --remove java /usr/bin/gij-@BV@
update-alternatives --quiet --remove rmiregistry /usr/bin/grmiregistry-@BV@
update-alternatives --quiet --remove keytool /usr/bin/gkeytool-@BV@
update-alternatives --quiet --remove orbd /usr/bin/gorbd-@BV@
update-alternatives --quiet --remove rmid /usr/bin/grmid-@BV@
fi
#DEBHELPER#
exit 0
#!/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 <bab@debian.org>
# Based on the original gcj-wrapper-3.2 shell script.
use strict;
# The real Java compiler:
my $javaCompiler = '/usr/bin/gcj-@BV@';
# 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;