Re: [Cgdb-users] compiling on OS X leopard
Brought to you by:
bobbybrasko,
crouchingturbo
From: Bob R. <bob...@co...> - 2007-11-15 19:53:54
|
On Thu, Nov 15, 2007 at 08:50:35PM +0100, Horst Schirmeier wrote: > On Thu, 15 Nov 2007, Bob Rossi wrote: > > 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 suggest looking at the location you borrowed that code from in the > first place, maybe they already have a solution that works for Leopard > (MacOS 10.5). As Cgdb builds fine on 10.4 here, it's very possible that > this is a 10.5 only issue. > > (MacOS 10.4.11) > $ sudo port install cgdb > Password: > ---> Fetching cgdb > ---> Attempting to fetch cgdb-0.6.4.tar.gz from > http://downloads.sourceforge.net/cgdb > ---> Verifying checksum(s) for cgdb > ---> Extracting cgdb > ---> Configuring cgdb > ---> Building cgdb with target all > ---> Staging cgdb into destroot > ---> Installing cgdb 0.6.4_0 > ---> Activating cgdb 0.6.4_0 > ---> Cleaning cgdb Great to see that it works on 10.4. Is it possible that you could send us the translation unit for pseudo.c? That way, we could compare the two examples. If you can set the CFLAGS, add -save-temps, then after the build, psuedo.i should be left around by the compiler. Thanks, Bob Rossi |