User:Jbilyk: Difference between revisions

From Alpine Linux
m (make a note of current build machine)
(→‎ARM port progress: updated with progress so far on new box)
Line 1: Line 1:
=ARM port progress=
=ARM port progress=


Starting to setup cross-compile toolchain on an x86 VMware player machine running current latest edge.  Process so far:
Process so far:


Binutils:
Binutils:
Line 8: Line 8:
binutils-2.21.1a.tar.bz2 with the following patch:
binutils-2.21.1a.tar.bz2 with the following patch:
http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-devtools/binutils/binutils/clone-shadow.patch
http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-devtools/binutils/binutils/clone-shadow.patch
apk add alpine-sdk zlib-dev
./configure --target=arm-linux --prefix=/usr/local/armtoolchain
./configure --target=arm-linux --prefix=/usr/local/armtoolchain
make
make
Line 18: Line 19:
unpack 3.0.4 kernel sources
unpack 3.0.4 kernel sources
modify makefile: SUBARCH = arm
modify makefile: SUBARCH = arm
add ncurses-dev apk
apk add ncurses-dev
make menuconfig  (ARM Ltd. Versatile family)
make menuconfig  (ARM Ltd. Versatile family)
make deps
apk add gmp-dev mpfr-dev libmpc-dev
apk add gmp-dev mpfr-dev libmpc-dev
download & unpack gcc-4.6.1 sources
download & unpack gcc-4.6.1 sources
Line 26: Line 26:
make
make
</pre>
</pre>
Ran out of memory on VM that I was building on at that point - pick it up with proper buildbox tomorrow.

Revision as of 18:43, 17 September 2011

ARM port progress

Process so far:

Binutils:

binutils-2.21.1a.tar.bz2 with the following patch:
http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-devtools/binutils/binutils/clone-shadow.patch
apk add alpine-sdk zlib-dev
./configure --target=arm-linux --prefix=/usr/local/armtoolchain
make
make install

Gcc stage1:

unpack 3.0.4 kernel sources
modify makefile: SUBARCH = arm
apk add ncurses-dev
make menuconfig  (ARM Ltd. Versatile family)
apk add gmp-dev mpfr-dev libmpc-dev
download & unpack gcc-4.6.1 sources
./configure --target=arm-linux --prefix=/usr/local/armtoolchain --with-headers=/usr/local/src/linux-3.0.4/include --enable-languages=c --disable-threads
make