delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/14/14:32:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <002e01c4224e$b9e14c00$84150109@almaden.ibm.com>
From: "Hans Horn" <hannes AT 2horns DOT com>
To: "Chris Jefferson" <caj AT cs DOT york DOT ac DOT uk>
Cc: <cygwin AT cygwin DOT com>
References: <c5h37b$6fk$1 AT sea DOT gmane DOT org> <407C2244 DOT 1010509 AT cs DOT york DOT ac DOT uk>
Subject: Re: compilation with -mno-cygwin
Date: Wed, 14 Apr 2004 11:31:34 -0700
MIME-Version: 1.0

Hi Chris,

I have no used mingw per se for this.
I just happened to have a spare time slot when I was reading the posting
about the compiler performance comparison.
So I simply added -mno-cygwin to the compile flags used to compile my
sources (which btw, don't use anything cygwin specific - I think)
are tried to compile.

Right now I don't have more time than it took to write this - but I pick up
on the issue later.

Hans
----- Original Message ----- 
From: "Chris Jefferson" <caj AT cs DOT york DOT ac DOT uk>
To: "Hans Horn" <hannes AT 2horns DOT com>
Cc: <cygwin AT cygwin DOT com>
Sent: Tuesday, April 13, 2004 10:24 AM
Subject: Re: compilation with -mno-cygwin


> Hans Horn wrote:
>
> >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-inlin
e
>
> -W -Wno-deprecated -fomit-frame-pointer -ffast-math -mcpu=pentium4 -march=
p
> >entium4 -mfpmath=sse -O2 -I./ -o xyz.o xyz.cpp
> >
> >
> <snip>
>
> For a start, you shouldn't treat -mno-cygwin like linux (-DLINUX).
> -mno-cygwin turns g++ into a "pure" windows C++ compiler (hence the name
> of the flag).
>
> -mno-cygwin should end up with files identical(ish) to those obtained by
> mingw I think.. what compile line did you use for that?
>
> Chris
> --
> Badger, Badger, Badger, Badger, Badger, Badger, Badger, Badger...
> Mushroom! Mushroom!


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