Skip to content

Instantly share code, notes, and snippets.

@dustym
Created September 4, 2009 16:34
Show Gist options
  • Save dustym/180980 to your computer and use it in GitHub Desktop.
Save dustym/180980 to your computer and use it in GitHub Desktop.
trapper:ext dusty$ make
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_RUBY_H -DHAVE_ASPELL_H -I/opt/local/include -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -c raspell.c
cc -arch ppc -arch i386 -pipe -bundle -undefined dynamic_lookup -o raspell.bundle raspell.o -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L/opt/local/lib -L. -arch ppc -arch i386 -lruby -laspell -lpthread -ldl -lm
ld warning: in /opt/local/lib/libaspell.dylib, file is not of required architecture
trapper:ext dusty$ which ruby
/usr/bin/ruby
trapper:ext dusty$ ruby
Makefile extconf.rb mkmf.log raspell.bundle raspell.c raspell.h raspell.o
trapper:ext dusty$ irb
irb(main):001:0> require 'raspell'
=> true
irb(main):002:0> ^Dtrapper:ext dusty$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment