From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: link error on darwin with static ncurses Date: Sat, 05 Nov 2005 14:08:26 +0200 Message-ID: References: <20051105000652.GA22702@orion.local> <20051105110242.GA1581@pcpvg.unime.it> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1131192578 30651 80.91.229.2 (5 Nov 2005 12:09:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Nov 2005 12:09:38 +0000 (UTC) Cc: mituharu@math.s.chiba-u.ac.jp, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 05 13:09:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EYMqa-00052l-8V for ged-emacs-devel@m.gmane.org; Sat, 05 Nov 2005 13:08:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EYMqZ-0007ln-Ls for ged-emacs-devel@m.gmane.org; Sat, 05 Nov 2005 07:08:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EYMqP-0007lh-Ka for emacs-devel@gnu.org; Sat, 05 Nov 2005 07:08:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EYMqO-0007lV-1y for emacs-devel@gnu.org; Sat, 05 Nov 2005 07:08:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EYMqN-0007lS-TW for emacs-devel@gnu.org; Sat, 05 Nov 2005 07:08:23 -0500 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EYMqN-00083H-NH for emacs-devel@gnu.org; Sat, 05 Nov 2005 07:08:23 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-247-173.inter.net.il [84.228.247.173]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id CWZ88647 (AUTH halo1); Sat, 5 Nov 2005 14:08:20 +0200 (IST) Original-To: Emanuele Giaquinta In-reply-to: <20051105110242.GA1581@pcpvg.unime.it> (message from Emanuele Giaquinta on Sat, 5 Nov 2005 12:02:42 +0100) 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:45449 Archived-At: > Date: Sat, 5 Nov 2005 12:02:42 +0100 > From: Emanuele Giaquinta > Cc: mituharu@math.s.chiba-u.ac.jp, emacs-devel@gnu.org > > > It is needed on other systems. > > The question is if it is needed on darwin I don't know. If you can build Emacs without it, the answer is probably no. > > Why do you link with -fno-common, anyway? Can you do without it? > > I am not doing anything; look at line 266 in src/s/darwin.h; configure > sets CPPFLAGS to the value of C_SWITCH_SYSTEM, which includes -fno-common. Sorry, I'm not familiar with the Darwin configuration. Someone who is should tell why -fno-common is required on that platform.