john test |
09-01-2008 07:54 AM |
Quote:
Originally Posted by zainab
(Post 3265400)
Thanks for ur previous reply
I have the library called libgcc installed in my list of software programs but when i try to compile c or c++ programs using gcc it gives me an error saying command gcc not found and what is the path to actually do and save i generally do it on home@localhost is my path right?please help.Thanks in advance.
|
Use a text editor to create the Sourcefile as "nano sourcefile"
Then use "locate gcc" to find the path for gcc. As /X/Y/gcc
Use the complete path to excute gcc as /X/Y/gcc sourcefile
Good Luck
|