diff options
author | Joshua Daniel Franklin <joshuadfranklin@yahoo.com> | 2004-01-11 08:32:09 +0000 |
---|---|---|
committer | Joshua Daniel Franklin <joshuadfranklin@yahoo.com> | 2004-01-11 08:32:09 +0000 |
commit | ac51da48181e56cb45ddd609b50a3549287bdc27 (patch) | |
tree | ba25960f641c689cc31dcc07971b3fbafbd35005 /winsup/doc/how-programming.texinfo | |
parent | 83498941ba56d4e3507ca39e5ade2790cd49b135 (diff) | |
download | cygnal-ac51da48181e56cb45ddd609b50a3549287bdc27.tar.gz cygnal-ac51da48181e56cb45ddd609b50a3549287bdc27.tar.bz2 cygnal-ac51da48181e56cb45ddd609b50a3549287bdc27.zip |
2004-01-11 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* Makefile.in: Add new target for single-file User's Guide, use new
cygwin.dsl for output.
* cygwin.dsl: New file, DSSSL stylesheet for custom Cygwin output.
* cygwin-api.in.sgml: Update to DocBook SGML 4.2 DTD.
* cygwin-ug-net.in.sgml: Update to DocBook SGML 4.2 DTD.
* cygwin-ug.in.sgml: Update to DocBook SGML 4.2 DTD.
* cygwinenv.sgml: Correct some tags. Add description of default values
to ntsec, export, and error_start items.
* dll.sgml: Add explanation of cyg prefix for DLLs.
* effectively.sgml: Use systemitem tag for names of Cygwin packages.
* how-programming.texinfo: Add example to FAQ entry.
* pathnames.sgml: Add discussion of /proc filesystem.
* setup-net.sgml: Correct some typos and grammar.
Diffstat (limited to 'winsup/doc/how-programming.texinfo')
-rw-r--r-- | winsup/doc/how-programming.texinfo | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/winsup/doc/how-programming.texinfo b/winsup/doc/how-programming.texinfo index d54ec3d4e..3ec161e75 100644 --- a/winsup/doc/how-programming.texinfo +++ b/winsup/doc/how-programming.texinfo @@ -576,6 +576,18 @@ Unix emulation environment and defining _WIN32 confuses some programs 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, for example + +@example + $ gcc -dM -E -xc /dev/null >gcc.txt + $ gcc -mno-cygwin -dM -E -xc /dev/null >gcc-mno-cygwin.txt + $ gcc -mwin32 -dM -E -xc /dev/null >gcc-mwin32.txt +@end example +Then use the diff and grep utilities to check +what the difference is. + @subsection How should I port my Unix GUI to Windows? There are two basic strategies for porting Unix GUIs to Windows. |