* [parisc-linux] 64-bit compiler
@ 2000-07-10 21:20 David Huggins-Daines
2000-07-11 1:26 ` Grant Grundler
0 siblings, 1 reply; 2+ messages in thread
From: David Huggins-Daines @ 2000-07-10 21:20 UTC (permalink / raw)
To: parisc-linux
Hi,
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:
mkdir binutils-64-build && cd binutils-64-build
../binutils-2.10/configure --disable-nls --target=hppa64-linux
make
make install
cd ..
mkdir gcc-64-build && cd gcc-64-build
../gcc/configure --target=hppa64-linux --enable-languages=c \
--disable-nls --disable-multilib
make
make install
--
dhd@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [parisc-linux] 64-bit compiler
2000-07-10 21:20 [parisc-linux] 64-bit compiler David Huggins-Daines
@ 2000-07-11 1:26 ` Grant Grundler
0 siblings, 0 replies; 2+ messages in thread
From: Grant Grundler @ 2000-07-11 1:26 UTC (permalink / raw)
To: David Huggins-Daines; +Cc: parisc-linux
David Huggins-Daines wrote:
> Hi,
>
> 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:
David,
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.
thanks,
grant
#!/bin/sh -x
# build the xcompiler and glibc recipe
# 5/2000
# willy, pb, taggart, others
# make sure we don't get anything from any existing $PREFIX/bin
PATH=/usr/local/bin:/usr/bin:/bin
# Top level
TOP=/linux/grundler
# Where your checked-out CVS sources live
SRC=$TOP
# Where your build sub-dirs go
BUILD=$TOP/xc-build64
# Where to put the final bits, needs to be owned by the
# current user(to avoid sudo games)
PREFIX=/opt/puffin64
# Requirements
# o $SRC has binutils-2.10 gcc checked out
# o $PREFIX/include comes from pehc:~ftp/pub/parisc/src/include.tar.gz
cd $TOP
cvs -z3 update -d binutils-2.10 gcc
# Copy include/asm and include/linux to $PREFIX/include
if [ ! -d $SRC/include ]
then
echo Please untar pehc:~ftp/pub/parisc/src/include.tar.gz in $PREFIX/include first!
exit 1
fi
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
### binutils
cd $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
make
make install
# Prepend $PREFIX/bin to the path to get the right binutils
PATH=$PREFIX/bin:$PATH
cd $BUILD/build-gcc && rm -r *
$SRC/gcc/configure \
--target=hppa64-linux \
--prefix=$PREFIX \
--disable-nls \
--without-libc
make LIBGCC2_INCLUDES=-I$PREFIX/include LANGUAGES=c
make install
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-07-11 1:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-10 21:20 [parisc-linux] 64-bit compiler David Huggins-Daines
2000-07-11 1:26 ` Grant Grundler
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.