From: Tara Dear <tdear@linuxcare.com>
To: parisc-linux@thepuffingroup.com
Subject: [parisc-linux] recipe
Date: Mon, 31 Jul 2000 21:03:00 -0700 [thread overview]
Message-ID: <39864BF4.4FD098D0@linuxcare.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 71 bytes --]
dhd asked me to post this recipe the group. I worked for me.
-TARA
[-- Attachment #2: recipe --]
[-- Type: text/plain, Size: 1764 bytes --]
#!/bin/sh -e
PREFIX=/home/tdear/parisc
HOST=i386-linux
export CVS_RSH=ssh
echo Checking for CVS directories
test -d binutils-2.10
test -d gcc
test -d glibc
test -d linux-2.3
test -f include.tar.gz
echo Updating binutils-2.10
(cd binutils-2.10 && cvs update -dP)
echo Building binutils in `pwd`/binutils-build
rm -rf binutils-build
mkdir binutils-build
cd binutils-build
../binutils-2.10/configure --disable-nls --target=hppa-linux \
--prefix=$PREFIX
make && make install
# Now set this up to point to the place we installed binutils
export PATH=$PATH:$PREFIX/bin
cd ..
echo Updating gcc
(cd gcc && cvs update -dP)
echo Building gcc in `pwd`/gcc-build
rm -rf gcc-build
mkdir gcc-build
cd gcc-build
../gcc/configure --disable-nls --target=hppa-linux --prefix=$PREFIX \
--enable-languages=c
make || true
make install
cd ..
echo Updating glibc
(cd glibc && cvs update -dP)
# We need the most recent include files
echo Updating linux-2.3
(cd linux-2.3 && cvs update -dP)
echo Updating header files in $PREFIX/hppa-linux/include/{linux,asm}
rm -rf $PREFIX/hppa-linux/include/{linux,asm}
cp -a linux-2.3/include/linux $PREFIX/hppa-linux/include
cp -a linux-2.3/include/asm-parisc $PREFIX/hppa-linux/include/asm
echo Building glibc in `pwd`/glibc-build
rm -rf glibc-build
mkdir glibc-build
cd glibc-build
../glibc/configure --disable-nls --host=hppa-linux --build=$HOST \
--disable-cvs --disable-sanity-checks --disable-shared \
--disable-profile --enable-static-nss --prefix=$PREFIX/hppa-linux \
--with-headers=`pwd`/../linux-2.3/include
make
make install
cd ..
echo Rebuilding GCC with C++ enabled
rm -rf gcc-build
mkdir gcc-build
cd gcc-build
../gcc/configure --disable-nls --target=hppa-linux --prefix=$PREFIX \
--enable-languages=c,c++
make
make install
next reply other threads:[~2000-07-31 18:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-01 4:03 Tara Dear [this message]
2000-07-31 21:45 ` [parisc-linux] recipe Grant Grundler
2000-08-09 5:25 ` Ryan Bradetich
2000-08-09 14:11 ` David Huggins-Daines
2000-08-10 6:36 ` Ryan Bradetich
[not found] <Pine.LNX.4.21.0006270919200.16671-100000@front.linuxcare.com.au>
2000-06-28 18:36 ` [parisc-linux] Recipe Brian S. Julin
2000-06-28 23:21 ` Alan Modra
-- strict thread matches above, loose matches on Subject: below --
2000-06-01 7:08 [parisc-linux] Binutils update Alan Modra
2000-06-26 13:20 ` [parisc-linux] Recipe Brian S. Julin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=39864BF4.4FD098D0@linuxcare.com \
--to=tdear@linuxcare.com \
--cc=parisc-linux@thepuffingroup.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox