Re: Dev on mac, build on a sparc
Re: Dev on mac, build on a sparc
- Subject: Re: Dev on mac, build on a sparc
- From: Greg Guerin <email@hidden>
- Date: Fri, 15 Dec 2006 11:10:03 -0700
Nicolas Goy wrote:
>A solution I though of is using makefile within xcode. But, I don't
>really know how. I use xCode because it's super handy. I want the
>best was to manage my solaris sparc build. I don't want to edit the
>makefile each time I move or add a *.c or a *.h.
It should be fairly easy to script the creation of a simple "mass
dependencies" makefile. It would include every .c and .h file in the
entire project, declaring that every .c depends on every .h. It requires
fairly low knowledge of makefiles, too: basic dependencies and macro
definitions.
On the SPARC, you just throw a zillion parallel processors at it in a
parallel make. If it recompiles every C file every time you change a
single header, so what? You've got threads to burn. It'll still only
recompile C files that change, and won't recompile C files that didn't
change, not that such economies have much value.
When you have a zillion threads you can harness at once, figuring out the
individual sequential dependencies is a waste of scarce human resources.
That's a CPU-scarcity strategy applied in a CPU-abundant human-scarcity
situation. It's better to let the computer do it all, every time, even if
it's overkill. Burn those cycles.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden