From: Andrew Innes Date: Sat, 3 Feb 2001 18:26:12 +0000 (+0000) Subject: Add note about need to specify extra compiler flags X-Git-Tag: emacs-pretest-21.0.98~184 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9272ccfcb30c029f5f968548fd2133d6d056082d;p=emacs.git Add note about need to specify extra compiler flags with recent Cygwin ports of gcc. --- diff --git a/etc/PROBLEMS b/etc/PROBLEMS index e800be58ca1..56a67611982 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -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: