You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-dev@lucene.apache.org by Bill Janssen <ja...@parc.com> on 2011/12/08 03:23:32 UTC

3.5.0 on OS X 10.5 with Apple system Python and Java

By the way, here's the Makefile section I'm using for 3.5:

# Mac OS X 10.5 (32-bit Python 2.5, Java 1.5)
PREFIX_PYTHON=/usr
ANT=JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc.__main__ --shared --arch x86_64 --arch i386
NUM_FILES=4

Bill


Re: 3.5.0 on OS X 10.5 with Apple system Python and Java

Posted by Andi Vajda <va...@apache.org>.
On Dec 8, 2011, at 8:47, Bill Janssen <ja...@parc.com> wrote:

> Andi Vajda <va...@apache.org> wrote:
> 
>> 
>> On Wed, 7 Dec 2011, Bill Janssen wrote:
>> 
>>> By the way, here's the Makefile section I'm using for 3.5:
>>> 
>>> # Mac OS X 10.5 (32-bit Python 2.5, Java 1.5)
>>> PREFIX_PYTHON=/usr
>>> ANT=JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home ant
>>> PYTHON=$(PREFIX_PYTHON)/bin/python
>>> JCC=$(PYTHON) -m jcc.__main__ --shared --arch x86_64 --arch i386
>>> NUM_FILES=4
>> 
>> If this is Python 2.5 32-bit, why have --arch x86_64 ?
> 
> Because I just dragged that line down from the Makefile block above it.
> Both of those "--arch" switches can be removed without affecting the
> outcome -- I just tried it.

The compile time is twice as long with two archs and so is the size of the binary.

Andi..

> 
> Bill

Re: 3.5.0 on OS X 10.5 with Apple system Python and Java

Posted by Bill Janssen <ja...@parc.com>.
Andi Vajda <va...@apache.org> wrote:

> 
> On Wed, 7 Dec 2011, Bill Janssen wrote:
> 
> > By the way, here's the Makefile section I'm using for 3.5:
> >
> > # Mac OS X 10.5 (32-bit Python 2.5, Java 1.5)
> > PREFIX_PYTHON=/usr
> > ANT=JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home ant
> > PYTHON=$(PREFIX_PYTHON)/bin/python
> > JCC=$(PYTHON) -m jcc.__main__ --shared --arch x86_64 --arch i386
> > NUM_FILES=4
> 
> If this is Python 2.5 32-bit, why have --arch x86_64 ?

Because I just dragged that line down from the Makefile block above it.
Both of those "--arch" switches can be removed without affecting the
outcome -- I just tried it.

Bill

Re: 3.5.0 on OS X 10.5 with Apple system Python and Java

Posted by Andi Vajda <va...@apache.org>.
On Wed, 7 Dec 2011, Bill Janssen wrote:

> By the way, here's the Makefile section I'm using for 3.5:
>
> # Mac OS X 10.5 (32-bit Python 2.5, Java 1.5)
> PREFIX_PYTHON=/usr
> ANT=JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home ant
> PYTHON=$(PREFIX_PYTHON)/bin/python
> JCC=$(PYTHON) -m jcc.__main__ --shared --arch x86_64 --arch i386
> NUM_FILES=4

If this is Python 2.5 32-bit, why have --arch x86_64 ?

Andi..