From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: CHENG Gao Newsgroups: gmane.emacs.devel Subject: Re: Emacs 22 Carbon+AppKit port and Emacs 23 Mac port Date: Tue, 08 Sep 2009 18:38:03 +0800 Organization: cyberhut.org Message-ID: References: <2282B3B4-D844-4E26-BB94-9F79EEA2E847@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1252406686 11270 80.91.229.12 (8 Sep 2009 10:44:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Sep 2009 10:44:46 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 08 12:44:38 2009 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 1MkyBZ-0000sK-Cb for ged-emacs-devel@m.gmane.org; Tue, 08 Sep 2009 12:44:30 +0200 Original-Received: from localhost ([127.0.0.1]:41541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkyBW-0008Ki-Of for ged-emacs-devel@m.gmane.org; Tue, 08 Sep 2009 06:44:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MkyBP-0008Iy-0t for emacs-devel@gnu.org; Tue, 08 Sep 2009 06:44:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MkyBK-0008GU-9M for emacs-devel@gnu.org; Tue, 08 Sep 2009 06:44:18 -0400 Original-Received: from [199.232.76.173] (port=58160 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkyBK-0008G9-44 for emacs-devel@gnu.org; Tue, 08 Sep 2009 06:44:14 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:51797) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MkyBJ-0005Nx-F2 for emacs-devel@gnu.org; Tue, 08 Sep 2009 06:44:13 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MkyBF-0000li-KV for emacs-devel@gnu.org; Tue, 08 Sep 2009 12:44:09 +0200 Original-Received: from 121.229.211.66 ([121.229.211.66]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Sep 2009 12:44:09 +0200 Original-Received: from chenggao by 121.229.211.66 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Sep 2009 12:44:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 121.229.211.66 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) Cancel-Lock: sha1:xY92zwQt5h6Hp6ZgWP1CC3zrmhc= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:115127 Archived-At: Out of curiosity, I tried to build Mac port (1.92) with clang, and found it works well, while building 32bit ns port fails. I compared building with gcc (4.2) and clang (on Snow Leopard), the result is below: 1. With gcc 4.2 $time ./configure --with-mac real 0m38.490s user 0m8.163s sys 0m10.563s $time make -j3 real 2m21.291s user 2m26.661s sys 0m17.704s 2. With clang $time CC='clang' ./configure --with-mac real 0m20.890s user 0m5.425s sys 0m10.277s $time make -j3 real 1m9.632s user 1m33.100s sys 0m13.372s Seems clang is much faster than gcc.