From: nobu.nokada@... Date: 2004-12-23T10:21:27+09:00 Subject: Re: Ruby Cocoa (OS X) questions: deployment & interface builder Hi, At Thu, 23 Dec 2004 05:47:01 +0900, Mikkel Bruun wrote in [ruby-talk:124334]: > feisty:~ mb$ g++ -c -I /opt/local/lib/ruby/1.8/powerpc-darwin/ -x > objective-c++ -framework Cocoa boot.cpp > g++: -framework: linker input file unused because linking not done > g++: Cocoa: linker input file unused because linking not done Seems -framework option shouldn't be used to compile. > feisty:~ mb$ g++ -o boot -L/opt/local/lib/ruby/1.8/powerpc-darwin/ > -lruby-static -framework Cocoa boot.o > ld: Undefined symbols: > _ruby_init > _ruby_options > _ruby_run Try surrounding `#include "ruby.h"' line by `extern "C" {' and '}'. -- Nobu Nakada