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

Charlie Allom charlie at
Mon Apr 23 06:11:34 PDT 2012

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


More information about the notmuch mailing list