compilation with -mno-cygwin
Dave Korn
dk@artimi.com
Tue Apr 13 16:16:00 GMT 2004
> -----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/
More information about the Cygwin
mailing list