Re: [MACTCL] ANN: Tcl-Tk-Aqua 8.4.14 "universal" installer for OS X
by Daniel A. Steffen other posts by this author
Apr 6 2007 5:35AM messages near this date
Re: [MACTCL] ANN: Tcl-Tk-Aqua 8.4.14 "universal" installer for OS X
|
[MACTCL] Services
Adrian,
On 06/04/2007, at 14:10, Adrian Robert wrote:
> This is great. I just went through making something like this
> myself, but I
> haven't finished yet because I want to also support Panther. I
> haven't
> tried this yet but do you think there's any problem with building
> twice,
> once with each of
>
> -mmacosx-version-min=10.4 -arch i386 -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk
> -prebind -mmacosx-version-min=10.3 -arch ppc -isysroot
> /Developer/SDKs/MacOSX10.3.9.sdk
>
> then combining the binaries manually with lipo?
there should be no need for doing two builds, or for using the 10.3
SDK (in fact using it will disable the use if 10.4-only APIs even
when the binary is running on 10.4, so I would recommend against it).
It should be sufficient to simply pass -mmacosx-version-min=10.3
(resp. 10.2) in a standard universal build on 10.4, the resulting
binary will work fine on Panther (resp. Jaguar); if you have the
ability to test on such a system and it does not, please file a bug...
if you build on an intel box, you don't even need the 10.4u SDK, i.e.
the following will give a 4-way universal Tcl and a 2-way universal
Tk that supports Jaguar:
CFLAGS='-mmacosx-version-min=10.2 -arch ppc -arch ppc64 -arch i386 -
arch x86_64'
Cheers,
Daniel
--
** Daniel A. Steffen Dept. of Mathematics **
** Macquarie University NSW 2109 Australia **
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tcl-mac mailing list
tcl-mac@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-mac
Thread:
Kevin Walzer
Will Duquette
Kevin Walzer
Adrian Robert
Adrian Robert
Kevin Walzer
Daniel A. Steffen
|