summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-02-16 03:22:12 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-02-16 03:22:12 (GMT)
commitb1dd9acded9747600ae94778e52a6d02a210f617 (patch)
tree71a1328ccd7a7a9c28d9ef9f522b8451d3e0b5b9
parent0e6d213177dd571dd634d286ae45c38eb06d63b9 (diff)
downloadcpython-b1dd9acded9747600ae94778e52a6d02a210f617.zip
cpython-b1dd9acded9747600ae94778e52a6d02a210f617.tar.gz
cpython-b1dd9acded9747600ae94778e52a6d02a210f617.tar.bz2
No longer relevant.
-rw-r--r--BeOS/README.readline-2.256
-rwxr-xr-xBeOS/linkcc76
2 files changed, 0 insertions, 132 deletions
diff --git a/BeOS/README.readline-2.2 b/BeOS/README.readline-2.2
deleted file mode 100644
index db53ac9..0000000
--- a/BeOS/README.readline-2.2
+++ /dev/null
@@ -1,56 +0,0 @@
-GNU readline 2.2 for BeOS
-
-You can get the original GNU readline 2.2 source code from your favourite
-GNU software repository, such as ftp://prep.ai.mit.edu/pub/gnu/.
-
-You can get the only-slightly-modified-for-BeOS version of GNU readline 2.2
-from the GeekGadgets repository; ftp://ftp.ninemoons.com/pub/geekgadgets/.
-
-BUILDING libreadline for BeOS hosts
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Note that we don't build a shared library version of libreadline and
-libhistory. That's left as an exercise for the reader.
-
-You won't be able to link against libreadline.a using the limited linker.
-
-1) If you're on a PowerPC system, install the POSIX ar from
- http://www.qnx.com/~chrish/Be/software/index.html#programming
- (note that it's currently packaged with Python, in the BeOS/ar-1.1
- directory).
-
- If you're on an x86 system, you can leave out the "AR=ar-posix" part
- of the following instructions. In fact, you'll have to...
-
-2) For PowerPC, configure with:
-
- CC=mwcc CFLAGS="-O7 -i- -I." AR=ar-posix RANLIB=: ./configure --verbose \
- --without-gcc --prefix=/boot/home/config powerpc-*-beos
-
- For x86, configure with:
-
- CC=mwcc CFLAGS="-O2 -i- -I." RANLIB=: ./configure --verbose \
- --without-gcc --prefix=/boot/home/config x86-*-beos
-
- Don't worry about the warnings/errors configure spews for
- powerpc-*-beos or x86-*-beos; readline doesn't actually use this host
- information for anything, although configure will die if you don't
- specify it.
-
-3) Edit config.h to comment out "#define HAVE_SELECT 1"; select() on
- BeOS doesn't work on file descriptors (such as stdin).
-
-4) For PowerPC, make with:
-
- make AR=ar-posix
-
- For x86, make with:
-
- make
-
-5) Install with:
-
- make install
-
-- Chris Herborth (chrish@qnx.com)
- April 21, 1998
diff --git a/BeOS/linkcc b/BeOS/linkcc
deleted file mode 100755
index 687c92e..0000000
--- a/BeOS/linkcc
+++ /dev/null
@@ -1,76 +0,0 @@
-#! /bin/sh
-#
-# linkcc for Python
-# Chris Herborth (chrish@qnx.com)
-#
-# This is covered by the same copyright/licensing terms as the rest of
-# Python.
-#
-# Shell script to build the Python shared library properly; if we haven't
-# already built the export list, we'll need to link twice (argh...) so we
-# can eliminate some unwatnted global symbols from the system glue/init
-# objects.
-#
-# This is called by the Modules/Makefile as part of $(LINKCC):
-#
-# $(LINKCC) $(LDFLAGS) $(LINKFORSHARED) $(MAINOBJ) \
-# -L.. -lpython$(VERSION) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python $(LDLAST)
-#
-# In 1.5.1 this changed to:
-#
-# $(LINKCC) $(LDFLAGS) $(LINKFORSHARED) $(MAINOBJ) \
-# $(LIBRARY) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python $(LDLAST)
-#
-# For BeOS we should set $(LINKCC) to this in configure (similar to the
-# AIX situation):
-#
-# $(srcdir)../BeOS/linkcc $(LIBRARY) $(PURIFY) $(CC) $(OPT)
-#
-# -L.. -lpython$(VERSION) will automagically pick up the shared library.
-#
-# As of Python 1.5.2, this isn't strictly necessary, but it makes me
-# feel safer. It makes sure we've got all the BeOS-specific libraries,
-# and it creates the "lib" symlink that we'll need for chance of running
-# "make test" successfully.
-
-LIBRARY="$1"; shift
-
-# What we want to end up with.
-DYNAMIC=${LIBRARY/.a/.so}
-LINK_DYNAMIC="-l$(basename ${DYNAMIC%.so} | sed -e s,lib,,)"
-
-# Grab the rest of the args and build them into the command used to
-# link the python binary. Make sure we link against the shared lib
-# and not the static lib.
-LINK_CMD=""
-while [ "$#" != "0" ] ; do
- case "$1" in
- $LIBRARY)
- LINK_CMD="$LINK_CMD -L.. $LINK_DYNAMIC"
- shift
- ;;
-
- *)
- LINK_CMD="$LINK_CMD $1"
- shift
- ;;
- esac
-done
-
-# The shared libraries and glue objects we need to link against; this is
-# a little overkill, but it'll be OK.
-LIBS="-lbe -lnet -lroot"
-
-case $BE_HOST_CPU in
- ppc)
- LIBS="-nodup $LIBS"
- ;;
-esac
-
-# We'll need this or the python binary won't load libpython.so... handy
-# for testing.
-( cd .. ; ln -sf $(pwd) lib )
-
-# Now build the python binary.
-echo "Link command: $LINK_CMD $LIBS"
-$LINK_CMD $LIBS