So I decided to make a quick compile script to properly compile the
universal binary (ie, reconfigure and use lipo) after sanitizing the
environment from Macports. Here it is. Hopefully someone else will
find it useful.
In general, this approach is discouraged. `configure` scripts often
create architecture-specific #defines for the project (particularly
endianness and pointer size). The result would be a binary that's
compiled for several architectures, but only runs correctly on the
one that matches the build machine.
The safer way to do this is:
1. configure and build one architecture at a time
2. use `lipo` to combine the results into a single universal binary
file.
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden
This email sent to email@hidden