[vlc-devel] arm-wince-pe crosscompiler build instructions?

lamikr lamikr at cc.jyu.fi
Tue Apr 12 18:25:00 CEST 2005


Hi

I have by myself tried to make arm-wince-pe crosscompiler but failed 
because of the problems with the
runtime library part. I noticed and downloaded the crosscompiler you 
have put in the
http://download.videolan.org/pub/testing/wince/

Could somebody tell me what are the steps for building it?
I have myself tried following by using latest gcc snapshot but I am 
stuck in the newlib thing...

GCC 4.0 Crosscompiler with H6340 & Wince Arm as a target

export TARGET=arm-wince-pe
export PREFIX=/apps/familiar/wince
export PATH=$PREFIX/bin:$PATH

phase 1: binutils
-----------------
mkdir gcc40
cd gcc40
wget -c 
http://www.kernel.org/pub/linux/devel/binutils/binutils-2.15.94.0.2.2.tar.bz2
tar -xvjf binutils-2.15.94.0.2.2.tar.bz2
cd binutils-2.15.94.0.2.2
./configure --target=$TARGET --prefix=$PREFIX
make all install

---> Wait for the binutils to build in PREFIX...

phase 2: BuildBootstrapGcc
--------------------------
#cd gcc40
#tar -xvjf gcc-4.0-20050402.tar.bz2
#mkdir build-bootstrap && cd build-bootstrap
#../gcc-4.0-20050402/configure --target=$TARGET --prefix=$PREFIX 
--with-newlib --without-headers --with-gnu-as --with-gnu-ld 
--with-local-prefix=${PREFIX}/${TARGET} --disable-shared 
--enable-languages=c
#make all-gcc install-gcc

--> wait until arm-wince-pe-gcc, etc are built to PREFIX

phase 3: build newlib BuildRuntimeLibrary
-----------------------------------------
#export CC=arm-wince-pe-gcc    (If I set this, I will get errors)
#cd gcc40
#mkdir build-newlib && cd build-newlib
#../newlib-1.13.0/configure --target=$TARGET --prefix=$PREFIX
#make all install

--> Why Only docs get build?



-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list