Gentoo Archives: gentoo-user-de

From: "Christof Kluß" <ckluss@×××.de>
To: gentoo-user-de@l.g.o
Subject: [gentoo-user-de] Re: BrickOS
Date: Fri, 21 Apr 2006 10:52:42
Message-Id: e2adat$abf$1@sea.gmane.org
In Reply to: [gentoo-user-de] BrickOS by "Christof Kluß"
1 fürs Archiv
2
3 cd /usr/local/src/
4
5 wget http://rtsys.informatik.uni-kiel.de/~rt-teach/ss06/v-rt1/brickos.tar.gz
6 wget ftp://ftp.gnu.org/gnu/binutils/binutils-2.13.2.tar.bz2
7
8 # bei einer aktuelleren binutils Version kann es zu
9 # "invalid operand/opcode" beim compilieren von BrickOS
10
11 wget ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.2.1/gcc-3.2.1.tar.gz
12 wget ftp://sources.redhat.com/pub/newlib/newlib-1.14.0.tar.gz
13 wget
14 http://easynews.dl.sourceforge.net/sourceforge/h8300-hms/h8300-hms-gcc-3.1-1.patch
15
16 tar -xzvf brickos.tar.gz
17 tar -xjf binutils-2.13.2.tar.bz2
18 tar -xvf gcc-3.2.1.tar.gz
19 tar -xzvf newlib-1.14.0.tar.gz
20
21 cd binutils-2.13.2
22 ./configure --target=h8300-hms --prefix=/usr/local
23 make
24 make install
25 cd ..
26
27 cd gcc-3.2.1/
28 ln -s ../newlib-1.14.0/newlib .
29 patch -p1 < ../h8300-hms-gcc-3.1-1.patch
30 cd ..
31
32 mkdir build-gcc
33 cd build-gcc
34 ../gcc-3.2.1/configure --target=h8300-hms --prefix=/usr/local
35 --enable-languages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib
36 make
37 make install
38 cd ..
39
40 cd brickos/
41 ./configure
42 make
43 make install
44
45 --
46 gentoo-user-de@g.o mailing list