Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 12 Dec 2000 21:11:46 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: missing gmtime_r & localtime_r in .a files Message-ID: <20001212211146.A8933@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3A36DB2B DOT 53FCA358 AT itginc DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <3A36DB2B.53FCA358@itginc.com>; from joseph@itginc.com on Tue, Dec 12, 2000 at 06:12:59PM -0800 On Tue, Dec 12, 2000 at 06:12:59PM -0800, Joseph Heled wrote: >While I see the prototype for gmtime_r & localtime_r in /usr/include/time.h, the >linker reports they are not found. > >I tried 'nm *.a | grep gmtime_r' in /usr/lib, which gave no hits. > >I am using cygwin version 1.15. gcc version is gcc-2.95.2-5. The headers that are used by Cygwin come from 'newlib'. We don't necessarily export every single function from the newlib library in cygwin. So, if you get a "not found" error when linking then you can believe it. It's not available in cygwin. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com