From 9272ccfcb30c029f5f968548fd2133d6d056082d Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Sat, 3 Feb 2001 18:26:12 +0000 Subject: [PATCH] Add note about need to specify extra compiler flags with recent Cygwin ports of gcc. --- etc/PROBLEMS | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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: -- 2.39.2