Re: [Cgdb-users] compiling on OS X leopard
Brought to you by:
bobbybrasko,
crouchingturbo
From: Badi' Abdul-W. <ali...@gm...> - 2007-11-16 01:59:18
|
On Nov 15, 2007, at 11:08 AM, Bob Rossi wrote: > Hmmm, neosun had this compiling at some point. Have you seen the > mac os X link here: > http://cgdb.sourceforge.net/download.php > > It has a binary which you can use, unless you are relying on trunk/ > for > some reason. I did see that. I'm trying to compile from source because I want tighter control over what I put on my computer, and (mainly) for the learning experience. I'm a bit new to using the *nixes and variants. On Nov 15, 2007, at 11:08 AM, Bob Rossi wrote: >> Does anyone have any idea as to what's going on? This seems to be >> specific to the apple os, since I compiled and installed on a linux >> box I have access to. > > Well, we would first need to know how to open a pty on mac os 10.5. > Once > we figured that out, we can determine what's going wrong with > psuedo.c. > Do you have a /dev/ptmx directory? How about /dev/ptc? I do have a /dev/ptmx: badi@eru [~/src/cvs-svn/cgdb]: file /dev/ptmx /dev/ptmx: character special (15/2) On Nov 15, 2007, at 11:58 AM, Bob Rossi wrote: > Hi Badi, > > If I import the newest release of psuedo.c, will you test? Sure. btw, I wonder if this could have something to do with readline. I was having difficulty getting readling5.2 to build. I ended up changing the support/shobj-conf in the readline source directory to allow for darwin9 (leopard). The only changes I made were: 145: darwin8*) <-----> darwin9*) and 156: SHOBJ_LDFLAGS='-undefined dynamic_lookup' <----> SHOBJ_LDFLAGS='- undefined dynamic_lookup -dynamiclib' Heres the link to my discovery on how to accomplish that: http://forums.macosxhints.com/showthread.php?p=421408 |