Re: ruby bindings on OS X are broken? (was Re: [ANN] New awesome vim plug-in using Ruby bindings)

Subject: Re: ruby bindings on OS X are broken? (was Re: [ANN] New awesome vim plug-in using Ruby bindings)

Date: Mon, 23 Apr 2012 14:11:34 +0100

To: Felipe Contreras

Cc: Ali Polatel, notmuch@notmuchmail.org

From: Charlie Allom


On Mon, Apr 23, 2012 at 03:48:40PM +0300, Felipe Contreras <felipe.contreras@gmail.com> wrote:
> On Mon, Apr 23, 2012 at 12:39 PM, Charlie Allom <charlie@mediasp.com> 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/

Thread: