diff options
-rw-r--r-- | BeOS/README | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/BeOS/README b/BeOS/README index a4d6aee..ef700ef 100644 --- a/BeOS/README +++ b/BeOS/README @@ -41,9 +41,22 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this: 2) Configure with: - AR=$(pwd)/BeOS/ar-fake RANLIB=: ./configure --verbose --without-gcc \ + AR=$(pwd)/BeOS/ar-fake RANLIB=: ./configure --verbose \ --prefix=/boot/home/config --with-thread - + + If you're on a PowerPC system, add this anywhere in config.h: + +#ifndef DL_EXPORT +# define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE +#endif +#ifndef DL_IMPORT +# ifdef USE_DL_EXPORT +# define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE +# else +# define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE +# endif +#endif + 3) Copy Modules/Setup.in to Modules/Setup. 4) Edit Modules/Setup to turn on all the modules you want built. @@ -63,7 +76,11 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this: make AR=$(pwd)/BeOS/ar-fake RANLIB=: OPT=-DUSE_DL_EXPORT \ CCSHARED=-UUSE_DL_EXPORT - + + On PowerPC systems, you'll see lots of warnings about duplicate + symbols when things get linked; don't worry about this, it's + harmless (and should disappear soon). + 7) Test: make AR=$(pwd)/BeOS/ar-fake RANLIB=: OPT=-DUSE_DL_EXPORT \ @@ -86,7 +103,12 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this: make AR=$(pwd)/BeOS/ar-fake RANLIB=: OPT=-DUSE_DL_EXPORT \ CCSHARED=-UUSE_DL_EXPORT install + This will fail trying to copy libpython1.5.a; at that point in the + install, everything you "normally" need is installed (all the Python + bits), and the stuff you need for compiling C-based modules is half- + installed. This will be fixed before the 1.5.2 release. + 9) Enjoy! - Chris Herborth (chrish@qnx.com) - December 17, 1998 + December 18, 1998 |