Gentoo Archives: gentoo-dev

From: Andrew de Quincey <adq_dvb@×××××××××.net>
To: gentoo-dev@××××××××××××.org
Subject: [gentoo-dev] Patch for absolute minimal GCC for distcc environment
Date: Sun, 03 Apr 2005 01:56:09
Message-Id: 200504030256.14492.adq_dvb@lidskialf.net
1 Hi, I hope this is the correct place to send this.
2
3 I have setup distcc in my network. Most of the hosts are i686, but one of them
4 is x86_64. I wish to distribute tasks to the i686 machines from the x86_64
5 machine. This involves installing a cross compiler on the i686 machines for
6 x86_64 tasks. Crossdev is overkill for this - I don't actually _need_ glibc
7 and the like on the client machines for a simple distcc environment. It
8 really adds to the upgrade time when emerge sync; emerge worlding.
9
10 The attached patch makes gcc *only* generate the compilers - no libstdcc++, no
11 libgcc, nothing else - this is all you need for distcc. Likewise, compiling
12 gcc with this patch needs only binutils - no linux-headers, and no glibc.
13
14 I was considering patching the gcc ebuild to add a new option - e.g. "minimal"
15 to apply this patch - but I've no idea if you would be interested in this
16 feature. Please let me know if you are, and I'll develop it further if so.

Attachments

File name MIME type
gcc-3.4.3-nolibgcc.patch text/x-diff

Replies

Subject Author
Re: [gentoo-dev] Patch for absolute minimal GCC for distcc environment Andrew Gaffney <agaffney@g.o>