Changes between Version 1 and Version 2 of ARM_QEMU
- Timestamp:
- Feb 4, 2008 11:37:57 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ARM_QEMU
v1 v2 48 48 49 49 {{{ 50 /arm 51 /arm/setup 52 /arm/setup/download 53 /arm/setup/src 54 /arm/setup/obj 50 /arm/download 51 /arm/srcs 52 /arm/objs 55 53 }}} 56 54 57 == = GNU ARM Toolchain Installation ===55 == Tools == 58 56 59 ==== Binutils ==== 60 Download and unpack: 57 === Download Latest binutils, GCC, and newlib === 58 59 binutils: 60 http://ftp.gnu.org/gnu/binutils/ 61 62 GCC: 63 http://ftp.gnu.org/gnu/gcc/ 64 65 newlib: 66 ftp://sources.redhat.com/pub/newlib/index.html 67 61 68 {{{ 62 $ mkdir -p /arm/setup/download 63 $ cd /arm/setup/download 64 $ wget http://www.gnuarm.com/bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.tar.bz2 65 $ tar xjf bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.tar.bz2 -C /arm 69 $ mkdir -p /arm/download 70 $ cd /arm/download 71 $ wget -c http://ftp.gnu.org/gnu/binutils/binutils-2.18.tar.bz2 72 $ wget -c http://ftp.gnu.org/gnu/gcc/gcc-3.4.6/gcc-3.4.6.tar.bz2 73 $ wget -c ftp://sources.redhat.com/pub/newlib/newlib-1.16.0.tar.gz 66 74 }}} 67 75 68 ==== Glibc ==== 69 Download and unpack: 76 === Preparing to build === 77 78 ==== Unpack archives ==== 79 70 80 {{{ 71 $ cd /arm/setup/download72 $ wget http://ftp.gnu.org/gnu/glibc/glibc-2.7.tar.gz73 $ wget http://ftp.gnu.org/gnu/glibc/glibc-linuxthreads-2.5.tar.bz274 $ tar x zf glibc-2.7.tar.gz -C /arm/setup/work75 $ tar x jf glibc-linuxthreads-2.5.tar.bz2 -C /arm/setup/work/glibc-2.7/81 $ mkdir -p /arm/srcs 82 $ cd /arm/srcs 83 $ tar xjf ../download/binutils-2.18.tar.bz2 84 $ tar xjf ../download/gcc-3.4.6.tar.bz2 85 $ tar xzf ../download/newlib-1.16.0.tar.gz 76 86 }}} 77 87 78 Build: 88 89 ==== Prepare newlib to be built along with gcc === 90 79 91 {{{ 80 $ mkdir -p /arm/setup/obj/glibc-2.781 $ cd /arm/setup/obj/glibc-2.782 $92 $ cd gcc-3.4.6 93 $ ln -s ../newlib-1.16.0/newlib . 94 $ cd .. 83 95 }}} 84 96 85 ==== Newlib ==== 97 98 === Build Everything === 86 99 87 Download:88 {{{89 $ cd /arm/src90 $ cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src login91 (type anoncvs as password)92 $ cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src co newlib93 $ mv src newlib94 $95 }}}