delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/04/21:23:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Mike Bresnahan" <mbresnah AT visi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: -mno-cygwin
Date: Tue, 4 Sep 2001 20:26:58 -0700
Message-ID: <EKEJKOHPOIIALFJMKEIGCEJKCGAA.mbresnah@visi.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <20010904205410.A11832@redhat.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Importance: Normal

> >-- begin --
> >/usr/local/src/no-cygwin-bug: make
> >gcc -c -I/usr/local/src/mingw32/gcc-2.95.2/include/g++-3
> -mno-cygwin main.cc
> >gcc -I/usr/local/src/mingw32/gcc-2.95.2/include/g++-3 -mno-cygwin
> >main.o
> -L/usr/local/src/mingw32/gcc-2.95.2/lib/gcc-lib/i386-mingw32msvc/2.95
> >.2 -lstdc++ -lm  -o main
>              ^^^
> Do not link with this.  A 'ls -l /usr/lib/libm.a' will probably
> show you why.

Thanks.  Ok so which math library do I use then?

Also I notice that the mingw32 math.h is missing asinf() and some others,
but perhaps that is a question for the mingw32 list.

> >Note that I have downloaded mingw32 and am pointing at its headers and
> >libraries, because cygwin is missing the ANSI C++ headers and libraries.
>
> I don't know what this means.  Cygwin comes with a complete set of headers
> and libraries and it also includes fairly recent mingw headers
> and libraries,
> with the exception of libstdc++.a.

Okay, I stand corrected.  It appears that the ANSI C++ headers are in
/usr/include/g++-3.  However I still need libstdc++.a, no?

Thanks for the help.

Mike


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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