On 7/30/06, Randy Barlow <[EMAIL PROTECTED]> wrote:
Richard Fish wrote:
> Can you retry with:
>
> CFLAGS="-O2 -march=pentium3 -pipe"

Awesome, this seems to have done the trick - thanks!

BTW, -O3 uses *a lot* more ram to compile compared to -O2.  Indeed,
gcc will sometimes take 200-500MB of RAM to compile a single C++
module.  So combined with MAKEOPTS=-j2, and only 512MB of RAM total,
yeah, I think you ran out of memory.

In fact, you may want to drop to MAKEOPTS=-j1 permanently.  Swapping
is simply not something you want to do when compiling...it is too damn
slow.  If you run so many jobs that some get pushed to swap, it would
be far faster to run one job at a time without swapping!

-Richard
--
[email protected] mailing list

Reply via email to