From: daneyul <da...@co...> - 2011-09-30 17:19:08
|
Hi, Having trouble creating a Universal Binary embedded build. I've tried on multiple Macs w/multiple versions of OSX (Leopard, Snow Leopard). While it builds with no errors on Leopard, I get either an intel binary, or a ppc one, depending on my system. Below is an example of my environment on an intel OSX 10.5.8 (intel) computer that stubbornly only will create an Intel Wish binary. Specs: tcl/tk 8.5.9 Xcode 3.0 OSX 10.5.8 Intel Core 2 Duo sh-3.2# pwd /Users/danielb/desktop/tcl sh-3.2# ls tcl8.5.9 tk8.5.9 sh-3.2# ver="8.5.9" sh-3.2# export CFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/ MacOSX10.4u.sdk -mmacosx-version-min=10.4" sh-3.2# sudo make -C tcl${ver}/macosx embedded sh-3.2# sudo make -C tk${ver}/macosx embedded Running up against a bit of a deadline in getting a viable stand-alone build that will operate on PPC and Intel environments. If anyone has any ideas as to what I'm doing wrong--any suggestions at all--I would greatly appreciate it! Thanks! -Daniel B -- View this message in context: http://old.nabble.com/Universal-Binary%2C-Embedded-8.5.9-Wish-possible--tp32570439p32570439.html Sent from the tcl-mac mailing list archive at Nabble.com. |
From: Gerald W. L. <Ger...@Kn...> - 2011-09-30 17:42:02
|
Why not either use ActiveState's basekit or tclkit from http://comments.gmane.org/gmane.comp.lang.tcl.starkit/3161 On 9/30/11 12:19 PM, daneyul wrote: > Hi, > > Having trouble creating a Universal Binary embedded build. I've tried on > multiple Macs w/multiple versions of OSX (Leopard, Snow Leopard). > While it builds with no errors on Leopard, I get either an intel binary, or > a ppc one, depending on my system. > > Below is an example of my environment on an intel OSX 10.5.8 (intel) > computer that stubbornly only will create an Intel Wish binary. > > Specs: > tcl/tk 8.5.9 > Xcode 3.0 > OSX 10.5.8 > Intel Core 2 Duo > > > sh-3.2# pwd > /Users/danielb/desktop/tcl > > sh-3.2# ls > tcl8.5.9 tk8.5.9 > > sh-3.2# ver="8.5.9" > > sh-3.2# export CFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/ > MacOSX10.4u.sdk -mmacosx-version-min=10.4" > > sh-3.2# sudo make -C tcl${ver}/macosx embedded > > sh-3.2# sudo make -C tk${ver}/macosx embedded > > > > Running up against a bit of a deadline in getting a viable stand-alone build > that will operate on PPC and Intel environments. If anyone has any ideas as > to what I'm doing wrong--any suggestions at all--I would greatly appreciate > it! > > Thanks! > > -Daniel B > -- +------------------------------------------------------------------------+ | Gerald W. Lester, President, KNG Consulting LLC | | Cell: +1.504.236.6657 | Email: Ger...@kn... | +------------------------------------------------------------------------+ |
From: daneyul <da...@co...> - 2011-09-30 18:54:39
|
Adrian R. kindly emailed me to point out the issue was my use of sudo causing the flags not to be seen. Doh--should have caught that myself! Now I have a nicely working Universal Binary Wish. BTW, I looked into using starkits in the past, but compared to dropping scripts (AppMain) and support files into a stand-alone Wish they added complexity (albeit perhaps not huge) to set up and structure without any advantages I could readily see.... but I may be missing some benefit. I may finally make the jump in the future, but now that I have stand-alone Wish 8.5.9 that will work on the OSX platforms I need, there's just not a compelling reason right now. Thanks! -Daniel B. Gerald W. Lester-4 wrote: > > Why not either use ActiveState's basekit or tclkit from > http://comments.gmane.org/gmane.comp.lang.tcl.starkit/3161 > > On 9/30/11 12:19 PM, daneyul wrote: >> Hi, >> >> Having trouble creating a Universal Binary embedded build. I've tried on >> multiple Macs w/multiple versions of OSX (Leopard, Snow Leopard). >> While it builds with no errors on Leopard, I get either an intel binary, >> or >> a ppc one, depending on my system. >> >> Below is an example of my environment on an intel OSX 10.5.8 (intel) >> computer that stubbornly only will create an Intel Wish binary. >> >> Specs: >> tcl/tk 8.5.9 >> Xcode 3.0 >> OSX 10.5.8 >> Intel Core 2 Duo >> >> >> sh-3.2# pwd >> /Users/danielb/desktop/tcl >> >> sh-3.2# ls >> tcl8.5.9 tk8.5.9 >> >> sh-3.2# ver="8.5.9" >> >> sh-3.2# export CFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/ >> MacOSX10.4u.sdk -mmacosx-version-min=10.4" >> >> sh-3.2# sudo make -C tcl${ver}/macosx embedded >> >> sh-3.2# sudo make -C tk${ver}/macosx embedded >> >> >> >> Running up against a bit of a deadline in getting a viable stand-alone >> build >> that will operate on PPC and Intel environments. If anyone has any ideas >> as >> to what I'm doing wrong--any suggestions at all--I would greatly >> appreciate >> it! >> >> Thanks! >> >> -Daniel B >> > > > -- > +------------------------------------------------------------------------+ > | Gerald W. Lester, President, KNG Consulting LLC | > | Cell: +1.504.236.6657 | Email: Ger...@kn... | > +------------------------------------------------------------------------+ > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > Tcl-mac mailing list > tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac > > -- View this message in context: http://old.nabble.com/Universal-Binary%2C-Embedded-8.5.9-Wish-possible--tp32570439p32570997.html Sent from the tcl-mac mailing list archive at Nabble.com. |