delorie.com/archives/browse.cgi | search |
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 |
From: | "Dave Korn" <dk AT artimi DOT com> |
To: | "'Hans Horn'" <hannes AT 2horns DOT com>, <cygwin AT cygwin DOT com> |
Subject: | RE: compilation with -mno-cygwin |
Date: | Tue, 13 Apr 2004 17:15:10 +0100 |
MIME-Version: | 1.0 |
In-Reply-To: | <c5h37b$6fk$1@sea.gmane.org> |
Message-ID: | <NUTMEGgUYiXvMnIOyIR00000442@NUTMEG.CAM.ARTIMI.COM> |
X-OriginalArrivalTime: | 13 Apr 2004 16:15:10.0593 (UTC) FILETIME=[7E863710:01C42172] |
> -----Original Message----- > From: cygwin-owner On Behalf Of Hans Horn > Sent: 13 April 2004 17:07 > > Has anybody got a clue what's going on? > > H. Nope, but you'd get a better idea if you try running g++ -E -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.no-cyg.i xyz.cpp -v g++ -E -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.cyg.i xyz.cpp -v at the command line. Then you'll be able to look through the preprocessed source files, and get a clearer idea why all those symbols are defined in the cygwin environment but not the mingw environment; you'll see exactly what files are including which ones in what order from the #line directives; and the output from the command lines (because of the '-v') will show you the different search paths etc. that are passed to the compiler in the two cases. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |