delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/24/19:38:18

X-Spam-Check-By: sourceware.org
Date: Mon, 24 Jul 2006 19:38:06 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: mwoehlke <mwoehlke AT tibco DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Where is complex.h
In-Reply-To: <ea3l3k$hu0$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.63.0607241936510.17655@access1.cims.nyu.edu>
References: <20060724203648 DOT 74182 DOT qmail AT web56301 DOT mail DOT re3 DOT yahoo DOT com> <44C534F5 DOT 8070107 AT cygwin DOT com> <20060724211014 DOT GB25632 AT trixie DOT casa DOT cgf DOT cx> <ea3l3k$hu0$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0
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

On Mon, 24 Jul 2006, mwoehlke wrote:

> Christopher Faylor wrote:
> > On Mon, Jul 24, 2006 at 05:00:37PM -0400, Larry Hall (Cygwin) wrote:
> > > TV JOE wrote:
> > > > I've a C program referencing complex.h.  But make can't find it and the
> > > > only copy I see is in /usr/include/mingw which I don't think is the
> > > > right version.  Advice welcomed.
> > > Try:
> > > <http://cygwin.com/cgi-bin2/package-grep.cgi?grep=complex.h>
> > >
> > > That will tell you what packages have complex.h in them.  I expect you
> > > can reasonably narrow down from there the package you need and how to
> > > get at the file you want.
> >
> > I don't think that there is any cygwin package which provides a usable
                                                                    ^^^^^^
> > complex.h is there?  I don't see one from the above list and, if one was
> > going to exist, it should come from newlib -- which doesn't seem to be
> > the case.
>
> I did find these:
> (cygwin-1.5.21-1)
> cygwin-1.5.21-1/newlib/libc/sys/linux/include/complex.h
> (gcc-g++-3.4.4-2)
> usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/backward/complex.h
> usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/complex
>
> Now that I noticed the third one, the second one makes sense; it is
> probably a wrapper complaining that you should '#include <complex>'.
> However those are C++ headers, not C headers.
>
> The first one does have "newlib" in the path, for whatever that's worth.

It also has "sys/linux" in the path, which would explain why it's not
installed as part of Cygwin.  Note the underlined word above.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019