Hello folks,
Im usually only active on discord and not on the forum.
However as Raion suggested that I should also post in here - I'll do it.
I invested some time in order to build a Perl script in order to bootstrap GNU utilities & compiler on the HPUX 11iv1 base system.
That is on a vanilla install + patches, the required ones are:
B3901BA
BUNDLE11i
GOLDAPPS11i
GOLDBASE11i
PHSS_34412
The script will use swlist and probe for this, root access is not required.
While I had some GNU environment now for quite some time, I wanted to make it reproducable in order to document my steps
and also rebuild the whole stuff on other machines.
I've tested it on my C8000 and the script expects that there is only the ANSIC HP compiler available.
Usually Im interested in a GNU environment because the base tools and/or very old tools are not compatible with newer software,
this all resulted out of my efforts to get pkgsrc compiled in an parisc64 environment.
The script is written in Perl5 which is also available on a HPUX 11iv1 install.
Would be nice if someone can test it as well except myself.
Right now the initial version bootstraps tools and gcc 3.3.6 which can be acomplished by using the ANSIC compiler,
Im working on an updated version which will then also bootstrap gcc 4.2 with the gcc 3.3.
In order to test it, its sufficient to create a new user such as 'build32' (or any other name) and then create a prefix path - maybe $HOME/gnu.
Then update the $Prefix variable in line 12 to the absolute path.
The other path's should be set correct for the default install.
The script can be fetched from here:
http://hpux.unix.io/bootstrap-hppa.pl
Also required is a small amount of independent tools (tar, bzip2, wget ...):
http://hpux.unix.io/hppa20-tools.tar.gz
Put both files in a directory outside of the $Prefix, chmod +x bootstrap-hppa.pl and run it.
That should work, there are a couple of sanity checks which also will be done prior anything real happening.