[Python-checkins] python/dist/src README,1.189,1.190

gvanrossum@users.sourceforge.net gvanrossum at users.sourceforge.net
Wed Sep 14 19:49:58 CEST 2005


Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18898

Modified Files:
	README 
Log Message:
- Changes donated by Elemental Security to make it work on HP-UX 11 on
  Itanium2 with HP's 64-bit compiler (SF patch #1225212).



Index: README
===================================================================
RCS file: /cvsroot/python/python/dist/src/README,v
retrieving revision 1.189
retrieving revision 1.190
diff -u -d -r1.189 -r1.190
--- README	16 Jun 2005 15:51:20 -0000	1.189
+++ README	14 Sep 2005 17:49:54 -0000	1.190
@@ -368,7 +368,25 @@
 	compiler, some experience has shown that the compiler's
 	optimiser produces a completely broken version of python
 	(see http://www.python.org/sf/814976). To work around this,
-	edit the Makefile and remove -O from the OPT line.
+	edit the Makefile and remove -O from the OPT line.  (This is
+	old information; with the latest compiler this problem does
+	not occur.)
+
+	To build a 64-bit executable on an Itanium 2 system using HP's
+	compiler, use these environment variables:
+
+		CC=cc
+		CXX=aCC
+		BASECFLAGS="+DD64"
+		LDFLAGS="+DD64 -lxnet"
+
+	and call configure as:
+
+		./configure --without-gcc
+
+	then *unset* the environment variables again before running
+	make.  (At least one of these flags causes the build to fail
+	if it remains set.)
 
 HP PA-RISC 2.0: A recent bug report (http://www.python.org/sf/546117)
 	suggests that the C compiler in this 64-bit system has bugs



More information about the Python-checkins mailing list