[arch-projects] Proposal for additional gcc packages

Jason Chu jason at archlinux.org
Tue Aug 24 18:54:01 EDT 2004

This is something I've been kicking around for a bit.  Having other gcc
packages like gcc-f77 and gcc-java would be helpful, 1) to shut people like
this up (http://bbs.archlinux.org/viewtopic.php?t=6376) and 2) for people
who actually need a f77 compiler (or a java compiler or whatever).

My idea goes something like this.  Don't touch the gcc package.  Instead,
make a similar PKGBUILD that just compiles the additional languages.
Compare that package's file list to the gcc package's file list and cull
out the duplicates.

As long as the existing gcc package doesn't store a list of compiled
languages, then it should work.

I've already built a gcc-f77 package based around this idea and gcc-java
will soon follow.  I do lack the skills to properly test the gcc-f77
package, though it is available here:

The way I've explained it so far, you may be wondering about gcc upgrades.
The gcc-f77 package depends on gcc=$pkgver, so if gcc is upgraded before
gcc-f77, pacman will complain.  In that way, you'll never have conflicting
package versions installed at the same time.

The only drawback to this approach that I've found is that you compile gcc
multiple times.  The only solution to that is make a method to build
multiple packages from one PKGBUILD.  This goes against the KISS design
philosophy and would break a lot of stuff for only a few benefits (a few


If you understand, things are just as they are.  If you do not understand,
things are just as they are.

My old gpg key expired, the new one is available from keyservers.  I was
stupid enough not to realize this before it was too late, so I am not
able to sign my new key with my old key.  If this assurance isn't enough,
please contact me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/arch-projects/attachments/20040824/3adbaa38/attachment.pgp>

More information about the arch-projects mailing list