First post, by emendelson
Back in January, I had no trouble compiling DOSBox SVN under OS X 10.7, using the detailed advice generously given by Dominus. Since then, i've installed Xcode 4.3.2, which changes a lot of file locations. When I tried to build DOSBox again today, I got error messages saying that gcc-4.2 and g++-4.2 could not be found.
I solved this by creating two symbolic links in /usr/bin - one link to /usr/bin/gcc (also a symbolic link), with the link named /usr/bin/gcc-4.2, and another link to /usr/bin/g++, with the link named /usr/bin/g++-4.2. With these links created, I was able to build DOSBox successfully.
So, my question is: although I was able to build DOSBox, did I fix the problem in a stupid way, and should I have done something else instead? If Dominus is reading this thread, I will happily revise my method if you (or anyone else) tells me that I've made a mistake.
But if this was in fact the right way to do it, I hope the information can be useful to someone else.