The executables are at /p/compiler/built/gcc-4.0.1/


This is the first Gcc version that the compiler group used for profiling and BOP. Ruke Huang implemented the pass that lets global variables use dynamic allocation. Xipeng Shen worked with Ruke for other compiler support of BOP. The changes also include the compiler flags to invoke BOP support.

Basic Installation

mkdir gcc
cd gcc
svn co file:///p/compiler/repos/gcc-4.0.1/trunk gcc-4.0.1
   // if outside firewall, use 
   // svn co svn+ssh:// gcc-4.0.1
mkdir obj
cd obj
../gcc-4.0.1/configure --prefix=INSTALL_DIR
make install

To make it easy to use the debugger later, you may want to change the optimization level in obj/Makefile after configure and before make, by replacing all O2 with O1.

Installation parameters for configure are described here. Compiling the compiler took 14 minutes on node14 (14 Jan 08), 15 minutes on 2GHz Intel Core Duo for Gcc 4.1.0 (22 Mar 08).

The ready-made executables are at /p/compiler/built/gcc-4.0.1/.

If you are not familiar with subversion, take a look at the VersionStuff page.

This topic: Main > TWikiGroups > CompilerGroup > CompilerRepository > GccVersion4_0_1
Topic revision: r4 - 2008-03-22 - ChenDing
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback