Wednesday, May 25, 2005

gcc 4.0 patch instructions

Dear All,

I have decided to patch the gcc 4.0 and finally produce a clean release of the introspector for popular usage.

The code will be available as a replacement for some files in the gcc-4.0.0 source. I am working on the patches right now, so dont expect it to work yet. Of course you can get the prerequisite packages and test them.

Here are the steps that I needed to do to prepare the introspector:

Install and build the gcc 4.0
  • wget ftp://ftp.cs.tu-berlin.de/pub/gnu/gcc/gcc-4.0.0/gcc-core-4.0.0.tar.bz2
  • mkdir gcc-4.0.0/introspector/
  • cd gcc-4.0.0/introspector
  • ../configure --prefix=/usr/local/introspector --enable-languages=c
    • For now we will only use the c language
  • make
We should have a basic gcc there.

Now we go into the gcc subdir, patch the files from the cvs

  • cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/introspector login
  • cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/introspector co -P gcc-4
Add all those files to the gccgcc/
  • cp gcc-4/* gcc-4.0.0/gcc/

Also, we want to get the raptor and redland libs
  • Raptor
    • wget http://download.librdf.org/source/raptor-1.4.5.tar.gz
    • tar -xzf raptor-1.4.5.tar.gz
    • cd raptor-1.4.5
    • ./configure
    • make
    • make install
  • Redland
    • wget http://download.librdf.org/source/redland-1.0.0.tar.gz
    • tar -xzf redland-1.0.0.tar.gz
    • cd redland-1.0.0
    • ./configure
    • make
    • make install
  • Redland Bindings
    • wget http://download.librdf.org/source/redland-bindings-1.0.0.2.tar.gz
    • tar -xzf redland-bindings-1.0.0.2.tar.gz
    • ./configure
    • make
    • make install

0 Comments:

Post a Comment

<< Home