X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Message-ID: <907803.58018.qm@web25507.mail.ukl.yahoo.com> Date: Fri, 1 Oct 2010 15:25:14 +0000 (GMT) From: Marco Atzeri Subject: Re: for Cygwin? To: cygwin AT cygwin DOT com, Jan Chludzinski In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --- Ven 1/10/10, Jan Chludzinski ha scritto: > I need to write some simple code > which involves complex values. =A0I > remembered that C99 added support for complex values and > tried to use > (different from C++'s ) - > I tried ccos() and got > the error below. >=20 > Another option is to use GLS? GLS seems the easy way. newlib is not C99 complete for complex numbers Marco >=20 > ---John >=20 >=20 > On Thu, Sep 30, 2010 at 4:18 PM, Marco Atzeri > wrote: > > --- Gio 30/9/10, Jan Chludzinski =A0ha scritto: > > > >> After doing some web searches for > >> and Cygwin, I found > >> there doesn't seem to be any support unless I > use:=A0gcc > >> -I/usr/include/mingw -lm tc.c =A0But I still end up > with: > >> > >> > /cygdrive/c/DOCUME~1/JOHNC~1.ECS/LOCALS~1/Temp/ccAPGnIv.o:tc.c:(.text+0x3= d): > >> undefined reference to `_ccos' > >> collect2: ld returned 1 exit status > >> > >> I'm really not interested in working with MinGW > either. > >> =A0All the > >> messages about and Cygwin are > rather old > >> (<2007) so I was > >> hoping that 1.7 would remedy the problem. > =A0Evidently not? > >> > >> ---John > >> > > > > John, > > newlib (cygwin libc-like library) has not the complex > type, > > however on cygwin complex numbers are supported by > > the gcc/g++ compiler > > > > > /usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/complex.h > > > > what are exactly your needs ? > > > > Marco >=20 > -- > Problem reports:=A0 =A0 =A0=A0=A0http://cygwin.com/problems.html > FAQ:=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0=A0=A0http://cygwin.com/faq/ > Documentation:=A0 =A0 =A0 =A0=A0=A0http://cygwin.com/docs.html > Unsubscribe info:=A0 =A0 =A0 http://cygwin.com/ml/#unsubscribe-simple >=20 >=20 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple