X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: mwoehlke <mwoehlke@tibco.com>
Subject:  Re: Where is complex.h
Date:  Mon, 24 Jul 2006 18:28:52 -0500
Lines: 34
Message-ID: <ea3l3k$hu0$1@sea.gmane.org>
References:  <20060724203648.74182.qmail@web56301.mail.re3.yahoo.com> <44C534F5.8070107@cygwin.com> <20060724211014.GB25632@trixie.casa.cgf.cx>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 1.5.0.4 (X11/20060516)
In-Reply-To: <20060724211014.GB25632@trixie.casa.cgf.cx>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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.

-- 
Matthew
Warning: This message has not been approved by the FDA.


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

