[Cgdb-devel] Mac OS X 10.5 cgdb Patches
Brought to you by:
bobbybrasko,
crouchingturbo
From: Kyle M. <ma...@gm...> - 2009-06-15 23:18:59
|
cgdb-0.6.4 has difficulties building for Mac OS X 10.5. It needs to have HAVE_OPENPTY defined. You can either do: CFLAGS=-DHAVE_OPENPTY ./configure Or apply a patch to configure.init. The patches are attached to cgdb bug 2806868 here: https://sourceforge.net/tracker/?func=detail&aid=2806854&group_id=72581&atid=534974 Additionally, Mac OS X commonly uses files with extensions .cp, .m, .mm and .M. These files are not currently colorized by the cgdb tokenizer. The C tokenizer does a very good job with these (.cp = C++, .m = Objective-C, .mm/.M = Objective-C++). A simple patch to tokenizer.c allows the C tokenizer to colorize these. The patch is attached to cgdb bug 2806868 here: https://sourceforge.net/tracker/?func=detail&aid=2806868&group_id=72581&atid=534974 Kyle |