If GCC is not installed, then you will have to install it yourself using the detailed instructions available at If you have GNU compiler installed on your machine, then it should print a message as follows −Ĭonfigured with. If you are using Linux or UNIX, then check whether GCC is installed on your system by entering the following command from the command line − We keep mentioning C/C++ together because GNU gcc compiler works for both C and C++ programming languages. The following section explains how to install GNU C/C++ compiler on various OS. The most frequently used and free available compiler is the GNU C/C++ compiler, otherwise you can have compilers either from HP or Solaris if you have the respective operating systems. The compiler compiles the source codes into final executable programs. It needs to be "compiled", into machine language so that your CPU can actually execute the program as per the instructions given. The source code written in source file is the human readable source for your program. c".īefore starting your programming, make sure you have one text editor in place and you have enough experience to write a computer program, save it in a file, compile it and finally execute it. The source files for C programs are typically named with the extension ". The files you create with your editor are called the source files and they contain the program source codes. For example, Notepad will be used on Windows, and vim or vi can be used on windows as well as on Linux or UNIX. The name and version of text editors can vary on different operating systems. Examples of few a editors include Windows Notepad, OS Edit command, Brief, Epsilon, EMACS, and vim or vi. If you want to set up your environment for C programming language, you need the following two software tools available on your computer, (a) Text Editor and (b) The C Compiler.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |