diff options
author | Guido van Rossum <guido@python.org> | 1998-12-18 22:00:58 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-12-18 22:00:58 (GMT) |
commit | eb452321afab12974850feb830031517d1946b4c (patch) | |
tree | ed7db6350febcbdb86ab34e166eaf8a2de7ef0dd /BeOS/README | |
parent | ee789b960191a4eafa08dd044f5c74e98ea66950 (diff) | |
download | cpython-eb452321afab12974850feb830031517d1946b4c.zip cpython-eb452321afab12974850feb830031517d1946b4c.tar.gz cpython-eb452321afab12974850feb830031517d1946b4c.tar.bz2 |
Improved instructions by Chris H.
Diffstat (limited to 'BeOS/README')
-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 |