* [gentoo-user] compiling via distcc
@ 2015-02-11 22:51 Joseph
2015-02-11 23:19 ` Jeff Smelser
0 siblings, 1 reply; 6+ messages in thread
From: Joseph @ 2015-02-11 22:51 UTC (permalink / raw
To: gentoo-user
I have an old eeepc 1GB ram and would like to install Gentoo on it as Xubuntu and Fedora both failed providing the programs I need.
Since the eeepc is VERY slow, is it possible to setup "distcc" to do complete compiling on a faster machine. (eeepc is x86, my faster boxes are amd64).
--
Joseph
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] compiling via distcc
2015-02-11 22:51 [gentoo-user] compiling via distcc Joseph
@ 2015-02-11 23:19 ` Jeff Smelser
2015-02-13 13:23 ` [gentoo-user] " James
2015-02-20 3:51 ` [gentoo-user] " Andrew Savchenko
0 siblings, 2 replies; 6+ messages in thread
From: Jeff Smelser @ 2015-02-11 23:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 517 bytes --]
People do it all the time. You have to set up the amd64's to cross compile.
https://wiki.gentoo.org/wiki/Distcc/Cross-Compiling
On Wed, Feb 11, 2015 at 4:51 PM, Joseph <syscon780@gmail.com> wrote:
> I have an old eeepc 1GB ram and would like to install Gentoo on it as
> Xubuntu and Fedora both failed providing the programs I need.
>
> Since the eeepc is VERY slow, is it possible to setup "distcc" to do
> complete compiling on a faster machine. (eeepc is x86, my faster boxes are
> amd64).
>
> --
> Joseph
>
>
[-- Attachment #2: Type: text/html, Size: 994 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: compiling via distcc
2015-02-11 23:19 ` Jeff Smelser
@ 2015-02-13 13:23 ` James
2015-02-20 3:51 ` [gentoo-user] " Andrew Savchenko
1 sibling, 0 replies; 6+ messages in thread
From: James @ 2015-02-13 13:23 UTC (permalink / raw
To: gentoo-user
Jeff Smelser <tradergt <at> gmail.com> writes:
> People do it all the time. You have to set up the amd64's to cross compile.
>
> https://wiki.gentoo.org/wiki/Distcc/Cross-Compiling
Here are a few additional links for your perusal:
http://wiki.gentoo.org/wiki/Distcc
https://wiki.gentoo.org/wiki/Talk:Distcc/Cross-Compiling
https://www.gentoo.org/proj/en/base/embedded/handbook/
All neatly available via google {keywords}
hth,
James
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] compiling via distcc
2015-02-11 23:19 ` Jeff Smelser
2015-02-13 13:23 ` [gentoo-user] " James
@ 2015-02-20 3:51 ` Andrew Savchenko
2015-02-21 9:48 ` Peter Humphrey
1 sibling, 1 reply; 6+ messages in thread
From: Andrew Savchenko @ 2015-02-20 3:51 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1187 bytes --]
On Wed, 11 Feb 2015 17:19:22 -0600 Jeff Smelser wrote:
> People do it all the time. You have to set up the amd64's to cross compile.
>
> https://wiki.gentoo.org/wiki/Distcc/Cross-Compiling
One doesn't need to setup cross-compilation in order to generate
x86 code on amd64 systems: 64-bit amd64 gcc natively supports this,
just be sure to add -m32 to your {C,CXX,F,FC,LD}FLAGS variables.
Care should be taken with -march=native or -mtune=native arguments.
Vanilla distcc doesn't support this. Patch can be taken here[1] or
distcc from my overlay[2] may be used.
Another approach will be to use one powerful box to build all
packages for an older system: either root filesystem may be
exported via NFS to a powerful host or just copy entire disk image
to and fro that host; afterwards just setarch && chroot to that
image / NFS mount and build all packages using modern hardware.
An old but still useful guide is here[3].
[1] https://groups.google.com/forum/#!topic/distcc-patches/eeP-9pTgz7E
[2] git://git.overlays.gentoo.org/dev/bircoph.git sys-devel/distcc
[3] http://www.gentoo-wiki.info/HOWTO_Emerge_on_very_slow_systems
Best regards,
Andrew Savchenko
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] compiling via distcc
2015-02-20 3:51 ` [gentoo-user] " Andrew Savchenko
@ 2015-02-21 9:48 ` Peter Humphrey
2015-02-21 9:55 ` Peter Humphrey
0 siblings, 1 reply; 6+ messages in thread
From: Peter Humphrey @ 2015-02-21 9:48 UTC (permalink / raw
To: gentoo-user
On Friday 20 February 2015 06:51:49 Andrew Savchenko wrote:
> Another approach will be to use one powerful box to build all
> packages for an older system: either root filesystem may be
> exported via NFS to a powerful host or just copy entire disk image
> to and fro that host; afterwards just setarch && chroot to that
> image / NFS mount and build all packages using modern hardware.
I've found it simpler to NFS-export just the package directory to the
more powerful host, not the whole file system. Then SSH to the small box
and emerge -k. I forget the details now, but I rarely have to fiddle
about fixing problems since adopting this procedure.
--
Rgds
Peter.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-02-21 9:55 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-11 22:51 [gentoo-user] compiling via distcc Joseph
2015-02-11 23:19 ` Jeff Smelser
2015-02-13 13:23 ` [gentoo-user] " James
2015-02-20 3:51 ` [gentoo-user] " Andrew Savchenko
2015-02-21 9:48 ` Peter Humphrey
2015-02-21 9:55 ` Peter Humphrey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox