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 12:21:09 +0200 Message-ID: References: <20051105000652.GA22702@orion.local> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1131187006 18299 80.91.229.2 (5 Nov 2005 10:36:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Nov 2005 10:36:46 +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 11:36:44 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EYLPA-0000VO-DT for ged-emacs-devel@m.gmane.org; Sat, 05 Nov 2005 11:36:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EYLP9-0001jV-Ix for ged-emacs-devel@m.gmane.org; Sat, 05 Nov 2005 05:36:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EYLAq-0006KF-Nv for emacs-devel@gnu.org; Sat, 05 Nov 2005 05:21:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EYLAl-0006Js-Td for emacs-devel@gnu.org; Sat, 05 Nov 2005 05:21:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EYLAh-0006Jg-4j for emacs-devel@gnu.org; Sat, 05 Nov 2005 05:21:15 -0500 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EYLAh-0001Tz-0U for emacs-devel@gnu.org; Sat, 05 Nov 2005 05:21:15 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-68-243.inter.net.il [80.230.68.243]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id CWZ71076 (AUTH halo1); Sat, 5 Nov 2005 12:21:03 +0200 (IST) Original-To: Emanuele Giaquinta In-reply-to: <20051105000652.GA22702@orion.local> (message from Emanuele Giaquinta on Sat, 5 Nov 2005 01:06:52 +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:45439 Archived-At: > Date: Sat, 5 Nov 2005 01:06:52 +0100 > From: Emanuele Giaquinta > Cc: emacs-devel@gnu.org > > The presence of "-fno-common" in C_SWITCH_SYSTEM in darwin.h prevents > linking against a static ncurses cause the symbols UP, BC and PC will be > defined also in the __DATA segment of terminfo.o; why is it needed? It is needed on other systems. Why do you link with -fno-common, anyway? Can you do without it?