Once I'd successfully recompiled bash 4.3.46 (see previous post), I then took the relatively simple step of updating bash to 4.3.48.
Recompiling bash 4.3.46 was as follows:
$ set def gnv$gnu:[000000]
$ @[build]bash.com
directory: bash
$ set def PRJ_ROOT:[bash]
$ @clean_bash.com realclean
$ @build_bash.com
$ @remove_old_bash.com
$ @stage_bash_install.com
$ @pcsi_product_gnv_bash.com
I had already modified bash.mms to remove /debu from the cflags and cflagsx definitions, and replaced them with /opt=(tune=host)
The final script creates a PCSI installation file in the STAGE_ROOT:[KIT] area.
Once I'd verified that bash had recompiled correctly, I downloaded bash 4.3.48 into the gnv$gnu:[common_src.bash] folder and compiled as per before; this produced bash 4.3.48.
I sometimes find that the old version of bash isn't removed and replaced with the new version, even after running the scripts above. So I sometimes just delete the bash. and bash.exe from gnu:[bin] and then run stage_bash_install.com to copy the new version over.
On a previous occasion, I manually edited the source from 4.3.46 based on the 4.3.47 and 4.3.48 patch changes. This is not a recommended approach, but it did mean I could understand what the patches did.
No comments:
Post a Comment