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: Nicolas Goy - kuon - 時期精霊 <email@hidden>
- Date: Sat, 16 Dec 2006 03:11:32 +0100
On 15 Dec 2006, at 19:10, Greg Guerin wrote:
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
I eat threads for dinner:P
Again thanks for taking time to write something.
--
Kuon
CEO - Goyman.com SA
http://www.goyman.com/
"Computers should not stop working when the users' brain does."
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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