Wheres a good linux C compiler? My dad is giveing me a computer with linux(Knoppix) on it for me to program, and now I need a compiler so I can continue programing!
THX
Wheres a good linux C compiler? My dad is giveing me a computer with linux(Knoppix) on it for me to program, and now I need a compiler so I can continue programing!
THX
Try GCC .
The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.
I'm on my linux mechine right now and I checked the shell and typed in 'whereis gcc' and it came up with 'gcc: /usr/bin/gcc /usr/share/man/man1/gcc.1.gz' now how do I compile?
is any one using intel's compiler?
i know alot of programs cant be recompiled with it since they were designed for gcc, but how about newer programs? i havnt really written anything big enought to tell. i heard its great on p4.
Read the GCC documentation, it's very easy. One way to compile a file is: gcc file.c -o file
Of course you can use some parameters witch might be needed to your program, see the documentation.
I've heard the Intel C++ Compiler is pretty sweet. I myself use GCC 3.2.2. I've never seen anyone with Linux that didn't have a version of GCC installed. Unless they uninstalled it after they installed Linux (you need GCC just to get past stage 1 stuff).
Oh, and if you want a IDE look for KDevelop. Don't download the unstable versions (Gideon), because it is utter crap right now, and it is VERY glitchy. Get version 2.x.
The best compiler is going to be GCC. There is no good reason for most users to go to anything else. As far as portability goes almost every Linux user who has a compiler installed has GCC, therefore moving source code to another box wouldn't be a problem. Almost any application you download that is written in C for Linux was developed using GCC and there probably is a reason for that.
One of the beauties of Linux is that almost everything is designed to be portable. Unlike Windows which has so many compilers which often makes compiling somebody else's source code a real pain.
GCC
I have. I've done it, without knowing what I was doing. You can install RedHat 8 w/out GCC - maybe the installation process deletes it, but whatever.Originally posted by frenchfry164
I've never seen anyone with Linux that didn't have a version of GCC installed. Unless they uninstalled it after they installed Linux (you need GCC just to get past stage 1 stuff).
Away.
no the rpm just copies files over, the source rpms are rarely used.maybe the installation process deletes it