Message25468
Logged In: YES
user_id=150220
This is how we managed to solve the problem here, but it's
not a clean solution:
#install script for HP-UX 11.xx
CPPFLAGS="+DD64 -I/usr/local/bzip2-1.0.3/include"
export CPPFLAGS
CC="/opt/aCC/bin/aCC -Ae +DD64"
export CC
CFLAGS="-Ae +DD64"
export CFLAGS
CXX="/opt/aCC/bin/aCC -Ae"
export CXX
CXXFLAGS="-Ae +DD64"
export CXXFLAGS
LDFLAGS="+DD64 -L/usr/local/bzip2-1.0.3/lib"
export LDFLAGS
cd dist/src
#
# Do not use the --without-gcc flag because the CC env.var.
will be
# reset to 'cc' (which do not want)
# Additionally we're not using --with-cxx because we want
the system to use
# the CC as it is defined above. The reason is that
apparantly CFLAGS is not
# taken into account thus all options should go into the
definition of CC
#
./configure --prefix=/usr/local/python --without-threads
#
# Finally after the configure we need to edit the resulting
Makefile
# by hand because 'ld' will be used to link the extension
modules. However
# 'ld' does not know the '+DD64' flag and we should link
with aCC instead.
# However there is no way to ask 'configure' to link with
aCC instead of ld. |
|
Date |
User |
Action |
Args |
2007-08-23 14:32:15 | admin | link | issue1212703 messages |
2007-08-23 14:32:15 | admin | create | |
|