answersLogoWhite

0

You don't "open" gcc, you "use" it.

$ cat >helloworld.c

/* helloworld.c */

#include

int main (void)

{

puts ("Hello, world");

return 0;

}

^D

$ gcc -W -Wall -pedantic -o helloworld helloworld.c

$ ./helloworld

Hello, world

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Engineering
Related Questions

How do you install gcc compiler in Ubuntu?

Run (from a terminal): sudo apt-get install gcc build-essential


How can you run C programes in ubuntu 10.10 without any gcc compiler?

Source programs don't run, obviously, so you should install the compiler first.


What command do you use to find the version of the GCC compiler?

gcc --version


Difference between gcc compiler and other or benefits of gcc over c compiler?

gcc is a c compiler among many other things. It can also be used to compile code in other languages. gcc is a fairly advanced compiler and is used to compile Linux along with most other free(as in free speech) software.


How compiler do compilation?

Use a compiler program, such as bcc, gcc, javac, etc.


What is the difference between GCC compiler and turbo c compiler?

1. The Gcc compiler cna support multiple languages such as c,c++,Java,Fortran,Pascal etc.... Whereas in turbo c cpmpiler,it doesn't support multiple languages. 2. GCC compiler is a free software,... Whereas in turbo c cpmpiler , it is not a free software. 3. The GCC compiler is is a portable compiler,it runs on most plateform avilable today... Whereas in turbo c cpmpiler, it is not a portable compiler.


Does ubuntu include c compiler?

yes


If during compilation in CC compiler changes the name of the function ie func to 2314ufdifunc what to do so that the compiler will use the same name given by the user?

set the environment variables CC=gcc export CC then it takes the compiler as gcc


Is NotePad Plus Plus a compiler?

Notepad++ is a text editor, not a compiler. You can however, enter source code into Notepad++ and then compile it with a compiler such as GCC.


What is the name of the C compiler used by Linux?

gcc is the most common C-compiler for GNU/Linux platform.


How do you get C?

To use c you need a text editor and a compiler such as gcc.


Does Red Hat Enterprise Linux support the GCC compiler?

Yes.