Compiling failed with this mysterious error message:
$ ./tclkit-8.5.11-macosx-universal critcl.kit -target macosx-x86_64 -pkg sha256c.tcl
cannot load gbutton
cannot load Wikit::Gui
Can anybody help?
Zbigniew
I had chosen the Tk-basekit version.
My new trial was:
$ ./base-tcl8.5-thread-macosx10.5-i386-x86_64 critcl.kit -I macosx-86_64 -lib sha256c.tcl
Source: sha256c.tcl
Library: sha256c.dylib
Alas:
$ file sha256c.dylib
sha256c.dylib: Mach-O dynamically linked shared library i386
So this is the way I should call critcl?
-- Steve
Sent from my iPhone
> --
> You received this message because you are subscribed to the "starkit" group.
> To post to this group, send email to sta...@googlegroups.com
> To unsubscribe from this group, send email to starkit-u...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/starkit?hl=en
Cross-compiling a 64bit extension on a 32bit MacOSX host worked finally with the critcl2.kit from the digitalsmarties' site. Fortunately Snow Leopard 10.6.2 has already all the necessary 64bit libraries:
$ ./base-tcl8.5-thread-macosx10.5-i386-x86_64 critcl2.kit -pkg -target macosx-ix86 sha256c.tcl
Target: macosx-ix86
Source: sha256c.tcl
Library: sha256c.dylib
Package: lib/sha256c
$ file lib/sha256c/macosx-ix86/sha256c.dylib
lib/sha256c/macosx-ix86/sha256c.dylib: Mach-O universal binary with 2 architectures
lib/sha256c/macosx-ix86/sha256c.dylib (for architecture i386): Mach-O bundle i386
lib/sha256c/macosx-ix86/sha256c.dylib (for architecture x86_64): Mach-O 64-bit bundle x86_64
Great work, this kit!
Sure, I will investigate the new critcl v3 ...