On 17 Dec 2008 at 10:08, Kevan Hashemi wrote:
Dear Chief O,
sudo tar -zxvf gpc-20070904.i686-pc-linux-gnu.tar.gz -C / export PATH=$PATH:/pascal/bin
Very cool. Thank you. I think I understand what each line does. I'll try it when I'm back in my lab.
Is there a reason why you like /pascal/bin instead of /bin or /usr/local/bin?
Yes. You were worried about breaking your system gcc and your existing gpc. That way, it is in a totally different place from any installed system compiler.
The existing 20041218 distribution installs itself into /usr/local. After verifying that the new version works, I'd like to over-write the old one, and I think I can figure out how to re-tar the pascal files and re-expand them into the /usr/local structure.
You may need to set some environment variables in order for it to work properly in a different location. But it may work without any such tweaking.
Best regards, The Chief --------- Prof. Abimbola Olowofoyeku (The African Chief) Web: http://www.greatchief.plus.com/