From: Duane Johnson Date: 2005-11-16T00:21:34+09:00 Subject: Re: Has anyone written an extconf.rb that depends on a Mac OS Framework? Thanks for your reply, Nobu Nakada. The file you mention is only four lines long: require 'mkmf' $preload = ["tcltklib"] ($INSTALLFILES||=[]) << ["lib/tkextlib/SUPPORT_STATUS", "$ (RUBYLIBDIR)", "lib"] create_makefile("tkutil") I don't see how it's compiling using a Framework... ? Duane Johnson On Nov 15, 2005, at 2:49 AM, nobuyoshi nakada wrote: > Hi, > > At Tue, 15 Nov 2005 15:31:45 +0900, > Duane Johnson wrote in [ruby-talk:165831]: >> So, has anyone built an extconf.rb file that depends on a Mac OS >> Framework that I might investigate? If not, how can I get extconf.rb >> to compile files like this, according to the SDL's Mac OS README: >> >> "gcc -I/Library/Frameworks/SDL.framework/Headers MyProgram.c >> SDLmain.m -framework SDL -framework Cocoa" > > See ext/tk/extconf.rb. > > -- > Nobu Nakada >