in mac 10.10 , only --with-rfb can be build successfully. --with-x, --with-x11, --with-macos, --with-carbon, --with-sdl, --with-sdl2 are all fail.
Below is the error when "./configure --enable-disasm --enable-debugger"
cd gui && \
/Applications/Xcode.app/Contents/Developer/usr/bin/make libgui.a
g++ -c -I.. -I./.. -I../iodev -I./../iodev -I../instrument/stubs -I./../instrument/stubs -fpascal-strings -fno-common -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES carbon.cc -o carbon.o
carbon.cc:155:1: error: unknown type name 'CIconHandle'
CIconHandle bx_cicn[BX_MAX_PIXMAPS];
^
carbon.cc:270:3: error: use of undeclared identifier 'GetWindowPortBounds'
GetWindowPortBounds(myWindow, &box);
^
carbon.cc:271:13: error: use of undeclared identifier 'blackColor'; did you mean 'ControlFontStyleRec::backColor'?
BackColor(blackColor);
^~~~~~~~~~
ControlFontStyleRec::backColor
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Controls.h:569:23: note: 'ControlFontStyleRec::backColor' declared here
RGBColor backColor;
^
carbon.cc:271:13: error: invalid use of non-static data member 'backColor'
BackColor(blackColor);
^~~~~~~~~~
carbon.cc:272:3: error: use of undeclared identifier 'EraseRect'
EraseRect(&box);
^
carbon.cc:311:3: error: use of undeclared identifier 'GetWindowPortBounds'
GetWindowPortBounds(myWindow, &box);
^
carbon.cc:402:10: error: use of undeclared identifier 'FindWindow'
part = FindWindow(wheresMyMouse, &whichWindow);
^
carbon.cc:408:5: error: use of undeclared identifier 'MenuSelect'
MenuSelect(wheresMyMouse);
^
carbon.cc:444:7: error: use of undeclared identifier 'CreateStandardAlert'
CreateStandardAlert(
^
carbon.cc:451:7: error: use of undeclared identifier 'RunStandardAlert'
RunStandardAlert(
^
carbon.cc:475:11: error: use of undeclared identifier 'IsWindowVisible'
if (IsWindowVisible(toolwin))
^
carbon.cc:489:11: error: use of undeclared identifier 'IsWindowVisible'
if (IsWindowVisible(toolwin) || menubarVisible)
^
carbon.cc:493:13: error: use of undeclared identifier 'IsWindowVisible'
if (IsWindowVisible(toolwin))
^
carbon.cc:500:14: error: use of undeclared identifier 'IsWindowVisible'
if (!IsWindowVisible(toolwin))
^
carbon.cc:536:3: error: use of undeclared identifier 'StopAlert'
StopAlert(200, NULL);
^
carbon.cc:544:3: error: use of undeclared identifier 'InitCursor'
InitCursor();
^
carbon.cc:554:5: error: no matching function for call to 'NewAEEventHandlerUPP'
NewAEEventHandlerUPP(QuitAppleEventHandler), 0, false);
^~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEDataModel.h:2725:65: note: candidate function not viable: no known
conversion from 'OSErr (const AppleEvent , AppleEvent , SInt32)' to 'AEEventHandlerProcPtr' (aka 'OSErr ()(const AppleEvent , AppleEvent *, SRefCon)')
for 1st argument
inline AEEventHandlerUPP NewAEEventHandlerUPP(AEEventHandlerProcPtr userRoutine) { return userRoutine; }
^
carbon.cc:556:5: warning: 'ExitToShell' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
ExitToShell();
^
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:725:6: note: 'ExitToShell' has been explicitly
marked deprecated here
void ExitToShell( void ) attribute (( noreturn )) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
^
carbon.cc:576:5: error: use of undeclared identifier 'GetGWorld'
GetGWorld(&savePort, &saveDevice);
^
carbon.cc:606:56: error: use of undeclared identifier 'keepLocal'; did you mean 'pLocal'?
&srcTileRect, disp_bpp>8 ? NULL : gCTable, NULL, keepLocal, gMyBuffer, theRowBytes);
^~~~~~~~~
pLocal
/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/FinderRegistry.h:274:3: note: 'pLocal' declared here
pLocal = 'isrv',
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make[1]: *** [carbon.o] Error 1
make: *** [gui/libgui.a] Error 2
The carbon gui compilation is known to fail in recent OSX versions. Unfortunately there is no Bochs developer using this platform. Patches from people with OSX experience are welcome. Please try again with the portable SDL or SDL2 gui.