Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 83854431FAF for ; Mon, 23 Apr 2012 06:11:37 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PdVQoYIzQ1tY for ; Mon, 23 Apr 2012 06:11:36 -0700 (PDT) Received: from mail.playlouder.com (mail.playlouder.com [94.228.66.7]) by olra.theworths.org (Postfix) with ESMTP id 86A71431FAE for ; Mon, 23 Apr 2012 06:11:36 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.playlouder.com (Postfix) with ESMTP id B676752007; Mon, 23 Apr 2012 14:11:35 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at mail.playlouder.com Received: from mail.playlouder.com ([127.0.0.1]) by localhost (mail.playlouder.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W5KHjopwTSJ1; Mon, 23 Apr 2012 13:11:35 +0000 (UTC) Received: from spodder.com (capslock.playlouder.com [94.228.68.132]) by mail.playlouder.com (Postfix) with ESMTPSA id 4903252003; Mon, 23 Apr 2012 14:11:35 +0100 (BST) Date: Mon, 23 Apr 2012 14:11:34 +0100 From: Charlie Allom To: Felipe Contreras Subject: Re: ruby bindings on OS X are broken? (was Re: [ANN] New awesome vim plug-in using Ruby bindings) Message-ID: <20120423131134.GG11777@spodder.com> References: <20120423093933.GQ954@spodder.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Ali Polatel , notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2012 13:11:37 -0000 On Mon, Apr 23, 2012 at 03:48:40PM +0300, Felipe Contreras wrote: > On Mon, Apr 23, 2012 at 12:39 PM, Charlie Allom wrote: > > > /opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c database.c > > Where is the output file defined? There should be a -o database.o there. Weird. it seems to be implicit: 14:03 capslock:notmuch/bindings/ruby% file database.o database.o: Mach-O 64-bit object x86_64 the -o is only needed when linking notmuch.bundle C. -- +442077294797 http://mediasp.com/