Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3C549B8E.6010304@ece.gatech.edu> Date: Sun, 27 Jan 2002 19:30:06 -0500 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: "William D. Kirby" CC: Cygwin Mailing List Subject: Re: lgamma function not available with -mno-cygwin References: <3C548B30 DOT F9D6FDCF AT ix DOT netcom DOT com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit WIN32 != cygwin If you want cygwin-provided functions, build a cygwin version (i.e. without -mno-cygwin). Otherwise, if the functions are not available from MS libraries (which is what you are using when you build with -mno-cygwin) you need to either (a) write replacements yourself, or (b) complain to Bill G. Further discussion of a non-cygwin build of GNUPLOT belongs elsewhere. perhaps the mingw list? William D. Kirby wrote: > I'm working with the beta cvs version of GNUPLOT. The X11 version > compiles and tests fine using CYGWIN v1.3.9-1 build, but I get an error > message testing the WIN32 version (i.e., -mno-cygwin). The gnuplot > generated error message during testing says that libc does not contain > the lgamma function. > > I would assume that the WIN32 and X11 versions would have equally > capable libc libraries. You assume much: that the authors of Microsoft's runtime library, msvcrt.dll, have ANY interest in cross-platform compatibility with standard libc. > I attempted to use the math lib -lm, but got a > run time error that it could not find cygwin1.dll. Right -- libm is a cygwin library, so it'll need cygwin1.dll. But, by using -mno-cygwin, you're not USING cygwin1.dll for system services, you are using msvcrt.dll. > Is there a work around, and could the WIN32 build be missing lgamma for > some reason? See above. --Chuck -- 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/