From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Davis Herring Newsgroups: gmane.emacs.devel Subject: Re: Can't compile Date: Wed, 10 Aug 2011 16:44:40 -0600 Organization: XCP-1 Message-ID: <4E4309D8.4050502@lanl.gov> References: <1312932079.5495.5.camel@german-desktop> <4E428E4B.9050105@lanl.gov> <1313015823.5502.5.camel@german-desktop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1313016293 18449 80.91.229.12 (10 Aug 2011 22:44:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 10 Aug 2011 22:44:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?UTF-8?B?R2VybcOhbiBBcmlhcw==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 11 00:44:49 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QrHW5-0008TX-5s for ged-emacs-devel@m.gmane.org; Thu, 11 Aug 2011 00:44:49 +0200 Original-Received: from localhost ([::1]:39827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrHW4-0007mH-KE for ged-emacs-devel@m.gmane.org; Wed, 10 Aug 2011 18:44:48 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrHW1-0007m1-QV for emacs-devel@gnu.org; Wed, 10 Aug 2011 18:44:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QrHW0-0001Ug-PU for emacs-devel@gnu.org; Wed, 10 Aug 2011 18:44:45 -0400 Original-Received: from proofpoint4.lanl.gov ([204.121.3.52]:54865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrHW0-0001UT-Ds for emacs-devel@gnu.org; Wed, 10 Aug 2011 18:44:44 -0400 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by proofpoint4.lanl.gov (8.14.3/8.14.3) with ESMTP id p7AMig9j008634; Wed, 10 Aug 2011 16:44:42 -0600 Original-Received: from x-mail.lanl.gov (x-mail.lanl.gov [128.165.4.125]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 67CE415D9E26; Wed, 10 Aug 2011 16:44:41 -0600 (MDT) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by x-mail.lanl.gov (Postfix) with ESMTP id 65BAF1DC808B; Wed, 10 Aug 2011 16:44:41 -0600 (MDT) X-NIE-2-Virus-Scanner: amavisd-new at x-mail.lanl.gov Original-Received: from [128.165.123.182] (xray-r03.lanl.gov [128.165.123.182]) by x-mail.lanl.gov (Postfix) with ESMTP id 53FF11DC8087; Wed, 10 Aug 2011 16:44:41 -0600 (MDT) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110310 Lanikai/3.1.9 In-Reply-To: <1313015823.5502.5.camel@german-desktop> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813, 1.0.211, 0.0.0000 definitions=2011-08-10_10:2011-08-10, 2011-08-10, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 204.121.3.52 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143132 Archived-At: > -tmp_CPPFLAGS="$CPPFLAGS" > -tmp_CFLAGS="$CFLAGS" > CPPFLAGS="$CPPFLAGS -x objective-c" > CFLAGS="$CFLAGS -x objective-c" By keeping the "-x objective-c" you're telling the compiler that all subsequent files are Objective C files, including ../lib/libgnu.a. You'll have to find some way to restrict those flags to only the actual source files, perhaps by countermanding them with "-x none" later. Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.