InstallingCompilers

Differences between revisions 4 and 8 (spanning 4 versions)
Revision 4 as of 2005-12-23 19:41:10
Size: 1571
Editor: S0106001217cbd164
Comment: category docs
Revision 8 as of 2008-08-06 16:19:00
Size: 63
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Installing the GNU C compiler and GNU C++ compiler =

To install the '''gcc''' and '''g++''' compilers, open a terminal. Enter the following command, and remember to make sure you are either connected to the internet or have your Ubuntu Installation CD in the CD drive when using apt-get.
{{{
sudo apt-get install build-essential
}}}

This will also install '''GNU make'''

= Installing the GNU Java compiler =

Note that GNU's Java compiler is not the same as the one developed and distributed by Sun Microsystems, and will not provide Java to the firefox browser. For that, please see ["Java"]. To install '''gcj''', the GNU Java compiler, open a terminal and enter the following command.

{{{
sudo apt-get install gcj
}}}

To install the GNU Java bytecode interpreter, run the following in your terminal

{{{
sudo apt-get install gij
}}}
= Installing the GNU Fortran compilers =

To install the GNU Fortran 77 compiler - '''g77''' - open a terminal and enter the following command.

{{{
sudo apt-get install g77
}}}

To install the GNU Fortran 95 compiler - '''gfortran''' - the command is

{{{
sudo apt-get install gfortran
}}}

= Installing the GNU autotools =

To install '''autoconf''' and '''automake''', open a terminal and run the following command.

{{{
sudo apt-get install autoconf automake
}}}

Apt-get will tell you to explicitly choose a version of automake. If, for example, you decide to use automake1.9, run the following.

{{{
sudo apt-get install autoconf automake1.9
}}}

CategoryDocumentation
#REFRESH 0 http://help.ubuntu.com/community/InstallingCompilers

InstallingCompilers (last edited 2008-08-06 16:19:00 by localhost)