Ask Your Question
0

How to install GCC (4.8.1) on Fedora 19? [closed]

asked 2013-07-28 02:43:37 -0600

Plant_Potato gravatar image

updated 2013-07-28 05:44:12 -0600

FranciscoD_ gravatar image

I just installed Fedora 19 and I need to install GCC. I have GCC (4.8.1) already on my computer in my documents. Also, how do I then install it and use it to compile C++ code.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by FranciscoD_
close date 2013-07-28 05:43:41.744431

Comments

Please search the forum before posting. This has been asked and answered here: https://ask.fedoraproject.org/question/28136/how-to-get-gcc-in-fedora-19/

FranciscoD_ gravatar imageFranciscoD_ ( 2013-07-28 05:43:08 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-07-28 04:22:35 -0600

kdg1955 gravatar image

Do you also have the package gcc-c++-4.8.1-1? If you have it, you can compile with

$> g++ <infile>

or

$>g++ -o <outfile> <infile>

see man g++

For some years package ccache is also available and speed up compiling time by using a cache.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-07-28 02:43:37 -0600

Seen: 3,531 times

Last updated: Jul 28 '13