Heya,

I didn't realize you could have 3 architectures in one binary!! That makes things easier!! If you want me to build the 10.3.9 versions, I can do that later on. I'm on holiday atm, so I've got some time on my hands :-)

- Tom


On 25 Jun 2006, at 17:20, Jérôme Gagnon-Voyer wrote:

Seems like an excellent idea Tom.

But are you totally sure it's impossible to have everything together? We can lipo everything together right?

Check the TCL-TK Mailling list archives, here's a message
===============
Jérôme Gagnon-Voyer wrote:

To add to the problem, if I convert everything to universal, I
will have to drop 10.3 support for my application. So I supose
I need to ship both Universal and PPC extensions with my
software to keep 10.3 support!


You can run two builds and lipo together the results.  We are
currently looking into the complexity of various build types for
ActiveTcl.  Advice from Daniel before was something along the
lines of:

"run two builds on a ppc Tiger box, one with
CFLAGS="-arch ppc -arch ppc64 -isysroot /Developer/SDKs/
MacOSX10.3.9.sdk -mmacosx-version-min=10.3"
for ppc support on 10.3.9, and the other with
CFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/
MacOSX10.4u.sdk -mmacosx-version-min=10.4"
for i386 support on 10.4, and then lipo the resulting binaries together"

  Jeff Hobbs, The Tcl Guy
  http://www.ActiveState.com/, a division of Sophos

===========




Le 25 juin 2006 à 05:00, Tom Hennigan a écrit :

Hey,

We can't have an "all in one binary" as the wish shell needs to be universal also, and is therefore built against the 10.4u SDK, and won't work on 10.3.9 at all. Building Tcl/Tk for 10.3.9 isn't a problem. Building aMSN for 10.3.9 isn't a problem. So we can easily put out milestone releases for 10.3.9.

Or... how about this:
1. On SVN only include  the Universal binaries.
2. Have an Xcode project file, which allows users to build aMSN either PPC or Universal. (Xcode files are tiny, like less than a meg). Then 10.3.9 users can spend 5 minutes building their own SVN versions.

BTW here are the sizes of the dylibs:
Mac OS X 10.3.9:
- TkCximage: 2.2mb
- Webcamsn: 152kb
Mac OS X 10.4 (Universal):
- TkCximage: 4.4mb
- Webcamsn: 300kb

- Tom



On 25 Jun 2006, at 07:36, Jérôme Gagnon-Voyer wrote:


Le 25 juin 2006 à 01:39, Youness Alaoui a écrit :

On Sun, 25 Jun 2006 00:54:44 -0400, Jérôme Gagnon-Voyer

Yeah, the thing is when you build something in Universal Binary, it
won't work in 10.3.9. Just 10.4
So if we want to keep compatibility with 10.3.9, we have to keep
the .dylib compiled in PPC only. And YES I absolutely want to keep
compatibility with 10.3.9

The thing is
1. aMSN with many .dylib will be a lot bigger to download

I don't know what a 'universal binary' means, but if it means it  
can work
on a mac and on an intel, then you don't care, create a 10.4  
compatible
universal binary and create a 10.3.9 binary, when you think that linux
users always need to choose the package for their distro, I don't  
think
it's such a problem if mac users had a choice between two different
packages (maybe you can even find a _javascript_ code that will  
detect which
version it is ?)
if universal means 'it works everywhere', then maybe include all  
binaries
in the package and use tcl code to load this or this dylib...
I'll think about it. Yes, there's a lot of software with many  
binaries, not just one. But if we can keep everything in the same it  
would be easier. May be we should compare the size of having a "ALL  
IN ONE" and having a UniversalBinary alone, to see the difference.

2. If we include 2 .dylib, do we put both on SVN? It will increase
the size of aMSN on SVN..


who cares ? just put them there, it won't bother anyone.
Who cares? It may be 4-5 MB more in SVN :P

So what do we do?
Le 24 juin 2006 à 09:31, Tom Hennigan a écrit :


3. Release Candidates: I've submitted RC1 links to Youness. The
10.3.9 version doesn't work apparently (I'm installing 10-3-9 on
and old computer so I can check this out). I've found a solution,
which is to use a stub version of the Frameworks, but I'm not happy
with this, I'll have to find another fix. The 10.4 (universal)
version works without trouble though.

And on another note, the future of aMSN Mac :-) lol! Just would we
like to be back compatible with 10.3.9 (our universal binaries for
webcamsn and TkCximage only seem to work with 10.4?!)? If we
include 2 dylibs. One 10.3.9 PPC compatible one, and one 10.4
Universal version, and then when we run a [package require x] I can
write some Tcl code to make it link to the appropriate dylib. This
will be helpful for 10.3.9 users updating to SVN, so they won't
need to build it themselves. I think that the TclCarbon packages do
a similar thing, but they select by architecture, rather than
system version.

Glad to have you back!!! :D


Using Tomcat but need to do more? Need to support web services,  
security?
Get stuff done quickly with pre-integrated technology to make your  
job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Amsn-devel mailing list



-- 
KaKaRoTo

Using Tomcat but need to do more? Need to support web services,  
security?
Get stuff done quickly with pre-integrated technology to make your  
job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo
cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Amsn-devel mailing list


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
_______________________________________________
Amsn-devel mailing list

------------------------------------
Tom Hennigan


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Amsn-devel mailing list

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Amsn-devel mailing list

------------------------------------
Tom Hennigan


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to