Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-28-2003, 05:44 PM   #1
LQ Newbie
Registered: Sep 2003
Distribution: Red Hat 9, KDE
Posts: 24

Rep: Reputation: 15
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?



*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.

Last edited by Agileuk; 09-28-2003 at 07:41 PM.
Old 09-28-2003, 06:18 PM   #2
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
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
Old 09-28-2003, 07:11 PM   #3
LQ Newbie
Registered: Sep 2003
Distribution: Red Hat 9, KDE
Posts: 24

Original Poster
Rep: Reputation: 15
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:

and these files:
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:

Thanks for any help



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 9.3 gcc-g++ Installation Problem limneos Linux - Newbie 4 09-30-2005 07:27 PM
GCC upgrading/installation problem mcrexx Linux - Newbie 5 09-17-2005 01:33 PM
GCC 2.95 nagging installation problem cutesneakers Linux - Software 2 04-13-2005 08:40 AM
Problem with installation of gcc 3.4.3 lxeye Programming 5 01-16-2005 12:03 PM
Problem with gcc on USB driver installation Shaikoten Linux - Software 1 11-25-2003 12:29 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration