Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Date: Tue, 7 Jan 2003 17:10:03 -0500 From: Faylor To: cygwin@cygwin.com Subject: Re: where the %^$ is dirname() and basename() Message-ID: <20030107221003.GG28344@redhat.com> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20030107213703.90741.qmail@web14706.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030107213703.90741.qmail@web14706.mail.yahoo.com> User-Agent: Mutt/1.5.1i On Tue, Jan 07, 2003 at 01:37:03PM -0800, Robert Bercik wrote: >Cygwin must have these functions somewhere, but for the life of me i >can't find the libs or headers. Anybody know where dirname() or >basename() are located? Let me say it again: There is no mystery here. If you get a linker error like: "undefined reference to '_basename'", in 90% of the cases it means exactly what it implies: basename is not available. Whether it should be available, whether it is a crime against man and nature that it is not available, whether the lack of the function greatly impacts someone's ability to do their job, is another issue, of course. Until someone provides working implementations of basename and dirname for cygwin, I suggest that you work around the problem. cgf -- Please use the resources at cygwin.com rather than sending personal email. Special for spam email harvesters: send email to aaaspam@sources.redhat.com and be permanently blocked from mailing lists at sources.redhat.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/