Sneak Peek

Hi guys, check out what I got working last night:

<wave obj="magic wand">
   $ python2.7 -c "import sys; print sys.maxint; import wx; print wx.version()"
   9223372036854775807
   2.9.1.1 (osx-cocoa-unicode)
   $ python2.7-32 -c "import sys; print sys.maxint; import wx; print wx.version()"
   2147483647
   2.9.1.1 (osx-cocoa-unicode)
   dazzler:robind /projects/wx/2.9/wxPython
</wave>

What you just saw is both the 64-bit Python 2.7 and the 32-bit loading the same wxPython binary, which is using the new wxOSX-Cocoa port of wxWidgets. I've also got the PPC architecture in the binary too, and although I don't have a PPC machine any more to test with, I expect it to work fine.

$ file wx/_core_.so
wx/_core_.so: Mach-O universal binary with 3 architectures
wx/_core_.so (for architecture i386): Mach-O bundle i386
wx/_core_.so (for architecture ppc7400): Mach-O bundle ppc
wx/_core_.so (for architecture x86_64): Mach-O 64-bit bundle x86_64

I've got a couple more build issues to solve and then I'll work on doing a regular preview build with binaries for Windows, Carbon and Cocoa for y'all to play with. (OSX 10.5 or better is required for the wxOSX-Cocoa port.)

···

--
Robin Dunn
Software Craftsman
http://wxPython.org

Robin Dunn wrote:

Hi guys, check out what I got working last night:

<wave obj="magic wand">
  $ python2.7 -c "import sys; print sys.maxint; import wx; print wx.version()"
  9223372036854775807
  2.9.1.1 (osx-cocoa-unicode)
  $ python2.7-32 -c "import sys; print sys.maxint; import wx; print wx.version()"
  2147483647
  2.9.1.1 (osx-cocoa-unicode)
  dazzler:robind /projects/wx/2.9/wxPython
</wave>

What you just saw is both the 64-bit Python 2.7 and the 32-bit loading the same wxPython binary, which is using the new wxOSX-Cocoa port of wxWidgets.

Very Cool! nice work.

although I don't have a PPC machine any more to test with, I expect it to work fine.

We've still got a couple of those around here, so I'll try to test as much as I can.

I've got a couple more build issues to solve and then I'll work on doing a regular preview build with binaries for Windows, Carbon and Cocoa for y'all to play with.

Looking forward to it!

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov