Search The Posts
Tutorial Installing Compilers (GCC,G++ and Java) on UBUNTU
Installing compilers is one of the easiest things there out at Linux. It may seem a bit tough and complicated in the beginning but apt-get and Synaptic Package Manager simplify your work a lot. As a newbie developer you would require a C/C++ and a Java compiler. Installing
them is a matter of few commands.
The GNU C and GNU C++ Compiler: The GNU C compiler is also called gcc and C++ is called g++. You may also require the GNU make utility. All of them can get installed by getting the build-essential package.
Just use this command:
sudo apt-get install build-essential
The GNU Java Compiler: Firstly note that this compiler is not the one provided by Sun. The GNU Java compiler is named as gcj. Just install the package gcjTo install the GNU Java bytecode interpreter, install the gij package.
To have gcj compile to executables, install libgcj6-dev Use the command: sudo apt-get install gcj gij libgcj6-dev
this post is courtesy of: www.manishtech.info [aka Tech Hangout]
Popularity: 4%
If you found this page useful, consider linking to it.
Simply copy and paste the code below into your web site (Ctrl+C to copy)
It will look like this: Tutorial Installing Compilers (GCC,G++ and Java) on UBUNTU

