I tried to figure out why BII can't compile in El Captain. Because I want to port my 256 color hack back to Mac.
First of all, mac UI app use deprecated Mac SDK. So it doomed to failed to build BII Mac app. But there is workaround to build it with X and SDL enable.
So in El Captain, I install sdl 1.2 and gtk2 from mac port and use the following configura
./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --enable-jit-compiler --with-x
Now I can build BII in El Captain.
Secondly, the compiled BII has segmentation fault during running. The culprit is BII hardcoded several 32bit data type everywhere!!! I means literally everywhere. In addition, JIT doesn't work for some reason (I haven't figure this out yet. )
The showstopper is slirp module and JIT. Disable both of them can boot Mac OS.
I will first disable JIT and enable networking on this branch https://github.com/rickyzhang82/macemu/tree/mac-debug
. Right now I can enable slirp module without segmentation fault. But networking is not ready yet.