User:Jbilyk

From Alpine Linux
Revision as of 22:38, 16 September 2011 by Jbilyk (talk | contribs) (make a note of current build machine)

ARM port progress

Starting to setup cross-compile toolchain on an x86 VMware player machine running current latest edge. 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
./configure --target=arm-linux --prefix=/usr/local/armtoolchain
make
make install

Gcc stage1:

unpack 3.0.4 kernel sources
modify makefile: SUBARCH = arm
add ncurses-dev apk
make menuconfig  (ARM Ltd. Versatile family)
make deps
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

Ran out of memory on VM that I was building on at that point - pick it up with proper buildbox tomorrow.