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 ... 6 7 8 9 10 11 12 13 14 15 16 ... Next › Last »

valandil commented on 2014-07-24 17:23

There exists a repo with a binary version of gcc-gcj, for those who do want to compile the package (see https://wiki.archlinux.org/index.php/Unofficial_user_repositories#kps).

It is out-of-date for the moment, but gcc-4.9.1 only came out yesterday in the Arch official repos, so give it some time.

valandil commented on 2014-07-24 17:22

There exists a repo with gcc-gcj (see https://wiki.archlinux.org/index.php/Unofficial_user_repositories#kps).

It is out-of-date for the time being, but gcc-4.9.1 only came out yesterday.

BoLLo commented on 2014-07-24 04:15

My compile required over 3GB. If this is too much for your /tmp mount and you're compiling with yaourt you can use:

--tmp <dir>
Use <dir> as temporary folder. default to /tmp

valandil commented on 2014-06-02 16:17

Are you using yaourt to compile the package? If so, try to download the PKGBUILD in a directory with ample space (I use my /home partition) and compile it from there with makepkg.

And do it overnight.

snoxu commented on 2014-06-02 16:09

And it freezes my system halfway through. Too much hassle to get pdftk.

snoxu commented on 2014-06-02 15:49

Jesus Lordy Christ this takes ages to compile.

haawda commented on 2014-05-27 18:59

Just for the record, in PKGBUILDs "options=('!makeflags')" and/or "options=('buildflags')" is meant for suppressing makepkg.conf's settings. See "make PKGBUILD" for details.

valandil commented on 2014-05-27 17:52

No problem. Made me realize that CPPFLAGS should not be unset, but rather -O2 should be added in the PKGBUILD. Since it's not necessary and gcc-gcj takes a long time to compile, I'll wait until the next point release of gcc to make the update.

JanusDC commented on 2014-05-27 17:24

Ouch. Thanks. Sorry for the noise.

valandil commented on 2014-05-27 17:01

Apparently, -D_FORTIFY_SOURCE=2 should not appear in the CFLAGS/CXXFLAGS, but in the CPPFLAGS (https://mailman.archlinux.org/pipermail/arch-dev-public/2013-April/024776.html) as of pacman-4.1.