[arch-projects] Proposal for additional gcc packages
mbaehr at gmail.com
Tue Aug 24 20:28:29 EDT 2004
On Tue, 24 Aug 2004 15:54:01 -0700, Jason Chu <jason at archlinux.org> wrote:
> 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.
I think this is one of those situations where the idea of adding
split-off functionality to makepkg (akin to what Debian and many other
distros do) would come in quite handy. That way you could have one
PKGBUILD which built all of the gcc languages, and then split it off
into gcc, gcc-f77, gcj, etc. AFAIK someone actually made a patch to
makepkg a while back that added this functionality; it's a pretty
Michael Baehr - Arch Linux GNUstep Geek
More information about the arch-projects