On 18 January 2012 15:26, <[email protected]> wrote:
>
> > > My toolchain is located at /opt/crosstoll-0.43
> >
> > Please correct me if am wrong... While compiling other too called i2c I
> did
> > same thing i.e make CC=mipsellinux-gcc and it done properly.
> > While executing make its showing that mipsel-linux-gcc inst-ed of just
> gcc.
> > Can you please guide me...
> >
>
> You can edit the make file. But it is much better to set env variables.
>
> export CROSS_COMPILE=arm-none-linux-gnueabi-
> change arm-none-linux-gnueabi- to the name of your cross compiler prefix
>
> here CROSS_COMPILE=mipsel-linux-gcc the cross compiler
> that I am using right?
>
> export CC=${CROSS_COMPILE}"gcc -march=armv4t -mtune=arm920t"
> change armv4t -mtune=arm920t to your device cpu architecture optimisation
> requirements.
>
> I unable to get this option : my system is mipsel base systm
> export PATH=$PATH:/opt/arm-2008q3/bin
> change /opt/arm-2008q3/bin to the path where your toolchain resides
>
> Now my toolchain is at /opt/crosstoo-0.43/ so path will be export
PATH=$PATH:/opt/crosstoo-0.43/
export ARCH=arm
> change arm to your device arch
> export ARCH=mips
>
> then move into your source tree and make
>
> --
> Rgds
> JTD
> --
> http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
>
--
**
_________________________
Pravinkumar Chavan
Software Engineer
+919867107370
En Route Media Pvt. Ltd.
**
*_________________________*
*
*
--
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers