Hey Benny!
On Sun, Oct 25 2026 13:37:34 +0000, you wrote:
gcc is a problem for me to compile on my very small vps with just 1GB ram gentoo devs tell its no problem, hmm
how does other solve it ?
With Gentoo itself, "MAKEOPTS=-j1" should help with that, with a minimum 2gb swap.
Otherwise, if you're using gnu make.. `make -j1` will do the same:
-j [jobs], --jobs[=jobs]
Specifies the number of jobs (commands) to run
simultaneously. If there is more than one -j option, the
last one is effective. If the -j option is given without an
argument, make will not limit the number of jobs that can run
simultaneously.
With less memory and/or cpus/threads, you can't compile multiple jobs at once. Even with that said, larger packages might still fail this way.
Depending on how many cores/threads that VPS has, you can adjust the "-jX" option accordingly (2 cores/threads = "-j2" would be max, 1 core/thread = "-j1", etc.).
It seems the /suggested/ method is to compile small packages on the VPS, and use binary packages built on a stronger machine for larger ones. Or just use Gentoo's binary package manager right on the VPS.
Regards,
Nick
... Politicians and diapers should be changed regularly for the same reasons. --- AmberEdit/linux 0.9.3
* Origin: thePharcyde_
telnet://bbs.pharcyde.org (Wisconsin) (1:154/10)