-1

Issue with install, searched gnu.org - unfortunately manual is more than 810 pages thick without instruct for install;

https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gcc.pdf

Plus manual pages in ubuntu is 8529+ lines (again) without straight forward instruct as to install..

Noting that to configure GCC, it must be made from a shell environment first;

 % mkdir objdir
 % cd objdir
 % srcdir/configure [options] [target]

Not sure whether this is the same with distributions through package manager on ubuntu, version 4:4.8.2-1ubuntu6 (or) just releases through gnu.org - versions 5.3 (the latest).

4
  • Ubuntu includes gcc by default. Why do you need to install it?
    – Zeiss Ikon
    Jan 20, 2016 at 13:59
  • @ZeissIkon he probably wants a newer compiler version.
    – Thomas Ward
    Jan 20, 2016 at 14:03
  • 1
    I've always had to install it in lubuntu. However, it's just a simple sudo apt-get install gcc Jan 20, 2016 at 14:30
  • apt install gcc?
    – cat
    Jan 20, 2016 at 23:02

1 Answer 1

0

If you install an updated version of gcc through a package manager such as synaptic, or by downloading and installing a .deb file, you won't need to make gcc. You'd only need to do that if you're compiling it from source, which isn't necessary for ordinary use.

In fact, unless you removed the gcc package (which would break most of your Ubuntu installation), there's unlikely to be any need to update gcc beyond using the version that comes preinstalled in Ubuntu.

Not the answer you're looking for? Browse other questions tagged .