Talk About Network

Google





Mac > Mac Programmer Tools > Re: How to disa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 18 Topic 576 of 637
Post > Topic >>

Re: How to disable GCC parallel compilation of universal binaries?

by noreply@[EMAIL PROTECTED] (Patrick Machielse) Jan 18, 2007 at 05:38 PM

Gabriele Greco <gabrielegreco@[EMAIL PROTECTED]
> wrote:

> I want to build BOTH architectures and generate a universal binary 
> BUT I want to compile the objects sequentially and not in parallel like
> gcc behaviour is...
> 
> Anyway I don't use xcode, at least for this project, I've not enough 
> memory to run ALSO xcode (GCC on large sources allocate more than 400mb
> per file, if ps re****ts are correct, and my machine became a swap box),
>   upgrade the memory on a mac mini (512mb) is not that easy and I cannot
> risk to loose it at the moment :)

If you use make, you can specify the -j option. From the man page:

-j 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.

I vagely remember hearing that the optimal value is 2 * # of processor
cores, but don't pin me down on it... In your case you could try 1.

patrick
 




 18 Posts in Topic:
How to disable GCC parallel compilation of universal binaries?
Gabriele Greco <gabrie  2007-01-18 10:07:31 
Re: How to disable GCC parallel compilation of universal binarie
"vze35xda@[EMAIL PRO  2007-01-18 02:32:23 
Re: How to disable GCC parallel compilation of universal binarie
Gabriele Greco <gabrie  2007-01-18 17:08:08 
Re: How to disable GCC parallel compilation of universal binarie
noreply@[EMAIL PROTECTED]  2007-01-18 17:38:37 
Re: How to disable GCC parallel compilation of universal binarie
Tom Harrington <tph@[E  2007-01-18 09:44:59 
Re: How to disable GCC parallel compilation of universal binarie
"Clark S. Cox III&qu  2007-01-18 14:42:59 
Re: How to disable GCC parallel compilation of universal binarie
Gabriele Greco <gabrie  2007-01-19 13:31:32 
Re: How to disable GCC parallel compilation of universal binarie
noreply@[EMAIL PROTECTED]  2007-01-19 15:27:55 
Re: How to disable GCC parallel compilation of universal binarie
"Clark S. Cox III&qu  2007-01-19 11:51:50 
Re: How to disable GCC parallel compilation of universal binarie
noreply@[EMAIL PROTECTED]  2007-01-19 20:11:58 
Re: How to disable GCC parallel compilation of universal binarie
Michael Ash <mike@[EMA  2007-01-19 14:00:11 
Re: How to disable GCC parallel compilation of universal binarie
Gabriele Greco <gabrie  2007-01-22 13:03:15 
Re: How to disable GCC parallel compilation of universal binarie
Michael Ash <mike@[EMA  2007-01-18 06:42:02 
Re: How to disable GCC parallel compilation of universal binarie
Santa Claus <santa@[EM  2007-01-19 05:30:22 
Re: How to disable GCC parallel compilation of universal binarie
Ben Artin <macdev@[EMA  2007-01-21 03:25:13 
Re: How to disable GCC parallel compilation of universal binarie
Michael Ash <mike@[EMA  2007-01-21 05:05:25 
Re: How to disable GCC parallel compilation of universal binarie
Ben Artin <macdev@[EMA  2007-01-22 18:27:05 
Re: How to disable GCC parallel compilation of universal binarie
Michael Ash <mike@[EMA  2007-01-22 17:33:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 23:10:29 PST 2009.