Re: long math functions on cygwin

2008-11-18 Thread Tim Prince
Greg Chicares wrote: > I poked around the newlib list a little, but saw nothing > to suggest anyone's working on adding sqrtl() etc. They do > welcome patches, of course. I doubt that a simple request from the masses would lead anywhere. It's relatively easy to implement long double math function

Re: long math functions on cygwin

2008-11-18 Thread Greg Chicares
On 2008-11-18 12:06Z, [EMAIL PROTECTED] wrote: > On Tue, Nov 18, 2008 at 11:55:49AM +, Greg Chicares wrote: > [...] >> See the explanation of >> "If I call sqrtl on linux I have to link to -lm, on Cygwin I don't." >> toward the bottom of this message: > > Thanks for the enlightenment. As I s

Re: long math functions on cygwin

2008-11-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to [EMAIL PROTECTED] on 11/18/2008 5:06 AM: > On Tue, Nov 18, 2008 at 11:55:49AM +, Greg Chicares wrote: > [...] >> See the explanation of >> "If I call sqrtl on linux I have to link to -lm, on Cygwin I don't." >> toward the bottom of t

Re: long math functions on cygwin

2008-11-18 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Nov 18, 2008 at 11:55:49AM +, Greg Chicares wrote: [...] > See the explanation of > "If I call sqrtl on linux I have to link to -lm, on Cygwin I don't." > toward the bottom of this message: Thanks for the enlightenment. As I said, I have

Re: long math functions on cygwin

2008-11-18 Thread Greg Chicares
On 2008-11-18 11:15Z, [EMAIL PROTECTED] wrote: > > No clue about Windows (and very little about Cygwin), but... isn't a > "-lm" (aka link against the math library, libm) missing somewhere? See the explanation of "If I call sqrtl on linux I have to link to -lm, on Cygwin I don't." toward the bot

Re: long math functions on cygwin

2008-11-18 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Nov 18, 2008 at 10:02:41PM +1100, Manal Helal wrote: > Hello > > > I am trying to compile some unix code on cygwin, using gcc version: > > * > Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs

long math functions on cygwin

2008-11-18 Thread Manal Helal
Hello I am trying to compile some unix code on cygwin, using gcc version: * Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --ver bose --prefix=/usr --exec-prefix=/usr --