From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: CC, CFLAGS, and -m32 [was Re: Pretest compilation problem] Date: Fri, 18 Feb 2011 07:57:31 +0900 Message-ID: <87tyg2w9pg.fsf@catnip.gol.com> References: <878vxgjbyn.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297985259 22884 80.91.229.12 (17 Feb 2011 23:27:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Feb 2011 23:27:39 +0000 (UTC) Cc: Chong Yidong , Andreas Schwab , emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 18 00:27:33 2011 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.69) (envelope-from ) id 1PqDFm-0000zY-Kl for ged-emacs-devel@m.gmane.org; Fri, 18 Feb 2011 00:27:32 +0100 Original-Received: from localhost ([127.0.0.1]:47573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqCxW-0007b2-7p for ged-emacs-devel@m.gmane.org; Thu, 17 Feb 2011 18:08:26 -0500 Original-Received: from [140.186.70.92] (port=53277 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqCnR-0003UW-Bz for emacs-devel@gnu.org; Thu, 17 Feb 2011 17:58:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqCn2-0002MQ-Iz for emacs-devel@gnu.org; Thu, 17 Feb 2011 17:57:38 -0500 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:33941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqCn2-0002MG-7F; Thu, 17 Feb 2011 17:57:36 -0500 Original-Received: from 218.33.195.219.eo.eaccess.ne.jp ([218.33.195.219] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) (envelope-from ) id 1PqCmy-0005vW-6J; Fri, 18 Feb 2011 07:57:32 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 6139AE064; Fri, 18 Feb 2011 07:57:31 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: (Glenn Morris's message of "Wed, 16 Feb 2011 22:16:16 -0500") Original-Lines: 25 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 203.216.5.74 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:136154 Archived-At: Glenn Morris writes: >> You really should put -m32 into CC, since it is a different compiler. > > I've seen this advertized elsewhere, and it's off-topic for Emacs, but > can you explain this to me? > > Eg `info make' says: > > `CC' > Program for compiling C programs; default `cc'. > > "gcc -m32" is not a program. It is a program plus some switches. CC is just the first part of the command line invoked to compile things. The term "program" is used because it's easy for humans to understand, but the documentation is not a strict rule. Standard practice is to use that form (CC="compiler + options") for options that be should used consistently for all invocations of the compiler... CFLAGS, by comparison is a bit unreliable. -Miles -- Learning, n. The kind of ignorance distinguishing the studious.