Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
How to use gcc command

How to use gcc command

2005-06-20       - By Michael Kearey

 Back
Reply:     1     2     3  

On Mon, 2005-06-20 at 22:31 +0800, redhat-list wrote:
> Hi all:
>
>          I want to use gcc command to compile a C program. My OS is fedora
> 3. I download and installed following rpms successfully. But when I use gcc
> xxx.c the OS prompt "-bash: gcc: command not found". Any idea why this could
> happen?
>
> Thanks for any idea.
>
>  
>
>
>
> binutils-2.15.92.0.2-5.i386.rpm
>
> cpp-3.4.3-22.fc3.i386.rpm
>
> gcc4-4.0.0-0.41.fc3.i386.rpm
>
> glibc-2.3.3-74.i386.rpm
>
> glibc-common-2.3.3-74.i386.rpm
>
> glibc-devel-2.3.3-74.i386.rpm
>
> glibc-headers-2.3.3-74.i386.rpm
>
> glibc-kernheaders-2.4-9.1.87.i386.rpm
>
> make-3.80-5.i386.rpm

Hi there. The gcc4 RPM package you downloaded contains an executable
called gcc4, not gcc.

The reason this is present in the FC3 distribution is to give choice to
the users. The default gcc version is gcc-3.4.2, and this one contains
the gcc binary executable you need.

Visit fedorafaq.org for some tips on how to install packages. Once you
have yum set up properly, and you have Internet access,

yum install gcc

is all that is needed to download and install RPM packages.

Cheers,
Michael



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Earn $52 per hosting referral at Lunarpages.