source: trunk/Tools/INSTALL @ 89

Last change on this file since 89 was 81, checked in by rosiere, 17 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
File size: 1.6 KB
RevLine 
[81]1--------------------------------------------------
2 Table of contents
3--------------------------------------------------
4
5 1  - Files
6 2  - Install SystemCass
7 3  - Install gcc / binutils
8 4  - Install newlib
9
10--------------------------------------------------
11 1  - Files
12--------------------------------------------------
13
14--------------------------------------------------
15 2  - Install SystemCass
16--------------------------------------------------
17
18--------------------------------------------------
19 3  - Install gcc / binutils
20--------------------------------------------------
21BINUTILS
22~~~~~~~~
23
24first unpack the archieve
25
26    tar xzvf or1k_binutils-source.tar.gz
27
28create the build directory
29
30    cd or1k
31    mkdir or32-elf-binutils
32    cd or32-elf-binutils
33
34run configure
35
36    ../binutils-2.16.1/configure --target=or32-elf --prefix=/opt/or32-elf
37
38and start the build process
39
40    make
41
42finaly issueing
43
44    make install
45
46will install the binutils to '/opt/or32-elf'. after adding it to
47execute search path
48
49    export PATH=/opt/or32-elf/bin:$PATH
50
51binutils (assembler, linker, ...) are ready to be used
52
53
54
55
56GCC
57~~~
58
59first unpack the archieve
60
61    tar xzvf or1k_gcc-source.tar.gz
62
63create the build directory
64
65    cd or1k
66    mkdir or32-elf-gcc
67    cd or32-elf-gcc
68
69run configure
70
71    ../gcc-3.4.4/configure --target=or32-elf --prefix=/opt/or32-elf --with-gnu-as --with-gnu-ld --disable-threads --enable-languages=c
72
73and start the build process
74
75    make
76
77finaly issueing
78
79    make install
80
81will install the gcc to '/opt/or32-elf'.
82
83--------------------------------------------------
84 4  - Install newlib
85--------------------------------------------------
86
Note: See TracBrowser for help on using the repository browser.