[GRASS5] G_socks_* unix socket wrapper functions...
mblue at nb.sympatico.ca
Tue Jan 30 21:35:13 EST 2001
I agree with Eric. It looks like you have IPC on Mac OS X. Do you want to go
out on the high wire and test it? A net is optional.
Actually, you can test IPC with some test programs from the Linux Documentation
Project or from the Cygwin Utils work. These are fairly portable. I used both
while debugging the Cygwin IPC code so I can probably help you with that. These
test programs require that you have some knowledge of IPC message queues to
verify the results.
Another way to test is to compile the IPC version of grass and see if the XDRIVER
works for you. This method doesn't require any knowledge of IPC messaging.
To test it you can do a 'make distclean', then remake everything - use
'./configure --with-ipc' to enable the IPC code, or just run "./README.ipc new"
which should set up and recompile the necessary routines.
On some systems IPC has resulted in faster graphics so there may be added bonus
"Eric G . Miller" wrote:
> On Mon, Jan 29, 2001 at 10:31:10PM -0800, Jeshua Lacock wrote:
> > On Monday, January 29, 2001, at 08:49 PM, Eric G . Miller wrote:
> > > On Mon, Jan 29, 2001 at 05:54:39PM -0800, Jeshua Lacock wrote:
> > > > On Monday, January 29, 2001, at 05:03 PM, Malcolm Blue wrote:
> > > >
> > > > > Also, are IPC message queues implemented on all of the
> > > > > platforms? It is on UNIX's and now works on Cygwin for WinNT,
> > > > > but what about other platforms, e.g.. Mac OS X? Maybe people
> > > > > using platforms that don't support IPC can respond to this (if
> > > > > no one responds can we assume that all support this?)
> > > >
> > > >
> > > > How do I test it or find out if MacOS X supports IPC??
> > >
> > > Have /usr/include/sys/ipc.h ?
> > Yes.
> Okay, must be there.
> > > Have /usr/include/bits/ipc.h ?
> > No.
> Probably doesn't mean anything -- sys/ipc.h is the *real* one to look
> > > Run "nm /usr/lib/libc.a | grep msgget" (provided that's the path to
> > > libc) will indicate if it exists in the library.
> > I cannot locate a "libc.a" anywhere on my system. I do have a libc.h,
> > libc.p, libcc_dynamic.a but no libc.a. Weird huh?
> Scratching head... Obviously, it's around somewhere, apparently some
> kind of different naming convention??? As long as the compiler
> understands -lc ...
> Eric G. Miller <egm2 at jps.net>
> If you want to unsubscribe from GRASS Development Team mailing list write to:
> minordomo at geog.uni-hannover.de with
> subject 'unsubscribe grass5'
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev