Quote Originally Posted by gpetty View Post
The resulting executable is huge: 784 MB.
The executable is huge because it contains debug info. I was hoping that the latest Mac gcc compilers would use DWARF and the debug info would take up less space, but it looks as if one of my assumptions is wrong somewhere. I too have a have binary of about that size - probably over 800 MB actually, which I use for debugging, and strip to fit on a CD.

Quote Originally Posted by gpetty View Post
... it definitely halts when it can't find the one library in /usr/lib, ...
You could look for every configuration file with a path starting /usr/lib and delete those files. The configure system should re-create them with correct paths

Ben