1. 24 Ara, 2009 1 kayıt (commit)
    • Ronald Oussoren's avatar
      Issue #6834: replace the implementation for the 'python' and 'pythonw' executables on OSX. · 92919a66
      Ronald Oussoren yazdı
      The previous implementation used execv(2) to run the real interpreter, which means that
      you cannot use the arch(1) tool to select the architecture you want to use for a
      universal build because that only affects the python/pythonw wrapper and not the actual
      interpreter.
      
      The new version uses posix_spawnv with a number of OSX-specific options that ensure that
      the real interpreter is started using the same CPU architecture as the wrapper, and that
      means that 'arch -ppc python' now actually works.
      
      I've also changed the way that the wrapper looks for the framework: it is now linked to
      the framework rather than hardcoding the framework path. This should make it easier to
      provide pythonw support in tools like virtualenv.
      92919a66
  2. 04 Mar, 2009 1 kayıt (commit)
  3. 02 Ock, 2009 1 kayıt (commit)
  4. 18 Tem, 2008 1 kayıt (commit)
  5. 05 Haz, 2008 1 kayıt (commit)
    • Ronald Oussoren's avatar
      MacOS X: Enable 4-way universal builds · 5640ce2f
      Ronald Oussoren yazdı
      This patch adds a new configure argument on OSX:
              --with-universal-archs=[32-bit|64-bit|all]
      
      When used with the --enable-universalsdk option this controls which
      CPU architectures are includes in the framework. The default is 32-bit,
      meaning i386 and ppc. The most useful alternative is 'all', which includes
      all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64).
      
      This includes limited support for the Carbon bindings in 64-bit mode as well,
      limited because (a) I haven't done extensive testing and (b) a large portion
      of the Carbon API's aren't available in 64-bit mode anyway.
      
      I've also duplicated a feature of Apple's build of python: setting the
      environment variable 'ARCHFLAGS' controls the '-arch' flags used for building
      extensions using distutils.
      5640ce2f
  6. 02 May, 2008 1 kayıt (commit)
  7. 25 Tem, 2006 1 kayıt (commit)
  8. 07 Haz, 2006 2 kayıt (commit)