Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


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

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

by Michael Ash <mike@[EMAIL PROTECTED] > Jan 18, 2007 at 06:42 AM

In comp.sys.mac.programmer.help Gabriele Greco
<gabrielegreco@[EMAIL PROTECTED]
> wrote:
> I know it's a useful feature since I have a core duo processor, but I'm 
> compiling quite heavy C++ sources and my machine has not enough memory 
> to keep TWO instances of GCC compiling them in memory at once..
> 
> I ran through configure/make command line, and I have configured with 
> CXXFLAGS and LDFLAGS:
> 
> -arch i386 -arch ppc
> 
> There is some other flag that let you tell GCC not to compile the two 
> archs at the same time?

There is no reason to compile for both architectures during development. 
Since your development machine is i386, kill the -arch ppc. You can put it

back when you're ready to build for deployment and, I suppose, just suffer

through the build times in that case.

As an alternative, you can build once with -arch i386 and a second time 
with -arch ppc, then use /usr/bin/lipo to stitch the two binaries 
together.

-- 
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
tan12V112 Sun Oct 12 11:28:49 CDT 2008.