Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 71723 invoked by uid 500); 31 Mar 2003 21:17:12 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 71656 invoked from network); 31 Mar 2003 21:17:12 -0000 Message-ID: <3E88B08E.7030805@attglobal.net> Date: Mon, 31 Mar 2003 16:18:06 -0500 From: Jeff Trawick Reply-To: trawick@attglobal.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@apr.apache.org Subject: Re: anybody using Sun's compiler and getting libthread referenced by executables but not libpthread? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Spinka, Kristofer wrote: > To be sure that the compiler is respecting the POSIX behavior, remove > the "-mt" and add "-D_POSIX_C_SOURCE=199506L" and link with -lpthread. "man pthread_create" says "cc -mt foo.c -lpthread" _POSIX_C_SOURCE=199506L sounds like something to force my program to use only those interfaces described in some particular document... we want access to everything the platform offers