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 18 of 18 Topic 576 of 637
Post > Topic >>

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

by Michael Ash <mike@[EMAIL PROTECTED] > Jan 22, 2007 at 05:33 PM

In comp.sys.mac.programmer.help Ben Artin <macdev@[EMAIL PROTECTED]
> wrote:
> *THAT* is a good point, but then AFAIK gcc doesn't perform any
parallelization 
> -- one invocation of gcc equals one process, no parallel builds. Even if
gcc is 
> compiling for two archs from one invocation of gcc, I believe that still
happens 
> on a single processor.

I would have said the same thing before this thread, but I just tested it,

and passing two arch flags really does result in two invocations of the 
compiler running simultaneously:

$ gcc -arch ppc -arch i386 test.c

Thes while that was running:

$ ps wwaux|grep cc1|grep -v grep
mikeash   7632  65.5 -10.3   332972 216580  p8  U+    6:31PM   0:01.21 
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1 -quiet -D__DYNAMIC__ 
test.c -fPIC -quiet -dumpbase test.c -auxbase test -o /var/tmp//cccaMajP.s
mikeash   7633  60.3 -10.3   333112 216872  p8  U+    6:31PM   0:01.20 
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/cc1 -quiet -D__DYNAMIC__ test.c 
-fPIC -quiet -dumpbase test.c -march=nocona -auxbase test -o 
/var/tmp//ccjtQrfF.s

-- 
Michael Ash
Rogue Amoeba Software
 




 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 22:29:37 PST 2009.