Hi. I've got a relatively simple makefile that uses a pattern rule to
build my individual sources. I'm building native binaries just fine,
but I'd like to build a Universal Binary. I don't want to change it
to a bunch of explicit rules, so I'm hoping someone can point me at
an example of a Makefile that build universal binaries. Mine's
included. It's using gdc, a D compiler built on top of gcc (Apple's
gcc), and it's a bit unusual in that sources (and objects) are store
hierarchically, akin to Java sources and classes. Hence all the $
(shell find) and $(patsubst) stuff.
I just want to figure out how to add the steps for universal binary.
Apple's docs on gcc suggest you can just put in two -arch flags and
it'll build universal binaries, but that's not working for me. My
build involves a couple of static libraries, so perhaps I just need
to add something to the $(AR) line?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden