User:Jbilyk: Difference between revisions

From Alpine Linux
(progress on ARM port)
 
m (make a note of current build machine)
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:


Binutils:
Binutils:

Revision as of 22:38, 16 September 2011

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.