[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#827787: gcc-6: improve gcj cross build



On Tue, 21 Jun 2016 10:17:45 +0800 YunQiang Su <wzssyqa@gmail.com> wrote:
> Package: src:gcc-6
> Version: 6.1.1-7
>
> This patch produce gre/jdk/libgcj17 from cross build,
> and it also install libgcj.spec also.
> The above makes cross gcj works better.
>
> Please review this patch.
> I am not fully confident about it.

the this is the patch applied to gcc-6-cross

>
> --
> YunQiang Su
diff --git a/debian/control.alpha.in b/debian/control.alpha.in
index 34cf03d..af53cd2 100644
--- a/debian/control.alpha.in
+++ b/debian/control.alpha.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra
diff --git a/debian/control.arm64.in b/debian/control.arm64.in
index 34cf03d..af53cd2 100644
--- a/debian/control.arm64.in
+++ b/debian/control.arm64.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra
diff --git a/debian/control.armel.in b/debian/control.armel.in
index f072006..d55880c 100644
--- a/debian/control.armel.in
+++ b/debian/control.armel.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra
diff --git a/debian/control.armhf.in b/debian/control.armhf.in
index b448264..61aee0e 100644
--- a/debian/control.armhf.in
+++ b/debian/control.armhf.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra
diff --git a/debian/control.hppa.in b/debian/control.hppa.in
index de1c285..d5e3b64 100644
--- a/debian/control.hppa.in
+++ b/debian/control.hppa.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra
diff --git a/debian/control.m68k.in b/debian/control.m68k.in
index 3444ef9..ff53606 100644
--- a/debian/control.m68k.in
+++ b/debian/control.m68k.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra
diff --git a/debian/control.mips.in b/debian/control.mips.in
index ed3758a..10ad190 100644
--- a/debian/control.mips.in
+++ b/debian/control.mips.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra
diff --git a/debian/control.mips64.in b/debian/control.mips64.in
index e4b3b94..bbbed6b 100644
--- a/debian/control.mips64.in
+++ b/debian/control.mips64.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra
diff --git a/debian/control.mips64el.in b/debian/control.mips64el.in
index ed3758a..10ad190 100644
--- a/debian/control.mips64el.in
+++ b/debian/control.mips64el.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra
diff --git a/debian/control.mipsel.in b/debian/control.mipsel.in
index b319190..863444b 100644
--- a/debian/control.mipsel.in
+++ b/debian/control.mipsel.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra
diff --git a/debian/control.powerpc.in b/debian/control.powerpc.in
index b319190..863444b 100644
--- a/debian/control.powerpc.in
+++ b/debian/control.powerpc.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra
diff --git a/debian/control.powerpcspe.in b/debian/control.powerpcspe.in
index d5b803a..8d2a778 100644
--- a/debian/control.powerpcspe.in
+++ b/debian/control.powerpcspe.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra
diff --git a/debian/control.ppc64.in b/debian/control.ppc64.in
index aea38c6..f4744fb 100644
--- a/debian/control.ppc64.in
+++ b/debian/control.ppc64.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra
diff --git a/debian/control.ppc64el.in b/debian/control.ppc64el.in
index 34cf03d..af53cd2 100644
--- a/debian/control.ppc64el.in
+++ b/debian/control.ppc64el.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra
diff --git a/debian/control.s390x.in b/debian/control.s390x.in
index aea38c6..f4744fb 100644
--- a/debian/control.s390x.in
+++ b/debian/control.s390x.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra
diff --git a/debian/control.sh4.in b/debian/control.sh4.in
index 3444ef9..ff53606 100644
--- a/debian/control.sh4.in
+++ b/debian/control.sh4.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra
diff --git a/debian/control.sparc64.in b/debian/control.sparc64.in
index aea38c6..f4744fb 100644
--- a/debian/control.sparc64.in
+++ b/debian/control.sparc64.in
@@ -2504,6 +2504,54 @@ Description: GNU Java compiler
  Java on platforms supported by the gcc compiler. It uses the
  gcc backend to generate optimized code.
 
+Package: gcj-GCC_VER-jre-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gcj-GCC_VER-jdk-CROSS_GNU_TYPE
+Architecture: @host_archs@
+Priority: extra
+Section: java
+Depends: gcj-GCC_VER-jre-CROSS_GNU_TYPE (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: gcj-GCC_VER-doc
+Description: GNU Java compiler
+ This is the GNU Java compiler, which compiles
+ Java on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: libgcj17-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
+Package: libgcj17-dev-CROSS_ARCH-cross
+Architecture: all
+Section: devel
+Priority: extra
+Depends: gcj-GCC_VER-CROSS_GNU_TYPE-base (= ${gcc:Version}), ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
+Description: Java development headers for use with gcj
+ These are the development headers 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.
+ .
+ This package contains files for CROSS_ARCH architecture, for use in cross-compile
+ environment.
+
 Package: gdc-GCC_VER-CROSS_GNU_TYPE
 Architecture: @host_archs@
 Priority: extra

Reply to: