[parisc-linux] 64-bit compiler
Mon, 10 Jul 2000 18:26:03 -0700
David Huggins-Daines wrote:
> I've just checked in the requisite configuration bits (and fixed a
> buglet in BFD) to make it possible to build a 64-bit toolchain. As
> expected, merging forward to 2.96 made this a lot easier.
> I have no idea whether it generates correct binaries or not, of course.
> To try it out, this short recipe should do:
The short recipe you included wasn't enough for me...
Could you post required changes for the following recipe?
(I call it recipe.puffin64)
This is based off of what Matt sent me a while back for 32-bit builds.
# build the xcompiler and glibc recipe
# willy, pb, taggart, others
# make sure we don't get anything from any existing $PREFIX/bin
# Top level
# Where your checked-out CVS sources live
# Where your build sub-dirs go
# Where to put the final bits, needs to be owned by the
# current user(to avoid sudo games)
# o $SRC has binutils-2.10 gcc checked out
# o $PREFIX/include comes from pehc:~ftp/pub/parisc/src/include.tar.gz
cvs -z3 update -d binutils-2.10 gcc
# Copy include/asm and include/linux to $PREFIX/include
if [ ! -d $SRC/include ]
echo Please untar pehc:~ftp/pub/parisc/src/include.tar.gz in $PREFIX/include first!
cp -r $SRC/linux-2.3/include/asm $PREFIX/include
cp -r $SRC/linux-2.3/include/linux $PREFIX/include
# Clean out and/or create some things
rm -fr $BUILD/build-gcc $BUILD/build-binutils
mkdir -p $BUILD/build-gcc $BUILD/build-binutils
# $SRC/binutils-2.10/configure --enable-64-bit-bfd --target=hppa64-linux --prefix=$PREFIX --disable-nls
$SRC/binutils-2.10/configure --target=hppa64-linux --prefix=$PREFIX --disable-nls
# Prepend $PREFIX/bin to the path to get the right binutils
cd $BUILD/build-gcc && rm -r *
make LIBGCC2_INCLUDES=-I$PREFIX/include LANGUAGES=c