Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: "Hans Horn" Subject: compilation with -mno-cygwin Date: Tue, 13 Apr 2004 09:07:00 -0700 Lines: 99 Message-ID: X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: p1.almaden.ibm.com X-Newsreader: Microsoft Outlook Express 6.00.2800.1209 I light of the recent gcc performance comparison, I tried to compile a number crunching application (for which I have noticed a significant performance degradation of a factor 2-3 since the days of gcc2.9.x) using the -mno-cygwin flag. I get a shitload of crap like the following : g++ -c -mno-cygwin -ansi -DGCC3X -DLINUX -DINLINE=inline -fno-default-inline -W -Wno-deprecated -fomit-frame-pointer -ffast-math -mcpu=pentium4 -march=p entium4 -mfpmath=sse -O2 -I./ -o xyz.o xyz.cpp In file included from /usr/include/c++/3.3.1/bits/locale_facets.tcc:41, from /usr/include/c++/3.3.1/locale:47, from /usr/include/c++/3.3.1/bits/ostream.tcc:37, from /usr/include/c++/3.3.1/ostream:535, from /usr/include/c++/3.3.1/iostream:45, from /usr/include/c++/3.3.1/backward/iostream.h:32, from /usr/include/c++/3.3.1/backward/stream.h:32, from xyz.cpp:5: /usr/include/c++/3.3.1/cmath:107: error: `acosf' not declared /usr/include/c++/3.3.1/cmath:110: error: `asinf' not declared /usr/include/c++/3.3.1/cmath:113: error: `atanf' not declared /usr/include/c++/3.3.1/cmath:116: error: `atan2f' not declared /usr/include/c++/3.3.1/cmath:119: error: `ceilf' not declared /usr/include/c++/3.3.1/cmath:122: error: `coshf' not declared /usr/include/c++/3.3.1/cmath:125: error: `expf' not declared /usr/include/c++/3.3.1/cmath:128: error: `floorf' not declared /usr/include/c++/3.3.1/cmath:131: error: `fmodf' not declared /usr/include/c++/3.3.1/cmath:134: error: `frexpf' not declared /usr/include/c++/3.3.1/cmath:137: error: `ldexpf' not declared /usr/include/c++/3.3.1/cmath:140: error: `logf' not declared /usr/include/c++/3.3.1/cmath:143: error: `log10f' not declared /usr/include/c++/3.3.1/cmath:146: error: `modff' not declared /usr/include/c++/3.3.1/cmath:149: error: `powf' not declared /usr/include/c++/3.3.1/cmath:152: error: `sinhf' not declared /usr/include/c++/3.3.1/cmath:155: error: `tanf' not declared /usr/include/c++/3.3.1/cmath:158: error: `tanhf' not declared /usr/include/c++/3.3.1/cmath: In function `float std::acos(float)': /usr/include/c++/3.3.1/cmath:184: error: `acosf' undeclared in namespace ` __gnu_cxx::__c99_binding' /usr/include/c++/3.3.1/cmath: In function `long double std::acos(long double)': /usr/include/c++/3.3.1/cmath:194: error: `::acosl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `float std::asin(float)': /usr/include/c++/3.3.1/cmath:204: error: `asinf' undeclared in namespace ` __gnu_cxx::__c99_binding' /usr/include/c++/3.3.1/cmath: In function `long double std::asin(long double)': /usr/include/c++/3.3.1/cmath:212: error: `::asinl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `float std::atan(float)': /usr/include/c++/3.3.1/cmath:222: error: `atanf' undeclared in namespace ` __gnu_cxx::__c99_binding' /usr/include/c++/3.3.1/cmath: In function `long double std::atan(long double)': /usr/include/c++/3.3.1/cmath:230: error: `::atanl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `float std::atan2(float, float)': /usr/include/c++/3.3.1/cmath:240: error: `atan2f' undeclared in namespace ` __gnu_cxx::__c99_binding' /usr/include/c++/3.3.1/cmath: In function `long double std::atan2(long double, long double)': /usr/include/c++/3.3.1/cmath:249: error: `::atan2l' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `float std::ceil(float)': /usr/include/c++/3.3.1/cmath:260: error: `ceilf' undeclared in namespace ` __gnu_cxx::__c99_binding' /usr/include/c++/3.3.1/cmath: In function `long double std::ceil(long double)': /usr/include/c++/3.3.1/cmath:268: error: `::ceill' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `float std::cosh(float)': /usr/include/c++/3.3.1/cmath:288: error: `coshf' undeclared in namespace ` __gnu_cxx::__c99_binding' /usr/include/c++/3.3.1/cmath: In function `long double std::cosh(long double)': /usr/include/c++/3.3.1/cmath:296: error: `::coshl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `float std::exp(float)': /usr/include/c++/3.3.1/cmath:306: error: `expf' undeclared in namespace ` __gnu_cxx::__c99_binding' /usr/include/c++/3.3.1/cmath: In function `long double std::exp(long double)': /usr/include/c++/3.3.1/cmath:314: error: `::expl' undeclared (first use here) /usr/include/c++/3.3.1/cmath: In function `float std::floor(float)': /usr/include/c++/3.3.1/cmath:334: error: `floorf' undeclared in namespace ` __gnu_cxx::__c99_binding' /usr/include/c++/3.3.1/cmath: In function `long double std::floor(long double) . . . Has anybody got a clue what's going on? H. -- 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/