Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: gcc-gcj 6.3.1-2

Git Clone URL: https://aur-dev.archlinux.org/gcc-gcj.git (read-only)
Package Base: gcc-gcj
Description: The GNU Compiler for Java
Upstream URL: http://gcc.gnu.org
Licenses: GPL, LGPL
Submitter: Allan
Maintainer: valandil
Last Packager: valandil
Votes: 243
Popularity: 3.271133
First Submitted: 2009-05-08 17:48
Last Updated: 2017-01-14 15:55

Pinned Comments

valandil commented on 2016-05-11 14:02

This package, gcc-gcj, is a subset of the GNU Compiler Collection, specifically the Java compiler part. In Arch Linux, it is mostly used to compile pdftk, a very nifty command-line PDF tool.

When reporting any build issue, please provide your current version of gcc and any error message.

It is *very* long to compile and takes up a lot of disk space while doing so. Do not use AUR helpers to compile this thing, you'll probably end up filling your /tmp partition and crash the compilation process. Download the PKGBUILD (either with yaourt -G gcc-gcj, with the helper of your choice or even manually) and run makepkg.

If you do not want to compile this and only need it for pdftk, consider using pdftk-bin. As its name indicates, it is a precompiled version of pdftk and depends only on libgcj, also precompiled.

Latest Comments

« First ‹ Previous ... 2 3 4 5 6 7 8 9 10 11 12 ... Next › Last »

haawda commented on 2015-07-23 20:04

changing pkgver to 5.2.0 and md5sum is enough to compile.

valandil commented on 2015-04-24 03:42

This will remain out of date until gcc in [core] is updated to version 5.1.

valandil commented on 2015-04-22 13:59

You are absolutely right. I did not catch it before because I use gcc-gcj solely to build pdftk, which itself depends on gcc-gcj-ecj.

Thanks!

valandil commented on 2015-04-22 03:52

What do you mean, nhlemann? I can compile pdftk (which uses gcj) just fine wihtout gcc-gcj-ecj. Please show me the error you get.

nlehmann commented on 2015-04-21 21:44

Doesn't this package have as dependency gcc-gcj-ecj? I had to install it in order to use gcj.

valandil commented on 2015-03-29 18:26

Vous avez manqué d'espace dans votre /tmp. Il faut faire

yaourt -G gcc-gcj

dans un sous-dossier avec au moins 10GB d'espace et makepkg.

teke commented on 2015-03-29 11:50

collect2: error: ld returned 1 exit status
Makefile:9325 : la recette pour la cible « libgcj.la » a échouée
make[3]: *** [libgcj.la] Erreur 1
make[3]: *** Attente des tâches non terminées....
jc1: erreur fatale: erreur d'écriture dans /tmp/ccdjVSIu.s: Aucun espace disponible sur le périphérique
compilation terminée.
Makefile:10102 : la recette pour la cible « classpath/tools/libgcj_tools_la-tools.lo » a échouée
make[3]: *** [classpath/tools/libgcj_tools_la-tools.lo] Erreur 1
make[3] : on quitte le répertoire « /tmp/yaourt-tmp-rc/aur-gcc-gcj/src/gcc-4.9.2/build/x86_64-unknown-linux-gnu/libjava »
Makefile:10240 : la recette pour la cible « all-recursive » a échouée
make[2]: *** [all-recursive] Erreur 1
make[2] : on quitte le répertoire « /tmp/yaourt-tmp-rc/aur-gcc-gcj/src/gcc-4.9.2/build/x86_64-unknown-linux-gnu/libjava »
Makefile:18311 : la recette pour la cible « all-target-libjava » a échouée
make[1]: *** [all-target-libjava] Erreur 2
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-rc/aur-gcc-gcj/src/gcc-4.9.2/build »
Makefile:894 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2
==> ERREUR : Une erreur s’est produite dans build().
Abandon...
==> ERREUR: Makepkg n'a pas pu construire gcc-gcj.


Sniff...

bich_30 commented on 2015-02-26 14:06

It resolved!!

uninstall the gcc, gcc-lib and gcc-* the 32 bits (gcc-* multi) and install the gcc* for 64 bits.

You restasrt the yaourt command and OK!!

PD: you need very disk in the folder /tmp, around 4,5 GB.

valandil commented on 2015-01-28 16:59

Good for you.

You probably just had to manually compiling the package in a separate directory by doing yaourt -G and then makepkg.

hoobastank commented on 2015-01-28 12:22

Sorry folks but I have no time to wait for this as I said it's some urgent situation for me. That's why I've looked around for it's binary package and found it on this repo https://wiki.archlinux.org/index.php/Unofficial_user_repositories#archlinuxcn

Thank you very much.