X-Spam-Check-By: sourceware.org
Message-ID: <fb34b27b0607271030g17c6a952i158d992af1afe260@mail.gmail.com>
Date: Thu, 27 Jul 2006 18:30:13 +0100
From: "Mark Fisher" <mark.j.fisher@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Where is complex.h
In-Reply-To: <20060725232227.19244.qmail@web56308.mail.re3.yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <44C560D6.7040905@cygwin.com> 	 <20060725232227.19244.qmail@web56308.mail.re3.yahoo.com>
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

On 7/26/06, TV JOE wrote:
>  Would any of you that replied be interested in assisting me
>  with compiling this program. It's a C program written for a Suse
>  Linux distribution. The author maintains the only problem
>  would be resolving the complex.h warnings.

just for completion on the mailing list and in case anyone else has a
similar issue with complex numbers, i found using the c9x-complex math
package was needed to compile
your program. i got the source from http://www.netlib.org/cephes/

you need to amend the makefile slightly by adding "stubs.o" to the
LIBMCFILES definition if you're not using the rest of cephes, i.e. change it to

LIBMCFILES = $(SFILES) $(DFILES) $(LFILES) stubs.o

run "make", ignore the errors for the apps that don't compile, and
then copy the libmc.a file into your libs path.
copy *.h to your include path

mark

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

