LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gcc installation problem (https://www.linuxquestions.org/questions/linux-newbie-8/gcc-installation-problem-97965/)

Agileuk 09-28-2003 04:44 PM

Gcc installation problem
 
Sorry, me again, with yet another installation problem, different file, same person!

Don#t worry though, I will run out of file types soon enough!

I am trying to install gcc, and although I have extracted it (it is currently in /root/gcc and also copied to /usr/bin/gcc it will not work.

If I type gcc --help it spits out that gcc is not a recognized command, so I was wondering what dir. I should put it into to be seen. I also have not "installed" it in the typical windows way, but have just extracted it into its folder structure, should I/can I install it, and if so, how?

Thanks

Agile

*edit* yes I have checked for any Install or setup files, but none have been found. I am currently downloading a 22 meg file from the official site, instead of this smaller 7 meg file, hopefully that will sort out some of my problems, but if someone could tell me where I should install this file, it would be greatly appreciated.

Caeda 09-28-2003 05:18 PM

Wow, um.. did you pay any attention at all to the install documents?

When you untarred, un gzipped gcc it should have made you a directory and put in all your files along with INSTALL and README and things like that.

I highly suggest you make an effort to actually read them and figure out what you did wrong here.

If you dont understand what Un-tarring and Un-gzipping is, you didnt actually extract the file all the way.

Needs gzip -d filename
tar -xvf filename

Agileuk 09-28-2003 06:11 PM

I am posting a reply here, mostly to protect my reputation, but also to clear a few things up.

Firstly, yes I did check to see if there were any readme files or install files, but I have not found any of them, otherwise you are quite right in saying that I should check with them first.

I get the following dir's:
bin
include
info
lib
man

and these files:
Copying
copying.lib (both of these are about the GNU liscence.

Included in the directory structure are no install or readme files, and no other files that look as if they could be any use. I am beginning to wonder if I got hold of the correct file, and do not have a developers file instead?

I have alot of .exe files, contained in the bin dir. which seems strange, as these are supposed to be 32 bit windows only are they not?

The file I have is:
gcc-3.2.3-20030504-1.tar.bz2

Thanks for any help

Agile


All times are GMT -5. The time now is 07:04 PM.