# HG changeset patch # User Andrew Innes # Date 981224772 0 # Node ID 1dd3524845ae51b76d8aff5ef8399dc590939e0d # Parent e3bd30e28be6525ede4d10ad0c8a1c6587278280 Add note about need to specify extra compiler flags with recent Cygwin ports of gcc. diff -r e3bd30e28be6 -r 1dd3524845ae etc/PROBLEMS --- a/etc/PROBLEMS Sat Feb 03 18:24:14 2001 +0000 +++ b/etc/PROBLEMS Sat Feb 03 18:26:12 2001 +0000 @@ -16,7 +16,16 @@ 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: