[C++-sig] boost.python on OS X 10.3 (Panther)
grafik.list at redshift-software.com
Tue Nov 4 09:22:52 CET 2003
[2003-11-02] Ralf W. Grosse-Kunstleve wrote:
>--- Bob Ippolito <bob at redivi.com> wrote:
>> -F will alter the search path for frameworks, just like -L for libraries
>> The normal search path is something like:
>> On Panther, you want it to find Python.framework in
>> /System/Library/Frameworks, so don't install another Python anywhere
>> else if you're on Panther.
>Oh, if it's that then maybe this is useful:
>I noticed that the Python installation involves commands like:
>gcc -Wl,-F. -bundle -framework Python
>build/temp.darwin-6.8-Power_Macintosh-2.3/_TEmodule.o -L/usr/local/lib -o
>build/lib.darwin-6.8-Power_Macintosh-2.3/_TE.so -framework Carbon
>Note the "-Wl,-F"
OK, I looked at this email again and at some of the info for the built in
extensions that the Python framework build generates (thanks for the machine
access Ralf.. I still had the info written down). And I made some changes to
how the extensions are built by python.jam to be as close as possible to the
above gcc invocation. This is with the idea that if Python itself is
building that way it would seem that doing that way would be the most
compatible way to do things ;-) -- Basically it boils down to not using
bundle_loader when building the extensions, as that is only usefull if you
don't have a framework.
So please try the new darwin-tools.jam and python.jam.
-- grafik - Don't Assume Anything
-- rrivera (at) acm.org - grafik (at) redshift-software.com
-- 102708583 (at) icq
More information about the Cplusplus-sig