0
GNU C compiler is the open source Compiler which is compiles and runs C programs on linux platforms.

This post is about installing GNU C compiler with full package of its library files and documentations.

Normally ubuntu comes with gcc in preinstalled one. But its basic features are only included in it. In this package autoconf,lib files,documents are not included. So we are going to install all other packages now. Just follow the steps.

Packages going to install :

1. Automatic configure script builder
2. A tool for generating GNU Stands-compliant Makefiles
3. YACC-compatible parser generator
4. A fast lexical analyzer generator
5. Documentation for the GNU C compilers
6. Generic library support script
7. Manual pages about using GNU/Linux for development

Step 1 : Install GCC by




sudo apt-get install gcc

Run gcc also by using following commands
c89, c89-gcc, c99, c99-gcc, gcc, gcov, i686-linux-gnu-gcc 

Step 2 :  Install Automatic configure script builder

sudo apt-get install autoconf

Step 3 :  Install  A tool for generating GNU Stands-compliant Makefiles
sudo apt-get install automake1.9

Step 4 :  Install YACC-compatible parser generate

sudo apt-get install bison 

Step 5 :  Install A fast lexical analyzer generator

sudo apt-get install  flex

Step 6 :  Install Documentation for the GNU C compilers

sudo apt-get install gcc-doc 

Step 7 :  Install Generic library support script

sudo apt-get install libtool

Step 8 :  Install Manual pages about using GNU/Linux for development

sudo apt-get install  manpages-dev

Thats all you are enough. Now start to work on your system.



Thank you.

Post a Comment

 
Top