This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: __CYGWIN__ ++ FAQ change? ( faq.txt DIFF )


This is a quickly scribbled update of the FAQ. Contents is bare essentials
as I see it. Please do relevant "PTC"-actions.

$ diff -up /usr/share/doc/cygwin-doc-1.3/txt/faq.txt \
/usr/share/doc/cygwin-doc-1.3/txt/faq.txt.new
--- /usr/share/doc/cygwin-doc-1.3/txt/faq.txt   2003-09-04
19:46:02.000000000 +0200
+++ /usr/share/doc/cygwin-doc-1.3/txt/faq.txt.new       2003-09-25
20:48:42.000000000 +0200
@@ -3401,6 +3401,17 @@ Unix emulation environment and defining
 which think that they have to make special concessions for a Windows
 environment which Cygwin handles automatically.

+Note that using -mno-cygwin replaces __CYGWIN__ with __MINGW32__ as to
+tell which compiler (or settings) you're running.
+Check this out in detail by running e.g.
+       $ gcc <option> -dM -E -xc /dev/null >gcc_<option>
+with each <option> and then use the diff utility to check what the
+difference is in the output.
+Relevant <option> keywords;
+ --mno-cygwin
+ --mwin32
+ nothing (i.e. remove <option> ).
+
 How should I port my Unix GUI to Windows?
 -----------------------------------------

-- end of diff, NOTE EMPTY LINE! --

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01, DST -> UTC+02  --
--END OF MESSAGE--


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]