Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Newbie]Question about gcc

65 views
Skip to first unread message

domn...@gmail.com

unread,
Apr 10, 2005, 8:00:32 PM4/10/05
to
Hi,

I recently installed Fedora Core 3 on my laptop. Whenever I try to
compile a C/C++ program I keep getting the following error:

bash: gcc: command not found

I am guessing either gcc/g++ is not installed or some settings aren't
right. In either case I would greatly appreciate any advice as to what
needs to be done to get gcc/g++ working. TIA.

R.F. Pels

unread,
Apr 10, 2005, 8:37:26 PM4/10/05
to
domn...@gmail.com wrote:

> I am guessing either gcc/g++ is not installed

You guessed right.

--
Ruurd
.o.
..o
ooo

faeychild

unread,
Apr 10, 2005, 11:07:20 PM4/10/05
to
domn...@gmail.com wrote:

I think installing kernel development or overall development package
carries gcc
--
faeychild

Michael Heiming

unread,
Apr 11, 2005, 2:42:47 AM4/11/05
to
In comp.os.linux.misc domn...@gmail.com:
> Hi,

Presuming yum is setup probably, try as root:

yum install gcc

Be sure yum installs others things needed to compile, make/bison
yacc, autoconf/etc or/and install them in addition.

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvp...@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 100: IRQ dropout

Angad

unread,
Apr 11, 2005, 5:56:15 AM4/11/05
to
go to .bash_profile and include the path of gcc in your $PATH variable.
to find gcc, use find or whereis. Fedora core 3 does contain those
packages - remember running gcc smoothly on FC1

Trent Buck

unread,
Apr 11, 2005, 6:06:22 AM4/11/05
to
Spake Angad:

> go to .bash_profile and include the path of gcc in your $PATH variable.
> to find gcc, use find or whereis. Fedora core 3 does contain those
> packages - remember running gcc smoothly on FC1

wheris, like type, only works on binaries that are already in the
path. In Debian, the gcc internals are in
/usr/lib/gcc-lib/$arch-linux/$version/
but front-ends are placed in /usr/bin.

--
Trent Buck, Student Errant
And of course all the characters will actually be wearing pants in the game,
right?
-- Angst Technology, 2001-01-23

0 new messages