From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel Subject: Tiny Cygwin patch Date: Sat, 23 Jan 2010 18:03:26 -0500 Message-ID: <4B5B803E.6060908@cornell.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1264287821 23168 80.91.229.12 (23 Jan 2010 23:03:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Jan 2010 23:03:41 +0000 (UTC) To: Emacs Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 24 00:03:34 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NYp0v-0005a9-LM for ged-emacs-devel@m.gmane.org; Sun, 24 Jan 2010 00:03:33 +0100 Original-Received: from localhost ([127.0.0.1]:42114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NYp0w-0002dS-Fk for ged-emacs-devel@m.gmane.org; Sat, 23 Jan 2010 18:03:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NYp0q-0002aG-ND for emacs-devel@gnu.org; Sat, 23 Jan 2010 18:03:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NYp0m-0002Ut-3W for emacs-devel@gnu.org; Sat, 23 Jan 2010 18:03:28 -0500 Original-Received: from [199.232.76.173] (port=46523 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NYp0l-0002Uh-Qb for emacs-devel@gnu.org; Sat, 23 Jan 2010 18:03:23 -0500 Original-Received: from granite1.mail.cornell.edu ([128.253.83.141]:51187 helo=authusersmtp.mail.cornell.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NYp0l-00082u-9f for emacs-devel@gnu.org; Sat, 23 Jan 2010 18:03:23 -0500 Original-Received: from [128.84.234.191] (markov.math.cornell.edu [128.84.234.191]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.13.1/8.12.10) with ESMTP id o0NN3HBk021994 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 23 Jan 2010 18:03:17 -0500 (EST) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:120315 Archived-At: I sent a tiny patch a while ago (libs.patch, attached to http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00493.html) that may have gotten lost because it was part of a bigger discussion. Here it is again, with a trivial change in the wording of a comment: --- src/s/cygwin.h 2009-12-09 01:06:32 +0000 +++ src/s/cygwin.h 2009-12-10 16:05:31 +0000 @@ -132,6 +132,14 @@ returns ENOSYS. A workaround is to set G_SLICE=always-malloc. */ #define G_SLICE_ALWAYS_MALLOC +/* Don't link against static libgcc */ +#define LIB_GCC + +/* Don't list system libs on link command line */ +#define LIB_STANDARD +#define LIB_MATH +#define LIBS_DEBUG + /* the end */ /* arch-tag: 5ae7ba00-83b0-4ab3-806a-3e845779191b Can someone apply it before the next pretest? Thanks. Ken