Installing gcc - newbie question

Timothy C Prince tprince@myrealbox.com
Wed May 9 21:49:00 GMT 2007



-----Original Message-----
From: Steve Brooks <Steve_Brooks@hc-sc.gc.ca>
To: gcc-help@gcc.gnu.org
Date: Wed, 9 May 2007 15:02:16 -0400
Subject: Installing gcc - newbie question


Hi - I'm trying to install GCC on a SUSE 10.2 open source linux machine
(just learning everything) and am trying to get the configure command to
work.  I know the instructions say: "Second, when configuring a native
system, either cc or gcc must be in your path or you must set CC in your
environment before running configure. Otherwise the configuration scripts
may fail."  and since I can't figure out how to do this, it does indeed
fail.  Can someone tell me how to get cc or gcc on the system before I
install it (I did unzip the files to a directory...).
_____________________________________

If you didn't select the gcc development system which comes with your distro when you installed originally, you should be able to do it in YaST (if still a part of SuSE) or by gathering the group of .rpm files required and installing, e.g. rpm -i *.rpm.  It takes a copy of gcc (and a bunch of libraries, and more) to make gcc.
Tim Prince



More information about the Gcc-help mailing list