From: Kevin W. <kw...@co...> - 2008-09-17 16:33:16
|
Daniel A. Steffen wrote: > Hi Kevin, > > On 17/09/2008, at 17:17, Kevin Walzer wrote: > >> Leopard comes with a universal binary of libffi, so I tried to build >> Daniel Steffen's version 0.6 of ffidl (http://wiki.tcl.tk/1197). Running >> "make" returns an error, to the effect that "ffidl hasn't been ported" >> to Apple/Intel. I'm not sure how hard it would be to patch ffidl to >> build--has anyone done this successfully? I'd like to make use of >> Daniel's ffidl code that lets you change the dock icon of a running Mac >> application (see the wiki page for the sample)--I'd rather use that than >> try to rewrite it to build with critcl or as a TEA extension. > > > sources for universal ffidl on Leopard and later only are here: > http://www.categorifiedcoder.info/tcltk/ffidl/ffidl-0.6.1-darwin-9-univ.tar.gz > > this links against the system libffi.dylib and does not include libffi > sources. > Note that the 64bit libffi in Leopard is buggy and makes the ffidl > testsuite crash on x86_64 (and probably ppc64 also). > I have tried in the past to setup a built-in universal libffi for ffidl, > but got stalled because of the mess with 4 different forks of libffi out > there that are all subtly different and none of which (including the > libffi.dylib shipped with Leopard) passed the libffi testsuite > completely on all 4 architectures last time I tried... > > Cheers, > > Daniel > Daniel, Thank you! I've gotten it built Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com |