delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/12/22:05:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20001213030509.28601.qmail@web109.yahoomail.com>
Date: Tue, 12 Dec 2000 19:05:09 -0800 (PST)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Subject: Re: missing gmtime_r & localtime_r in .a files
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

--- Christopher Faylor <cgf AT redhat DOT com> wrote:
> 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.
> 

However, it is possible for the cygwin1.dll to contain the functions but
they're not available from libcygwin.a simply because the
winsup/cygwin/cygwin.din file doesn't contain them. ;)  Both of these exist in
the cygwin1.dll file.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd AT yahoo DOT com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019