[parisc-linux] Building bin-utils and gcc on HP735...
Paul Bame
bame@endor.fc.hp.com
Tue, 04 Apr 2000 10:25:04 -0600
My guess is your build problems are still based on using some of the
HP tools instead of the GNU ones. Some things to check:
when your build asks for 'sh' it should get 'bash'
when your build asks for 'make' it should get gnu make
flex and bison you already know about.
Aliases aren't passed through makefiles and often not through shell
scripts either, so you'll have to do this with $PATH magic and/or
symbolic links. I built/installed bash, make, flex, bison, binutils,
gcc, and a bunch of other GNU tools (ls, find, tar, gzip, patch) into
/opt/puffin and put /opt/puffin/bin first in my $PATH.
Your difficulties building palo strongly indicate that HP make is
sometimes being used. palo/palo/Makefile and palo/ipl/Makefile
will work with either HP make or GNU make, but palo/Makefile will
only work with GNU make. When you do 'make palo' from linux-2.3,
the master make eventually does 'cd ../palo; make lifimage', and
it appears that perhaps this invocation of make is getting the HP one.
Sooner or later it is probably a good idea to start using GNU versions
of all the tools referenced in the makefiles and scripts if you have
the space to do so.
Happy building!
-Paul Bame