Skip to content

GCC Compiler

Quick Setup Instructions

To install GCC you will need:

Your distribution may already have GMP, MPFR and MPC. If not, you can download them from the above links. Then from an appropriate directory:

  1. git clone git://
  2. mkdir gcc-build
  3. cd gcc-build
  4. ../gcc.git/configure --prefix=install-prefix --disable-multilib
  5. make
  6. make install

Where install-prefix is the directory into which you want to install GCC. If you manually installed GMP, MPFR or MPC, you can append --with-gmp=gmp-prefix, --with-mpfr=mpfr-prefix, and --with-mpc=mpc-prefix to the configure line respectively.

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: