Next
Previous
Contents
You might have problems during "make dep" with a pxa kernel
for XSCALE Processors (H5400, IPAQ3970).
In this case either your gcc and or your binutils / glibc is maybe old.
You can download an actual version from
ftp://ftp.gnu.org/gnu/.
You should create your own i386gcc3xx dir and place the downloads there. Load (this is actual on 19.04.2003)
- gcc\gcc3.2.2\gcc-3.2.2.tar.bz2
- glibc\glibc-2.3.2.tar.bz2
- glibc\glibc-linuxthreads-2.3.2.tar.bz2
- binutils\binutils.2.13.2.1.tar.bz2
This contains all necessary parts of the pxa required gcc. Unpack it, where you have space enough (you may
want to name the subdir gcc32i386).
- bunzip2 binutils.2.13.2.1.tar.bz2;tar xvf binutils.2.13.2.1.tar
- bunzip2 glibc-2.3.2.tar.bz2;tar xvf glibc-2.3.2.tar
- bunzip2 glibc-linuxthreads-2.3.2.tar.bz2;glibc-linuxthreads-2.3.2.tar -C glibc-2.3.2
- bunzip2 gcc-3.2.2.tar.bz2;tar xvf gcc-3.2.2.tar
Next you have to configure/make the different parts. Therefore create xxx-build dirs on the same dir level
where you unpacked the tars and configure/make the parts.
- binutils
- mkdir binutils.2.13.2.1-build
- cd binutils.2.13.2.1-build
- ../binutils.2.13.2.1/configure --prefix=/usr/local/i386/3.2
Attention!!! The directory /usr/local/i386/3.2 must exist. As you
may not want to overwrite the development system on your machine (high risk of incompatibility)
the prefix tells the configure process where to install the executable / libs.
- make
- make install (as superuser)
- glibc
- mkdir binutils.2.13.2.1-build
- cd glibc-2.3.2-build
- ../glibc-2.3.2/configure --prefix=/usr/local/i386/3.2 --enable-add-ons
- make
- make install (as superuser)
- gcc-3.2.2.tar.bz2;tar xvf gcc-3.2.2.tar
- mkdir gcc-3.2.2-build
- cd gcc-3.2.2-build
- export PATH=/usr/local/i386/bin:$PATH
- export LD_LIBRARY_PATH=/usr/local/i386/lib:$LD_LIBRARY_PATH
- ../gcc-3.2.2/configure --prefix=/usr/local/i386/3.2
- make bootstrap
- make install (as superuser)
Next
Previous
Contents