Difference between revisions of "Building MILEPOST"

From MAGEEC
Jump to: navigation, search
(Added a cleaner patch command)
m (Simple guide to building MILEPOST on Linux)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
1) Download [https://sourceforge.net/projects/c-tuning/files/cTuning-CC/V2.5-pre-release/ctuning-cc-2.5-gcc-4.4.4-ici-2.05-milepost-2.1.tar.gz/download MILEPOST v2.5 with GCC 4.4.4].
 
1) Download [https://sourceforge.net/projects/c-tuning/files/cTuning-CC/V2.5-pre-release/ctuning-cc-2.5-gcc-4.4.4-ici-2.05-milepost-2.1.tar.gz/download MILEPOST v2.5 with GCC 4.4.4].
  
2) (Optional) Download [http://www.cs.bris.ac.uk/~aw0455/mageec/setup_env.sh setup_env.sh]
+
2) (Optional) Download [https://raw.github.com/mageec/wiki_files/master/setup_env.sh setup_env.sh]
  
 
3) Extract the archive downloaded in step 1 (tar xvzf ctuning-cc-2.5-gcc-4.4.4-ici-2.05-milepost-2.1.tar.gz)
 
3) Extract the archive downloaded in step 1 (tar xvzf ctuning-cc-2.5-gcc-4.4.4-ici-2.05-milepost-2.1.tar.gz)
  
4) cd into the newly created ctuning-cc-2.5-gcc-4.4.4-ici-2.05-milepost-2.1 directory
+
4) Now cd into the newly created ctuning-cc-2.5-gcc-4.4.4-ici-2.05-milepost-2.1 directory
  
5) Before building, you'll need to download and apply the following patches (curl <patch_link> | patch -Np1) [http://www.cs.bris.ac.uk/~aw0455/mageec/patches/gcc_build_script.sh gcc_build_script.sh], [http://www.cs.bris.ac.uk/~aw0455/mageec/patches/ptrdiff.patch ptrdiff.patch], and [http://www.cs.bris.ac.uk/~aw0455/mageec/patches/siginfo.patch siginfo.patch]. If you are using a version of texinfo >= 5.0 then you'll also need to download and apply [http://www.cs.bris.ac.uk/~aw0455/mageec/patches/texinfo5.patch texinfo5.patch].
+
5) Before building, you'll need to download and apply the following patches (curl <patch_link> | patch -Np1) [https://raw.github.com/mageec/wiki_files/master/patches/gcc_build_script.patch gcc_build_script.sh], [https://raw.github.com/mageec/wiki_files/master/patches/ptrdiff.patch ptrdiff.patch], and [https://raw.github.com/mageec/wiki_files/master/patches/siginfo.patch siginfo.patch]. If you are using a version of texinfo >= 5.0 then you'll also need to download and apply [https://raw.github.com/mageec/wiki_files/master/patches/texinfo5.patch texinfo5.patch].
  
 
6) Run ./_build_all.sh
 
6) Run ./_build_all.sh
 +
 +
=='''Related Pages'''==
 +
[[Installing MILEPOST]]

Latest revision as of 10:09, 2 July 2013

Simple guide to building MILEPOST on Linux

1) Download MILEPOST v2.5 with GCC 4.4.4.

2) (Optional) Download setup_env.sh

3) Extract the archive downloaded in step 1 (tar xvzf ctuning-cc-2.5-gcc-4.4.4-ici-2.05-milepost-2.1.tar.gz)

4) Now cd into the newly created ctuning-cc-2.5-gcc-4.4.4-ici-2.05-milepost-2.1 directory

5) Before building, you'll need to download and apply the following patches (curl <patch_link> | patch -Np1) gcc_build_script.sh, ptrdiff.patch, and siginfo.patch. If you are using a version of texinfo >= 5.0 then you'll also need to download and apply texinfo5.patch.

6) Run ./_build_all.sh

Related Pages

Installing MILEPOST