[Python-checkins] python/dist/src README,1.184.2.3,1.184.2.4

gvanrossum@users.sourceforge.net gvanrossum at users.sourceforge.net
Wed Sep 14 19:54:42 CEST 2005


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

Modified Files:
      Tag: release24-maint
	README 
Log Message:
(backport from HEAD)
- 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.184.2.3
retrieving revision 1.184.2.4
diff -u -d -r1.184.2.3 -r1.184.2.4
--- README	25 Jan 2005 12:43:57 -0000	1.184.2.3
+++ README	14 Sep 2005 17:54:39 -0000	1.184.2.4
@@ -374,11 +374,29 @@
 	using HP/UX 11 and later - threading seems to work "out of the 
 	box".
 
-HP-UX ia64: When building on the ia64 (Itanium) platform using HP's 
-	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.
+HP-UX ia64: When building on the ia64 (Itanium) platform using HP's
+	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.  (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