Re: Building tclkit on Snow Leopard
Rene Zaumseil <[email protected]> Fri, 16 Apr 2010 16:08:54 +0200
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <[email protected]> |
Am Friday 16 April 2010 11:45:50 schrieb David Zolli:
> After genkit and kitgen, I tried with kbs and it works but result is Mach-O
> executable i386.
>
> I didn't find any switch in kbs.tcl to set target to universal binary and
> it fails (Mk4tcl.a not defined for ppc) when i do this:
>
> export CFLAGS='-isysroot /Developer/SDKs/MacOSX10.4u.sdk
> -mmacosx-version-min=10.4 -arch i386 -arch ppc' export LDFLAGS='-arch i386
> -arch ppc'
>
> Once again, it works fine with Xcode 3.0 from Mac OS X 10.5 DVD.
Did you start with a new builddir after setting CFLAGS? May be Mk4tcl.a was
from a different build.
Also I do not know much about the mac world.
Is there a special flag when building tcl for mac?
If I run in the tcl/unix or tk/unix dir the following command:
./configure --help
I see at least the following candidates:
--enable-corefoundation use CoreFoundation API on MacOSX (default: on)
--enable-framework package shared libraries in MacOSX frameworks
(default: off)
Have you tries adding one or both of them to the Configure section in kbs.tcl.
If there is some meaning in them I can add the values as switches.
HTH
rene
--
You received this message because you are subscribed to the "starkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/starkit?hl=en