]> git.eshelyaron.com Git - emacs.git/commitdiff
Add note about need to specify extra compiler flags
authorAndrew Innes <andrewi@gnu.org>
Sat, 3 Feb 2001 18:26:12 +0000 (18:26 +0000)
committerAndrew Innes <andrewi@gnu.org>
Sat, 3 Feb 2001 18:26:12 +0000 (18:26 +0000)
with recent Cygwin ports of gcc.

etc/PROBLEMS

index e800be58ca187c0ef99bc8cf67ee6a0d44d0d857..56a6761198235cea583c34b697cbaa7695be57a3 100644 (file)
@@ -16,7 +16,16 @@ automatically with Emacs 21 and later.)
 Note that this problem does not pertain to the MS-Windows port of
 Emacs, since it doesn't use the preprocessor to generate Makefile's.
 
-* Building the Windows port with Leim fails in the `leim' directory.
+* Building the MS-Windows port with Cygwin GCC can fail.
+
+Emacs may not build using recent Cygwin builds of GCC, such as Cygwin
+version 1.1.8, using the default configure settings.  It appears to be
+necessary to specify the -mwin32 flag when compiling, and define
+__MSVCRT__, like so:
+
+  configure --with-gcc --cflags -mwin32 --cflags -D__MSVCRT__
+
+* Building the MS-Windows port with Leim fails in the `leim' directory.
 
 The error message might be something like this: