delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.0 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: | <994862.20681.qm@web25507.mail.ukl.yahoo.com> |
Date: | Thu, 30 Sep 2010 20:18:30 +0000 (GMT) |
From: | Marco Atzeri <marco_atzeri AT yahoo DOT it> |
Subject: | R: <complex.h> for Cygwin? |
To: | cygwin AT cygwin DOT com, Jan Chludzinski <jan DOT chludzinski AT gmail DOT com> |
In-Reply-To: | <AANLkTi=6CT8MUd7nOfhsCZydwyp_=kCL1HvPL0eiKDUd@mail.gmail.com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--- 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:=A0gcc > -I/usr/include/mingw -lm tc.c =A0But I still end up with: >=20 > /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 >=20 > I'm really not interested in working with MinGW either. > =A0All the > messages about <complex.h> and Cygwin are rather old > (<2007) so I was > hoping that 1.7 would remedy the problem. =A0Evidently not? >=20 > ---John >=20 John, newlib (cygwin libc-like library) has not the complex type, however on cygwin complex numbers are supported by=20 the gcc/g++ compiler /usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/complex.h what are exactly your needs ? Marco -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |