You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
6 months ago | |
---|---|---|
Doc | 7 months ago | |
Grammar | 7 months ago | |
Include | 7 months ago | |
Lib | 7 months ago | |
Mac | 7 months ago | |
Misc | 7 months ago | |
Modules | 7 months ago | |
Objects | 7 months ago | |
PC | 7 months ago | |
PCbuild | 7 months ago | |
Parser | 7 months ago | |
Programs | 7 months ago | |
Python | 7 months ago | |
Tools | 7 months ago | |
.editorconfig | 7 months ago | |
CODE_OF_CONDUCT.md | 7 months ago | |
LICENSE | 7 months ago | |
Makefile.pre.in | 7 months ago | |
README.md | 6 months ago | |
README.rst | 7 months ago | |
aclocal.m4 | 7 months ago | |
config.guess | 7 months ago | |
config.sub | 7 months ago | |
configure | 7 months ago | |
configure.ac | 7 months ago | |
install-sh | 7 months ago | |
netlify.toml | 7 months ago | |
pyconfig.h.in | 7 months ago | |
setup.py | 7 months ago |
README.md
Welcome to Python-3.10.6 for SGI IRIX!
This is a port of Python-3.10.6 (https://www.python.org/) to SGI IRIX.
How to compile
Use the following configure arguments:
bash# export CPPFLAGS="-I/usr/local/python/3.10.6/readline/6.3/include -I/usr/local/python/3.10.6/zlib/1.2.8/include -I/usr/local/python/3.10.6/bzip2/1.0.6/include -I/usr/local/python/3.10.6/uuid/1.6.2/include -I/usr/local/python/3.10.6/gdbm/1.23/include -I/usr/local/python/3.10.6/sqlite/3.8.6/include -I/usr/local/python/3.10.6/openssl/1.1.1p/include -I/usr/local/python/3.10.6/lzma/5.2.6/include -I/usr/local/python/3.10.6/tcl/8.6/include"
bash# export LDFLAGS="-L/usr/local/python/3.10.6/readline/6.3/lib -L/usr/local/python/3.10.6/zlib/1.2.8/lib -L/usr/local/python/3.10.6/bzip2/1.0.6/lib -L/usr/local/python/3.10.6/uuid/1.6.2/lib -L/usr/local/python/3.10.6/gdbm/1.23/lib -L/usr/local/python/3.10.6/sqlite/3.8.6/lib -L/usr/local/python/3.10.6/openssl/1.1.1p/lib -L/usr/local/python/3.10.6/lzma/5.2.6/lib -L/usr/local/python/3.10.6/tcl/8.6/lib -rpath /usr/local/python/3.10.6/openssl/1.1.1p/lib -rpath /usr/local/python/3.10.6/readline/6.3/lib -rpath /usr/local/python/3.10.6/zlib/1.2.8/lib -rpath /usr/local/python/3.10.6/bzip2/1.0.6/lib -rpath /usr/local/python/3.10.6/uuid/1.6.2/lib -rpath /usr/local/python/3.10.6/gdbm/1.23/lib -rpath /usr/local/python/3.10.6/sqlite/3.8.6/lib -rpath /usr/local/python/3.10.6/lzma/5.2.6/lib -rpath /usr/local/python/3.10.6/tcl/8.6/lib"
bash# export LIBS="-lreadline -lz -lbz2 -luuid -lgdbm -lsqlite3 -lssl -lcrypto -llzma -ltcl8.6 -ltk8.6"
bash# export CC="c99 -U__INLINE_INTRINSICS -U__MATH_HAS_NO_SIDE_EFFECTS -D_SGI_SOURCE"
bash# export CXX="CC -U__INLINE_INTRINSICS -U__MATH_HAS_NO_SIDE_EFFECTS -D_SGI_SOURCE"
bash# export CFLAGS='-g2 -O0 -INLINE:=OFF'
bash# ./configure --prefix=/usr/local/python/3.10.6 --disable-ipv6 --with-system-ffi=no --with-openssl=/usr/local/python/3.10.6/openssl/1.1.1p
Dependencies
This port was compiled using:
readline 6.3
zlib 1.2.8
bzip2 1.0.6
uuid 1.6.2
gdbm 1.23
sqlite 3.8.6
openssl 1.1.1p
lzma 5.2.6
tcl/tk 8.6.12
Compilers used:
SGI MIPSpro C in its C99 dialect.
Usage
To use Python-3.10.6, invoke it interactively:
bash# /usr/local/python/3.10.6/bin/python3
Enjoy!
Tru