www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org> |
Subject: | Re: Complex.h file |
Date: | Sat, 19 Nov 2005 11:43:37 -0600 |
Lines: | 48 |
Message-ID: | <dlno89$puu$1@sea.gmane.org> |
References: | <20051119113646 DOT e162e782 DOT john AT jcoppens DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
In-Reply-To: | <20051119113646.e162e782.john@jcoppens.com> |
OpenPGP: | url=ldap://keyserver.pgp.com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Coppens wrote: [snip] > complex.h is not found. >=20 > A search in the cygwin tree reveals: >=20 > /usr/lib/i686-pc-mingw32/3.4.4/include/c++/backward/complex.h > /usr/lib/i686-pc-cygwin/3.4.4/include/c++/backward/complex.h > /usr/include/mingw/complex.h Easy way out: add the -mno-cygwin parameter to CFLAGS. That means "use min= gw headers and libraries" to produce a windows only executable (no cygwin dll dependencies); this will work if the package you are compiling doesn't depe= nd on libraries not supplied by mingw. > But, as I use gcc, and normal c (not c++), I suspect none of these are > seen. On my Linux machine, all compiles well (same gcc version). >=20 > The compiler complains about the missing complex.h and about the complex > type in a file, even though I read gcc has complex C-99 support built-in > since 3.4.1 [snip] I'm not sure about the standard, but complex is defined in libstdc++ wich i= s c++ not c, and I don't have it in gcc 3.4.4 only on 4.0.2 (not distributed with Cygwin yet). HTH - -- Ren=E9 Berber -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iEYEARECAAYFAkN/ZEkACgkQL3NNweKTRgzTxgCfey5vL7UQT+P4UbbWDZvOXbvQ goQAoP4+jnaFomRuiqyWvPfpm0HXs6Ox =3Du521 -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |