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.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user