Re: complex.h for Cygwin?

2010-10-01 Thread Jan Chludzinski
, Marco Atzeri marco_atz...@yahoo.it wrote: --- Gio 30/9/10, Jan Chludzinski  ha scritto: After doing some web searches for complex.h and Cygwin, I found there doesn't seem to be any support unless I use: gcc -I/usr/include/mingw -lm tc.c  But I still end up with: /cygdrive/c/DOCUME~1/JOHNC~1.ECS

Re: complex.h for Cygwin?

2010-10-01 Thread Eric Blake
[please don't top-post] On 10/01/2010 09:08 AM, Jan Chludzinski wrote: I need to write some simple code which involves complex values. I remembered that C99 added support for complex values and tried to use complex.h (different from C++'scomplex) - I tried ccos() and got the error below.

Re: complex.h for Cygwin?

2010-10-01 Thread Marco Atzeri
is to use GLS? GLS seems the easy way. newlib is not C99 complete for complex numbers Marco ---John On Thu, Sep 30, 2010 at 4:18 PM, Marco Atzeri marco_atz...@yahoo.it wrote: --- Gio 30/9/10, Jan Chludzinski  ha scritto: After doing some web searches for complex.h and Cygwin, I found

Re: complex.h for Cygwin?

2010-10-01 Thread Jan Chludzinski
option is to use GLS? GLS seems the easy way. newlib is not C99 complete for complex numbers Marco ---John On Thu, Sep 30, 2010 at 4:18 PM, Marco Atzeri marco_atz...@yahoo.it wrote: --- Gio 30/9/10, Jan Chludzinski  ha scritto: After doing some web searches for complex.h and Cygwin

Re: complex.h for Cygwin?

2010-10-01 Thread Marco Atzeri
--- Ven 1/10/10, Jan Chludzinski ha scritto: No top post please. That brings up a couple of questions: 1) I've found several web sites that offer a GSL package for 1.7 but why isn't it part of the library full install? Setup.exe install as default only a minimal number of packages:

complex.h for Cygwin?

2010-09-30 Thread Jan Chludzinski
After doing some web searches for complex.h and Cygwin, I found there doesn't seem to be any support unless I use: gcc -I/usr/include/mingw -lm tc.c  But I still end up with: /cygdrive/c/DOCUME~1/JOHNC~1.ECS/LOCALS~1/Temp/ccAPGnIv.o:tc.c:(.text+0x3d): undefined reference to `_ccos' collect2: ld

R: complex.h for Cygwin?

2010-09-30 Thread Marco Atzeri
--- Gio 30/9/10, Jan Chludzinski ha scritto: After doing some web searches for complex.h and Cygwin, I found there doesn't seem to be any support unless I use: gcc -I/usr/include/mingw -lm tc.c  But I still end up with: /cygdrive/c/DOCUME~1/JOHNC~1.ECS/LOCALS~1/Temp/ccAPGnIv.o:tc.c:(.text