LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   c compiler (https://www.linuxquestions.org/questions/linux-newbie-8/c-compiler-321446/)

sandman545 05-08-2005 07:52 PM

c compiler
 
i was trying to install a program and it said it cant find a c compiler im 99.9% it mean a c++ compiler but not sure if so any good ones i should know about

oy i run kubuntu-5.04-amd64

ksgill 05-08-2005 08:01 PM

http://gcc.gnu.org/
This site has a compiler collection for various programming languages.

sandman545 05-08-2005 08:36 PM

i feel so stupid but wat exactly am i suppose to download theres like 50 billion things to download :newbie:

a thing 05-08-2005 09:22 PM

Enter "cc" in the command prompt. If "cc: no input files" comes up then for some strange reason the program didn't detect your compiler and you already have one.

mala fide 05-08-2005 09:22 PM

I don't know about kubuntu but in suse you can just select gcc packages from yast. Most likely there is something similar in kubuntu... you know, a package handler thingie.

reddazz 05-09-2005 05:07 AM

If you are running Kubuntu, do in a consle as root,
Code:

#apt-get update
#apt-get install gcc

gcc will be installed and all dependencies automatically resolved. To install g++ (the c++) compiler, you would use either gcc-c++ or just g++ (I am not sure which one exactly).


All times are GMT -5. The time now is 08:37 PM.