tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Bob Parkinson <rwplists () omni ! ac ! uk>
To: tru64-unix-managers
Subject: SUMMARY: making umich ldap3.3
Date: Fri, 31 Jul 1998 09:00:40 +0000	[thread overview]
Message-ID: <96078715812058.tru64-unix-managers.marc@archive.invalid> (raw)

I've got this to make cleanly, but not tested the resulting binaries yet.

I got one spot on answer, thanks Dave. I've copied his message below.

The distribution needs some small tweaking for my system (du4.0d). It
required the creation of a build/platforms/osf1-gcc directory, and a
Make-platform containing;

CC=gcc

PLATFORMCFLAGS= -Dosf1 -DNEEDPROTOS

THREADS= -D_PTHREAD_USE_D4


Futher: It would not build with the default db library (dbm.a), or using
the Berkeley btree option, but it went OK with the Berkeley hash option.

Cheers,

Bob

====================================================



From: Dave Tetreault 

I have built and am running it on 4.0b.  From what I remember the 
following comment fron pthread.h were the key.


/******************************************************************************
 *
 * NOTICE: Temporary support for POSIX 1003.4a/D4 migration
 * --------------------------------------------------------
 *
 * Support 1003.4a/D4 ("DCE threads") source migration mode by allowing
 * programmer to cause #include <pthread.h> to define the old interfaces
 * (with modified names) if the _PTHREAD_USE_D4 macro is defined. This is
 * equivalent to #include <pthread_d4.h> -- the remainder of this header
 * file is not processed.
 *
 * In practice, you can invoke the source migration mode either by the
 * following sequence within your .c or .h files:
 *
 *      #define _PTHREAD_USE_D4
 *      #include <pthread.h>
 *
 * or by modifying your Makefile (or manual build sequence) to use the -D
 * compiler (or cpp) option:
 *
 *      cc -D_PTHREAD_USE_D4 foo.c
 *
 * The POSIX 1003.4a/D4 migration support will be retired (this clause
will
 * be removed from pthread.h!) in the next major release of each operating
 * system (OpenVMS VAX, OpenVMS Alpha, and Digital UNIX) that occurs at
least
 * one year after the initial release of the POSIX 1003.1c interfaces.
 *
 
*****************************************************************************/




David E. Tetreault                        davet@uriacc.uri.edu
Manager of Technical Support              401-874-4472

                 reply	other threads:[~1998-07-31  9:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox