ehrlich@psuvax1.cs.psu.edu (Daniel Ehrlich) (09/21/89)
What with the multitude of versions of High-C for IBM RT under AOS I would like to offer the following that allows one to have any and all versions installed and usable at the same time. One needs to create a few directories in /usr/lib to hold the different passes of the different versions of High-C. Try the following: # cd /usr/lib # mkdir hc2.1d hc2.1n hc2.1s After creating these directories put the passes of the different versions into the appropriately named directories. Create a shell script in /bin for each of different versions: # cd /bin # mv hc hc.real # echo 'exec hc.real -B/usr/lib/hc2.1d/ $@' > hc2.1d # echo 'exec hc.real -B/usr/lib/hc2.1n/ $@' > hc2.1n # echo 'exec hc.real -B/usr/lib/hc2.1s/ $@' > hc2.1s # chmod 755 hc2.1? Then create a sym link to your favorite flavor of High-C: # ln -s hc2.1n hc Now one can use the appropriate version depending on what bug your code tickles in the High-C compiler. :-) Dan Ehrlich <ehrlich@cs.psu.edu> | "A message is not a message until the The Pennsylvania State University | rules for interpreting it are in the Department of Computer Science | hands of the reciever." University Park, PA 16802 | --Apollo Belvedere Smith -- Dan Ehrlich <ehrlich@cs.psu.edu> | "A message is not a message until the The Pennsylvania State University | rules for interpreting it are in the Department of Computer Science | hands of the reciever." University Park, PA 16802 | --Apollo Belvedere Smith