[To reply replace "Aaron.Sloman.XX" with "A.Sloman"]
hs@paradise.nirvananet (Hartmann Schaffer) wrote previously asking
about alpha linux poplog.
I have now been in touch with Johng Gibson, and got from him the
corepop11 binary which in principle is all you need to start the
bootstrapping process to rebuild everything if you have linux
running on alpha.
I have put the corepop11 file in
http://www.cs.bham.ac.uk/research/poplog/new/alpha-linux-corepop11.gz
or
ftp://ftp.cs.bham.ac.uk/pub/dist/poplog/new/alpha-linux-corepop11.gz
If you fetch the full alpha poplog system,
http://www.cs.bham.ac.uk/research/poplog/new/alphaunix-15.53.tar.gz
or
ftp://ftp.cs.bham.ac.uk/pub/dist/poplog/new/alphaunix-15.53.tar.gz
(about 15 mbytes)
Un-tar it into /usr/local/poplog/v15.53
In your favourite shell define the environment variable $usepop
to be
/usr/local/poplog/v15.53
e.g.
setenv /usr/local/poplog/v15.53 usepop
Then, to set up evironment variables used by poplog do
if you use csh or tcsh:
source $usepop/pop/com/poplog
or, if you use bash or sh or ksh:
. $usepop/pop/com/poplog.sh
Then according to John you have to make a change in the directory
$usepop/pop/src/syscomp/ ( = $popsrc/syscomp/ )
Do
cd $popsrc/syscomp
Ensure that $popsrc/syscomp/sysdefs.p is the one for linux (the basic
alpha linux system is identical to the alpha decunix system, except for
that file).
You will find that
$popsrc/syscomp/sysdefs.p
is a symbolic link to
sysdefs_osf.p
Delete that link and replace it with the required link:
rm sysdefs.p
ln -s sysdefs_linux_elf.p sysdefs.p
Then it is a matter of rebuilding the saved images used by the poplog
compiler, following the instructions in
http://www.cs.bham.ac.uk/research/poplog/sysdoc/rebuilding
First
cd $usepop/pop/pop
create a temporary directory into which you can move things that
will not be needed;
mkdir temp
mv *.psv *.o corepop corepop11 temp/
Then install the above corepop11 file
alpha-linux-corepop11.gz
in there, unzip it and rename it
as corepop11. I.e. it should be
$usepop/pop/pop/corepop11
Check that it can be run, i.e. this command:
$usepop/pop/pop/corepop11 %noinit
should not produce an error, but should print out something like this:
Sussex Poplog (Version 15.5 Sun Dec 8 08:49:10 GMT 1996)
Copyright (c) 1982-1996 University of Sussex. All rights reserved.
Setpop
:
Test it by typing this to the colon prompt:
999*9 =>
It should print out:
** 8991
exit with ctrl-D.
The system also expects a file called corepop, so do
cp corepop11 corepop
The file corepop is linked to some others: popc, poplink, poplibr
so they will now be linked to the new corepop
Next rebuild some system building saved images:
$popsrc/mksyscomp poplink poplibr popc
That will create saved image files: poplog.psv, poplibr.psv popc.psv
$popsrc/mknewpop
will make the saved image file: newpop.psv
Check the outcome:
ls -l *.psv
You should now have these saved images:
newpop.psv popc.psv poplibr.psv poplink.psv
used by these scripts:
$popsrc/newpop $popsys/pgcomp $popsys/pglibr $popsys/pglink
Rebuild some of the C libraries that come with poplog
cd $usepop/pop/extern/lib/
./mklibpop
Rebuild the C libraries for the poplog widget set:
$usepop/pop/com/mkXpw
you should now be able to run the command to recompile
all the main sources.
Follow the instructions starting with this header:
-- -- How to recompile and relink from sources
in the file
http://www.cs.bham.ac.uk/research/poplog/sysdoc/rebuilding
At some point we should have a shell script that simply does it.
It would be interesting to hear how you get on.
Aaron
===
Aaron Sloman, ( http://www.cs.bham.ac.uk/~axs/ )
School of Computer Science, The University of Birmingham, B15 2TT, UK
EMAIL A.Sloman AT cs.bham.ac.uk (ReadATas@please !)
PAPERS: http://www.cs.bham.ac.uk/research/cogaff/
FREE TOOLS: http://www.cs.bham.ac.uk/research/poplog/freepoplog.html
|